==> Building on r ==> Checking for remote environment... ==> Syncing package to remote host... sending incremental file list ./ PKGBUILD 1,400 8% 0.00kB/s 0:00:00 16,024 100% 13.95MB/s 0:00:00 (xfr#1, to-chk=30/32) backport_mgr_disabled_modules_workaround_PR34846.patch 700 9% 683.59kB/s 0:00:00 7,175 100% 6.84MB/s 0:00:00 (xfr#2, to-chk=29/32) boost-1.67.patch 443 100% 432.62kB/s 0:00:00 443 100% 432.62kB/s 0:00:00 (xfr#3, to-chk=28/32) ceph-12.2.4-boost-build-none-options.patch 700 75% 683.59kB/s 0:00:00 932 100% 910.16kB/s 0:00:00 (xfr#4, to-chk=27/32) ceph-13.2.0-cflags.patch 700 69% 683.59kB/s 0:00:00 1,011 100% 987.30kB/s 0:00:00 (xfr#5, to-chk=26/32) ceph-13.2.2-dont-install-sysvinit-script.patch 471 100% 459.96kB/s 0:00:00 471 100% 459.96kB/s 0:00:00 (xfr#6, to-chk=25/32) ceph-14.2.0-cflags.patch 545 100% 532.23kB/s 0:00:00 545 100% 532.23kB/s 0:00:00 (xfr#7, to-chk=24/32) ceph-14.2.0-cython-0.29.patch 700 73% 683.59kB/s 0:00:00 946 100% 923.83kB/s 0:00:00 (xfr#8, to-chk=23/32) ceph-14.2.0-link-crc32-statically.patch 428 100% 417.97kB/s 0:00:00 428 100% 417.97kB/s 0:00:00 (xfr#9, to-chk=22/32) ceph-15.2.0-rocksdb-cmake.patch 700 99% 683.59kB/s 0:00:00 703 100% 686.52kB/s 0:00:00 (xfr#10, to-chk=21/32) ceph-15.2.14-6.log 1,577 100% 1.50MB/s 0:00:00 1,577 100% 1.50MB/s 0:00:00 (xfr#11, to-chk=20/32) ceph-15.2.14-gcc12.patch 2,702 100% 2.58MB/s 0:00:00 2,702 100% 2.58MB/s 0:00:00 (xfr#12, to-chk=19/32) ceph-15.2.4-system-uring.patch 700 32% 683.59kB/s 0:00:00 2,170 100% 2.07MB/s 0:00:00 (xfr#13, to-chk=18/32) ceph-15.2.5-missing-includes.patch 435 100% 424.80kB/s 0:00:00 435 100% 424.80kB/s 0:00:00 (xfr#14, to-chk=17/32) ceph.sysusers 23 100% 22.46kB/s 0:00:00 23 100% 22.46kB/s 0:00:00 (xfr#15, to-chk=16/32) disable-broken-mgr-dashboard-test.patch 700 96% 683.59kB/s 0:00:00 723 100% 706.05kB/s 0:00:00 (xfr#16, to-chk=15/32) disable-empty-readable.sh-test.patch 327 100% 319.34kB/s 0:00:00 327 100% 319.34kB/s 0:00:00 (xfr#17, to-chk=14/32) exclude-frontend-from-mgr-dashboard-cov.patch 700 96% 683.59kB/s 0:00:00 726 100% 708.98kB/s 0:00:00 (xfr#18, to-chk=13/32) fix-ceph_disk-python-interpreter.patch 326 100% 318.36kB/s 0:00:00 326 100% 318.36kB/s 0:00:00 (xfr#19, to-chk=12/32) fix-mgr-dashboard-frontend-unittests-dist-stuff.patch 700 42% 683.59kB/s 0:00:00 1,663 100% 1.59MB/s 0:00:00 (xfr#20, to-chk=11/32) fix-mgr-dashboard-partial_dict.patch 637 100% 622.07kB/s 0:00:00 637 100% 622.07kB/s 0:00:00 (xfr#21, to-chk=10/32) fix-python2-paths.patch 700 30% 683.59kB/s 0:00:00 2,291 100% 2.18MB/s 0:00:00 (xfr#22, to-chk=9/32) fix-tox-test-commands.patch 700 13% 683.59kB/s 0:00:00 5,148 100% 4.91MB/s 0:00:00 (xfr#23, to-chk=8/32) fix_snappy_namespace_uint.patch 609 100% 594.73kB/s 0:00:00 609 100% 594.73kB/s 0:00:00 (xfr#24, to-chk=7/32) glibc2.32-strsignal-compat-backported.patch 700 31% 683.59kB/s 0:00:00 2,210 100% 2.11MB/s 0:00:00 (xfr#25, to-chk=6/32) mgr-dashboard-update-pylint-to-2.6.0.patch 700 2% 683.59kB/s 0:00:00 29,434 100% 28.07MB/s 0:00:00 (xfr#26, to-chk=5/32) qa-src-update-mypy-to-0.782.patch 700 30% 683.59kB/s 0:00:00 2,287 100% 2.18MB/s 0:00:00 (xfr#27, to-chk=4/32) remove-distro-version-detection.patch 392 100% 382.81kB/s 0:00:00 392 100% 382.81kB/s 0:00:00 (xfr#28, to-chk=3/32) suppress-pylint-warnings.patch 700 80% 683.59kB/s 0:00:00 867 100% 846.68kB/s 0:00:00 (xfr#29, to-chk=2/32) use-system-zstd-and-fix-zstd-1.4.0-compatbility.patch 700 49% 683.59kB/s 0:00:00 1,401 100% 1.34MB/s 0:00:00 (xfr#30, to-chk=1/32) use-threadsafe-death-tests-objectstore-memstore.patch 357 100% 348.63kB/s 0:00:00 357 100% 348.63kB/s 0:00:00 (xfr#31, to-chk=0/32) sent 6,699 bytes received 1,406 bytes 16,210.00 bytes/sec total size is 83,594 speedup is 10.31 ==> Patching arch to riscv64... ==> Running extra-riscv64-build -- -d /home/felix/packages/riscv64-pkg-cache:/var/cache/pacman/pkg -l felix15 on remote host... [?25l:: Synchronizing package databases... core downloading... extra downloading... community downloading... :: Starting full system upgrade... there is nothing to do [?25h==> Building in chroot for [extra] (riscv64)... ==> Synchronizing chroot copy [/var/lib/archbuild/extra-riscv64/root] -> [felix15]...done ==> Making package: ceph 15.2.14-6 (Sat Aug 20 05:52:26 2022) ==> Retrieving sources...  -> Found ceph-15.2.14.tar.gz  -> Found ceph.sysusers  -> Downloading zstd-1.5.2.tar.gz... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1905k 100 1905k 0 0 2612k 0 --:--:-- --:--:-- --:--:-- 2612k  -> Found ceph-14.2.0-cflags.patch  -> Found ceph-12.2.4-boost-build-none-options.patch  -> Found ceph-13.2.0-cflags.patch  -> Found ceph-13.2.2-dont-install-sysvinit-script.patch  -> Found ceph-14.2.0-cython-0.29.patch  -> Found ceph-15.2.0-rocksdb-cmake.patch  -> Found ceph-15.2.4-system-uring.patch  -> Found ceph-15.2.14-gcc12.patch  -> Found disable-empty-readable.sh-test.patch  -> Found qa-src-update-mypy-to-0.782.patch  -> Found fix-mgr-dashboard-partial_dict.patch  -> Found fix_snappy_namespace_uint.patch ==> Validating source files with sha512sums... ceph-15.2.14.tar.gz ... Passed ceph.sysusers ... Passed zstd-1.5.2.tar.gz ... Passed ceph-14.2.0-cflags.patch ... Passed ceph-12.2.4-boost-build-none-options.patch ... Passed ceph-13.2.0-cflags.patch ... Passed ceph-13.2.2-dont-install-sysvinit-script.patch ... Passed ceph-14.2.0-cython-0.29.patch ... Passed ceph-15.2.0-rocksdb-cmake.patch ... Passed ceph-15.2.4-system-uring.patch ... Passed ceph-15.2.14-gcc12.patch ... Passed disable-empty-readable.sh-test.patch ... Passed qa-src-update-mypy-to-0.782.patch ... Passed fix-mgr-dashboard-partial_dict.patch ... Passed fix_snappy_namespace_uint.patch ... Passed ==> Making package: ceph 15.2.14-6 (Sat Aug 20 05:52:55 2022) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Installing missing dependencies... [?25l:: There are 3 providers available for java-runtime: :: Repository extra 1) jre-openjdk 2) jre11-openjdk 3) jre17-openjdk Enter a number (default=1): resolving dependencies... :: There are 3 providers available for java-environment: :: Repository extra 1) jdk-openjdk 2) jdk11-openjdk 3) jdk17-openjdk Enter a number (default=1): looking for conflicting packages... warning: dependency cycle detected: warning: harfbuzz will be installed before its freetype2 dependency Package (238) New Version Net Change Download Size community/abseil-cpp 20220623.0-1 4.60 MiB core/argon2 20190702-4 0.08 MiB extra/blas 3.10.1-1 0.20 MiB extra/cblas 3.10.1-1 0.16 MiB core/dbus 1.14.0-1 0.77 MiB core/device-mapper 2.03.16-2 0.75 MiB community/erlang-nox 25.0.3-1 98.87 MiB 39.48 MiB extra/freetype2 2.12.1-1 1.47 MiB extra/fuse-common 3.11.0-1 0.00 MiB extra/giflib 5.2.1-2 0.22 MiB extra/graphite 1:1.3.14-2 0.63 MiB extra/harfbuzz 5.1.0-1 5.66 MiB extra/hicolor-icon-theme 0.17-2 0.05 MiB core/hwdata 0.361-1 2.00 MiB core/iptables 1:1.8.8-2 1.75 MiB extra/java-environment-common 3-3 0.00 MiB extra/java-hamcrest 1.3-5 0.30 MiB extra/java-runtime-common 3-3 0.01 MiB extra/jdk-openjdk 17.0.1.u12-1 86.33 MiB extra/jre-openjdk-headless 17.0.1.u12-1 161.10 MiB core/json-c 0.16-1 0.16 MiB extra/jsoncpp 1.9.5-2 1.24 MiB core/kbd 2.5.1-1 2.88 MiB core/kmod 30-1 0.24 MiB extra/lapack 3.10.1-1 4.17 MiB extra/lcms2 2.13.1-1 0.58 MiB core/libinih 56-1 0.03 MiB 0.01 MiB extra/libjpeg-turbo 2.1.3-2 1.36 MiB core/libmnl 1.0.5-1 0.03 MiB extra/libnet 1:1.1.6-1 0.28 MiB core/libnetfilter_conntrack 1.0.9-1 0.14 MiB core/libnfnetlink 1.0.2-1 0.04 MiB core/libnftnl 1.2.3-1 0.22 MiB core/libnsl 2.0.0-2 0.06 MiB core/libpcap 1.10.1-2 0.55 MiB extra/libpng 1.6.37-3 0.46 MiB extra/libtiff 4.4.0-3 2.64 MiB extra/libunwind 1.6.2-1 0.21 MiB community/liburcu 0.13.1-1 0.71 MiB extra/libxslt 1.1.35-1 2.73 MiB extra/libyaml 0.2.5-1 0.14 MiB community/nodejs 18.7.0-1 35.40 MiB core/nspr 4.34.1-1 0.67 MiB community/oniguruma 6.9.8-1 0.80 MiB extra/perl-error 0.17029-4 0.04 MiB extra/perl-mailtools 2.21-6 0.11 MiB extra/perl-timedate 2.33-4 0.08 MiB core/popt 1.18-3 0.53 MiB core/python 3.10.6-1 80.83 MiB community/python-aniso8601 9.0.1-3 0.60 MiB community/python-apipkg 3.0.1-1 0.04 MiB extra/python-appdirs 1.4.4-6 0.07 MiB community/python-autocommand 2.2.1-1 0.07 MiB community/python-babel 2.10.3-1 29.15 MiB extra/python-beaker 1.11.0-8 0.47 MiB community/python-beautifulsoup4 4.11.1-1 1.19 MiB community/python-cachecontrol 1:0.12.6-4 0.10 MiB community/python-cachetools 5.2.0-1 0.09 MiB 0.02 MiB community/python-certifi 2022.06.15-1 0.01 MiB extra/python-cffi 1.15.1-1 1.00 MiB extra/python-chardet 5.0.0-1 2.44 MiB community/python-click 8.1.3-1 0.89 MiB community/python-colorama 0.4.5-1 0.08 MiB community/python-commonmark 0.9.1-5 0.62 MiB extra/python-cryptography 37.0.4-1 3.54 MiB community/python-distlib 0.3.5-1 0.95 MiB community/python-distro 1.7.0-1 0.16 MiB community/python-docutils 1:0.19-1 4.28 MiB community/python-filelock 3.6.0-1 0.05 MiB community/python-future 0.18.2-7 3.86 MiB community/python-google-api-core 2.8.2-1 0.90 MiB 0.12 MiB community/python-googleapis-common-protos 1.56.3-1 0.76 MiB 0.13 MiB community/python-httplib2 0.20.4-1 0.36 MiB 0.11 MiB extra/python-idna 3.3-4 0.66 MiB community/python-imagesize 1.4.1-1 0.03 MiB community/python-importlib-metadata 4.8.1-3 0.15 MiB community/python-inflect 6.0.0-1 0.28 MiB community/python-iniconfig 1.1.1-5 0.02 MiB community/python-itsdangerous 2.1.2-2 0.11 MiB community/python-jaraco.classes 3.2.2-1 0.03 MiB 0.01 MiB community/python-jaraco.collections 3.5.1-2 0.09 MiB 0.02 MiB community/python-jaraco.context 4.1.1-2 0.02 MiB community/python-jaraco.functools 3.5.1-1 0.05 MiB community/python-jaraco.text 3.9.1-1 0.07 MiB community/python-joblib 1.1.0-3 2.10 MiB community/python-logutils 0.3.5-10 0.15 MiB 0.03 MiB extra/python-mako 1.1.6-3 0.68 MiB extra/python-markupsafe 2.1.1-1 0.06 MiB community/python-msgpack 1.0.3-1 0.22 MiB extra/python-nspektr 0.4.0-1 0.02 MiB extra/python-ordered-set 4.0.2-6 0.06 MiB extra/python-packaging 21.3-1 0.26 MiB extra/python-pep517 0.12.0-4 0.13 MiB extra/python-platformdirs 2.5.2-1 0.12 MiB extra/python-ply 3.11-10 0.31 MiB extra/python-pyasn1 0.4.8-7 0.60 MiB extra/python-pyasn1-modules 0.2.8-6 1.50 MiB community/python-pydantic 1.9.2-1 5.46 MiB community/python-pygments 2.13.0-1 11.59 MiB extra/python-pyparsing 3.0.9-1 0.96 MiB community/python-repoze.lru 0.7-8 0.11 MiB 0.02 MiB extra/python-resolvelib 0.8.1-1 0.10 MiB community/python-rich 12.5.1-1 1.85 MiB community/python-rsa 4.9-1 0.23 MiB 0.05 MiB community/python-snowballstemmer 2.2.0-3 1.78 MiB community/python-soupsieve 2.3.2.post1-1 0.32 MiB community/python-sphinx-alabaster-theme 0.7.12-9 0.04 MiB community/python-sphinxcontrib-applehelp 1.0.2-8 0.24 MiB community/python-sphinxcontrib-devhelp 1.0.2-8 0.12 MiB community/python-sphinxcontrib-htmlhelp 2.0.0-3 0.15 MiB community/python-sphinxcontrib-jsmath 1.0.1-11 0.01 MiB community/python-sphinxcontrib-qthelp 1.0.3-8 0.15 MiB community/python-sphinxcontrib-serializinghtml 1.1.5-3 0.12 MiB community/python-tenacity 8.0.1-3 0.14 MiB community/python-threadpoolctl 3.1.0-1 0.12 MiB community/python-toml 0.10.2-7 0.14 MiB extra/python-tomli 2.0.1-1 0.08 MiB extra/python-trove-classifiers 2022.8.7-1 0.11 MiB community/python-typing_extensions 4.3.0-1 0.21 MiB community/python-uritemplate 4.1.1-1 0.08 MiB 0.02 MiB extra/python-urllib3 1.26.7-5 0.69 MiB extra/python-validate-pyproject 0.9-1 0.39 MiB community/python-waitress 2.1.2-1 0.36 MiB 0.08 MiB community/python-wcwidth 0.2.5-6 0.47 MiB community/python-webencodings 0.5.1-9 0.06 MiB community/python-webob 1.8.7-4 1.24 MiB 0.17 MiB community/python-webtest 3.0.0-3 0.28 MiB 0.06 MiB community/python-zc.lockfile 2.0-8 0.04 MiB community/python-zipp 3.8.1-1 0.03 MiB extra/re2 1:20220601-1 0.32 MiB extra/rhash 1.4.2-1 0.31 MiB extra/bc 1.07.1-4 0.14 MiB extra/boost 1.79.0-1 200.99 MiB extra/boost-libs 1.79.0-1 6.36 MiB extra/c-ares 1.18.1-1 0.43 MiB extra/cmake 3.24.0-1 57.79 MiB community/coffeescript 2.7.0-1 1.80 MiB 0.21 MiB extra/cpio 2.13-2 0.88 MiB community/crypto++ 8.7.0-1 5.82 MiB 1.41 MiB core/cryptsetup 2.5.0-1 2.30 MiB community/cunit 2.1.3-3 0.38 MiB community/cython 0.29.32-1 7.52 MiB extra/fcgi 2.4.2-2 0.10 MiB 0.05 MiB extra/fmt 8.1.1-2 1.73 MiB extra/fontconfig 2:2.14.0-1 0.97 MiB extra/fuse2 2.9.9-4 0.40 MiB extra/fuse3 3.11.0-1 0.40 MiB extra/git 2.37.2-1 30.55 MiB extra/gperf 3.1-3 0.22 MiB extra/gperftools 2.10-1 2.73 MiB extra/gptfdisk 1.0.9-1 0.58 MiB community/gtest 1.12.1-1 1.98 MiB 0.43 MiB extra/hwloc 2.8.0-1 1.30 MiB core/inetutils 2.2-1 0.99 MiB community/jq 1.6-4 0.51 MiB extra/jre-openjdk 17.0.1.u12-1 0.45 MiB extra/jre11-openjdk-headless 11.0.15.u10-1 137.72 MiB extra/junit 4.13.2-1 0.37 MiB community/leveldb 1.23-3 0.38 MiB core/libaio 0.3.112-2 0.01 MiB extra/libatomic_ops 7.6.12-1 0.61 MiB extra/libcroco 0.6.13-2 0.29 MiB 0.11 MiB core/libcurl-compat 7.84.0-2 0.51 MiB 0.27 MiB core/libedit 20210910_3.1-1 0.23 MiB extra/libgudev 237-2 0.38 MiB core/libnl 3.7.0-1 1.69 MiB extra/libpciaccess 0.16-3 0.05 MiB community/librabbitmq-c 0.11.0-1 0.34 MiB 0.10 MiB community/librdkafka 1.9.2-1 2.06 MiB 0.69 MiB extra/libuv 1.44.2-1 0.52 MiB community/lsb-release 2.0.r48.3cf5103-1 0.02 MiB core/nss 3.81-1 4.04 MiB extra/numactl 2.0.14-3 0.19 MiB community/oath-toolkit 2.6.7-1 1.03 MiB extra/parted 3.5-1 2.28 MiB core/procps-ng 3.3.17-1 1.43 MiB extra/protobuf 21.4-1 7.71 MiB community/python-astroid 2.12.2-1 0.03 MiB extra/python-attrs 21.4.0-1 0.45 MiB community/python-bcrypt 3.2.2-1 0.05 MiB community/python-cheroot 8.6.0-2 0.78 MiB 0.16 MiB community/python-cherrypy 18.8.0-1 2.54 MiB 0.43 MiB community/python-coverage 6.1.1-3 1.19 MiB community/python-dateutil 2.8.2-4 0.82 MiB extra/python-defusedxml 0.7.1-4 0.12 MiB community/python-elasticsearch 7.9.0-1 2.40 MiB 0.15 MiB community/python-flask 2.1.3-1 0.81 MiB community/python-flask-restful 0.3.9-3 0.19 MiB 0.04 MiB community/python-google-api-python-client 2.57.0-1 64.07 MiB 2.84 MiB community/python-google-auth 1.34.0-4 1.23 MiB community/python-google-auth-httplib2 0.1.0-3 0.04 MiB community/python-grpcio 1.48.0-1.1 5.17 MiB 1.70 MiB community/python-isodate 0.6.1-1 0.26 MiB community/python-isort 5.10.1-5 0.77 MiB community/python-jinja 1:3.1.2-2 1.28 MiB extra/python-lazy-object-proxy 1.7.1-1 0.12 MiB extra/python-lxml 4.9.1-1 3.41 MiB community/python-mccabe 0.7.0-1 0.04 MiB community/python-more-itertools 8.13.0-2 0.48 MiB extra/python-numpy 1.23.1-1 29.72 MiB community/python-pbr 5.10.0-1 0.66 MiB community/python-pecan 1.4.2-1 2.08 MiB 0.34 MiB extra/python-pip 22.2.2-1 2.83 MiB community/python-pkgconfig 1.5.5-3 0.03 MiB community/python-pluggy 1.0.0-1 0.10 MiB community/python-portend 3.1.0-1 0.02 MiB community/python-prettytable 3.3.0-1 0.18 MiB extra/python-prometheus_client 0.14.1-1 0.42 MiB extra/python-protobuf 21.4-1 1.77 MiB 0.30 MiB community/python-py 1.11.0-1 0.71 MiB extra/python-pycparser 2.21-3 1.39 MiB community/python-pyjwt 2.4.0-1 0.14 MiB 0.03 MiB extra/python-pyopenssl 22.0.0-1 0.54 MiB community/python-pytz 2022.1-1 0.14 MiB extra/python-requests 2.28.1-1 0.45 MiB community/python-routes 2.5.1-5 0.28 MiB 0.06 MiB community/python-scikit-learn 1.1.1-1 34.54 MiB 6.22 MiB community/python-scipy 1.9.0-2 73.70 MiB 17.08 MiB extra/python-setuptools 1:61.3.1-1 3.18 MiB extra/python-six 1.16.0-5 0.09 MiB community/python-sphinx 5.1.1-1 15.31 MiB community/python-tempora 5.0.2-1 0.12 MiB 0.03 MiB extra/python-virtualenv 20.11.0-1 6.80 MiB community/python-werkzeug 2.1.2-1 2.01 MiB extra/python-wrapt 1.14.1-1 0.19 MiB community/python-xmlsec 1.3.12-3 0.14 MiB 0.04 MiB community/python-yaml 6.0-1 0.68 MiB community/rabbitmq 3.10.1-1 20.88 MiB 14.58 MiB extra/snappy 1.1.9-2 0.07 MiB extra/socat 1.7.4.3-1 0.42 MiB core/systemd 251.4-1 25.20 MiB extra/valgrind 3.18.1-3 86.73 MiB core/xfsprogs 5.19.0-1 3.14 MiB 1.01 MiB extra/xmlsec 1.2.34-1 4.69 MiB community/xmlstarlet 1.6.1-3 0.17 MiB community/xxhash 0.8.1-2 0.35 MiB community/yaml-cpp 0.7.0-2 0.49 MiB extra/yasm 1.3.0-5 5.38 MiB Total Download Size: 88.61 MiB Total Installed Size: 1491.22 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... erlang-nox-25.0.3-1-riscv64 downloading... python-scipy-1.9.0-2-riscv64 downloading... rabbitmq-3.10.1-1-any downloading... python-scikit-learn-1.1.1-1-riscv64 downloading... python-google-api-python-client-2.57.0-1-any downloading... python-grpcio-1.48.0-1.1-riscv64 downloading... crypto++-8.7.0-1-riscv64 downloading... xfsprogs-5.19.0-1-riscv64 downloading... librdkafka-1.9.2-1-riscv64 downloading... gtest-1.12.1-1-riscv64 downloading... python-cherrypy-18.8.0-1-any downloading... python-pecan-1.4.2-1-any downloading... python-protobuf-21.4-1-riscv64 downloading... libcurl-compat-7.84.0-2-riscv64 downloading... coffeescript-2.7.0-1-any downloading... python-webob-1.8.7-4-any downloading... python-cheroot-8.6.0-2-any downloading... python-elasticsearch-7.9.0-1-any downloading... python-googleapis-common-protos-1.56.3-1-any downloading... python-google-api-core-2.8.2-1-any downloading... python-httplib2-0.20.4-1-any downloading... libcroco-0.6.13-2-riscv64 downloading... librabbitmq-c-0.11.0-1-riscv64 downloading... python-waitress-2.1.2-1-any downloading... python-webtest-3.0.0-3-any downloading... python-routes-2.5.1-5-any downloading... python-rsa-4.9-1-any downloading... fcgi-2.4.2-2-riscv64 downloading... python-flask-restful-0.3.9-3-any downloading... python-xmlsec-1.3.12-3-riscv64 downloading... python-pyjwt-2.4.0-1-any downloading... python-logutils-0.3.5-10-any downloading... python-tempora-5.0.2-1-any downloading... python-uritemplate-4.1.1-1-any downloading... python-repoze.lru-0.7-8-any downloading... python-cachetools-5.2.0-1-any downloading... python-jaraco.collections-3.5.1-2-any downloading... libinih-56-1-riscv64 downloading... python-jaraco.classes-3.2.2-1-any downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing bc... installing boost-libs... Optional dependencies for boost-libs openmpi: for mpi support installing boost... Optional dependencies for boost python: for python bindings [pending] installing c-ares... installing hicolor-icon-theme... installing jsoncpp... Optional dependencies for jsoncpp jsoncpp-doc: documentation installing libnsl... installing libuv... installing rhash... installing cmake... Optional dependencies for cmake qt6-base: cmake-gui installing nodejs... Optional dependencies for nodejs npm: nodejs package manager installing coffeescript... installing cpio... installing crypto++... installing device-mapper... installing popt... installing json-c... installing argon2... installing cryptsetup... installing cunit... installing python... Optional dependencies for python python-setuptools [pending] python-pip [pending] sqlite [installed] mpdecimal: for decimal xz: for lzma [installed] tk: for tkinter installing cython... installing fcgi... installing libpng... installing graphite... installing harfbuzz... Optional dependencies for harfbuzz cairo: hb-view program chafa: hb-view program installing freetype2... installing fontconfig... Creating fontconfig configuration... Rebuilding fontconfig cache... installing fuse-common... installing fuse2... installing fuse3... installing fmt... installing perl-error... installing perl-timedate... installing perl-mailtools... installing git... Optional dependencies for git tk: gitk and git gui perl-libwww: git svn perl-term-readkey: git svn and interactive.singlekey setting perl-io-socket-ssl: git send-email TLS support perl-authen-sasl: git send-email TLS support perl-mediawiki-api: git mediawiki support perl-datetime-format-iso8601: git mediawiki support perl-lwp-protocol-https: git mediawiki https support perl-cgi: gitweb (web interface) support python: git svn & git p4 [installed] subversion: git svn org.freedesktop.secrets: keyring credential helper libsecret: libsecret credential helper [installed] installing gtest... Optional dependencies for gtest python: gmock generator [installed] installing gperf... installing libunwind... installing gperftools... Optional dependencies for gperftools graphviz: pprof graph generation gv: pprof postscript generation installing gptfdisk... installing libpciaccess... installing hwloc... Optional dependencies for hwloc cairo libxml2 [installed] pciutils libx11 installing inetutils... installing java-runtime-common... For the complete set of Java binaries to be available in your PATH, you need to re-login or source /etc/profile.d/jre.sh Please note that this package does not support forcing JAVA_HOME as former package java-common did installing nspr... installing nss... installing libjpeg-turbo... Optional dependencies for libjpeg-turbo java-runtime>11: for TurboJPEG Java wrapper [pending] installing libtiff... Optional dependencies for libtiff freeglut: for using tiffgt installing lcms2... installing libnet... installing jre-openjdk-headless... Optional dependencies for jre-openjdk-headless java-rhino: for some JavaScript support installing giflib... installing jre-openjdk... when you use a non-reparenting window manager, set _JAVA_AWT_WM_NONREPARENTING=1 in /etc/profile.d/jre.sh Optional dependencies for jre-openjdk alsa-lib: for basic sound support gtk2: for the Gtk+ 2 look and feel - desktop usage gtk3: for the Gtk+ 3 look and feel - desktop usage installing oniguruma... installing jq... installing jre11-openjdk-headless... Default Java environment is already set to 'java-17-openjdk' See 'archlinux-java help' to change it Optional dependencies for jre11-openjdk-headless java-rhino: for some JavaScript support installing java-environment-common... installing jdk-openjdk... installing java-hamcrest... installing junit... installing snappy... installing leveldb... installing libaio... installing libatomic_ops... installing libcroco... installing libcurl-compat... installing libedit... installing dbus... installing libmnl... installing libnftnl... installing libnl... installing libpcap... installing libnfnetlink... installing libnetfilter_conntrack... installing iptables... installing kbd... installing kmod... installing hwdata... installing systemd... warning: directory permissions differ on /var/log/journal/ filesystem: 755 package: 2755 Creating group 'sys' with GID 3. Creating group 'mem' with GID 8. Creating group 'ftp' with GID 11. Creating group 'mail' with GID 12. Creating group 'log' with GID 19. Creating group 'smmsp' with GID 25. Creating group 'proc' with GID 26. Creating group 'games' with GID 50. Creating group 'lock' with GID 54. Creating group 'network' with GID 90. Creating group 'floppy' with GID 94. Creating group 'scanner' with GID 96. Creating group 'power' with GID 98. Creating group 'nobody' with GID 65534. Creating group 'adm' with GID 999. Creating group 'wheel' with GID 998. Creating group 'utmp' with GID 997. Creating group 'audio' with GID 996. Creating group 'disk' with GID 995. Creating group 'input' with GID 994. Creating group 'kmem' with GID 993. Creating group 'kvm' with GID 992. Creating group 'lp' with GID 991. Creating group 'optical' with GID 990. Creating group 'render' with GID 989. Creating group 'sgx' with GID 988. Creating group 'storage' with GID 987. Creating group 'tty' with GID 5. Creating group 'uucp' with GID 986. Creating group 'video' with GID 985. Creating group 'users' with GID 984. Creating group 'systemd-journal' with GID 983. Creating group 'rfkill' with GID 982. Creating group 'bin' with GID 1. Creating user 'bin' (n/a) with UID 1 and GID 1. Creating group 'daemon' with GID 2. Creating user 'daemon' (n/a) with UID 2 and GID 2. Creating user 'mail' (n/a) with UID 8 and GID 12. Creating user 'ftp' (n/a) with UID 14 and GID 11. Creating group 'http' with GID 33. Creating user 'http' (n/a) with UID 33 and GID 33. Creating user 'nobody' (Nobody) with UID 65534 and GID 65534. Creating group 'dbus' with GID 81. Creating user 'dbus' (System Message Bus) with UID 81 and GID 81. Creating group 'git' with GID 981. Creating user 'git' (git daemon user) with UID 981 and GID 981. Creating group 'systemd-coredump' with GID 980. Creating user 'systemd-coredump' (systemd Core Dumper) with UID 980 and GID 980. Creating group 'systemd-network' with GID 979. Creating user 'systemd-network' (systemd Network Management) with UID 979 and GID 979. Creating group 'systemd-oom' with GID 978. Creating user 'systemd-oom' (systemd Userspace OOM Killer) with UID 978 and GID 978. Creating group 'systemd-journal-remote' with GID 977. Creating user 'systemd-journal-remote' (systemd Journal Remote) with UID 977 and GID 977. Creating group 'systemd-resolve' with GID 976. Creating user 'systemd-resolve' (systemd Resolver) with UID 976 and GID 976. Creating group 'systemd-timesync' with GID 975. Creating user 'systemd-timesync' (systemd Time Synchronization) with UID 975 and GID 975. Creating group 'uuidd' with GID 68. Creating user 'uuidd' (n/a) with UID 68 and GID 68. Created symlink /etc/systemd/system/getty.target.wants/getty@tty1.service → /usr/lib/systemd/system/getty@.service. Created symlink /etc/systemd/system/multi-user.target.wants/remote-fs.target → /usr/lib/systemd/system/remote-fs.target. Optional dependencies for systemd libmicrohttpd: remote journald capabilities quota-tools: kernel-level quota management systemd-sysvcompat: symlink package to provide sysvinit binaries polkit: allow administration as unprivileged user curl: machinectl pull-tar and pull-raw [installed] libfido2: unlocking LUKS2 volumes with FIDO2 token installing libgudev... installing librabbitmq-c... installing librdkafka... installing lsb-release... installing numactl... installing libxslt... Optional dependencies for libxslt python: Python bindings [installed] installing xmlsec... installing oath-toolkit... installing parted... installing protobuf... installing procps-ng... installing python-lazy-object-proxy... installing python-typing_extensions... installing python-wrapt... installing python-astroid... installing python-attrs... installing python-ply... installing python-pycparser... installing python-cffi... installing python-six... installing python-bcrypt... installing python-more-itertools... installing python-jaraco.functools... installing python-cheroot... installing python-pytz... installing python-tempora... installing python-portend... installing python-jaraco.context... installing python-autocommand... installing python-pydantic... Optional dependencies for python-pydantic python-dotenv: for .env file support python-email-validator: for email validation installing python-inflect... installing python-jaraco.text... installing python-jaraco.classes... installing python-jaraco.collections... installing python-zc.lockfile... installing python-cherrypy... Optional dependencies for python-cherrypy python-flup: for xcgi support python-memcached: for memcached session support python-pyopenssl: for TLS support [pending] python-routes: for routes_dispatcher support [pending] python-simplejson: for JSON support installing python-coverage... Optional dependencies for python-coverage python-tomli: for pyproject.toml support [pending] installing python-dateutil... installing python-certifi... installing python-urllib3... Optional dependencies for python-urllib3 python-pysocks: SOCKS support python-brotli: Brotli support python-pyopenssl: security support [pending] python-idna: security support [pending] installing python-elasticsearch... installing python-werkzeug... installing python-markupsafe... installing python-jinja... Optional dependencies for python-jinja python-babel: for i18n support [pending] installing python-itsdangerous... installing python-click... installing python-flask... Optional dependencies for python-flask python-asgiref: async functions and views python-dotenv: loading env vars from files installing python-aniso8601... installing python-flask-restful... installing python-pyasn1... installing python-pyasn1-modules... installing python-rsa... installing python-appdirs... installing python-pyparsing... Optional dependencies for python-pyparsing python-railroad-diagrams: for generating Railroad Diagrams python-jinja: for generating Railroad Diagrams [installed] installing python-packaging... installing python-nspektr... installing python-ordered-set... installing python-tomli... installing python-trove-classifiers... installing python-validate-pyproject... installing python-setuptools... installing python-cachetools... installing python-google-auth... installing python-httplib2... installing python-google-auth-httplib2... installing python-uritemplate... installing python-chardet... installing python-idna... installing python-requests... Optional dependencies for python-requests python-pysocks: SOCKS proxy support installing python-protobuf... installing python-googleapis-common-protos... Optional dependencies for python-googleapis-common-protos python-grpcio: for grpc support [pending] installing python-google-api-core... Optional dependencies for python-google-api-core python-grpcio: for grpc support [pending] installing python-google-api-python-client... Optional dependencies for python-google-api-python-client python-oauth2client: optional backend installing re2... installing abseil-cpp... installing python-grpcio... installing python-toml... installing python-isort... installing python-mccabe... installing python-isodate... installing python-defusedxml... installing python-pkgconfig... installing python-lxml... Optional dependencies for python-lxml python-beautifulsoup4: support for beautifulsoup parser to parse not well formed HTML [pending] python-cssselect: support for cssselect python-html5lib: support for html5lib parser python-lxml-docs: offline docs installing python-xmlsec... installing libyaml... installing python-yaml... installing blas... installing cblas... installing lapack... installing python-numpy... Optional dependencies for python-numpy openblas: faster linear algebra installing python-zipp... installing python-importlib-metadata... installing python-pbr... installing python-webob... Optional dependencies for python-webob python-webob-docs: documentation installing python-beaker... installing python-mako... installing python-soupsieve... installing python-beautifulsoup4... Optional dependencies for python-beautifulsoup4 python-chardet: to autodetect character encodings [installed] python-lxml: alternative HTML parser [installed] python-html5lib: alternative HTML parser installing python-waitress... installing python-webtest... Optional dependencies for python-webtest python-pyquery: for response.pyquery python-lxml: for response.lxml [installed] installing python-logutils... installing python-pecan... installing python-msgpack... installing python-cachecontrol... Optional dependencies for python-cachecontrol python-lockfile: for the FileCache installing python-colorama... installing python-distlib... installing python-distro... installing python-pep517... installing python-platformdirs... installing python-pygments... installing python-resolvelib... installing python-docutils... installing python-future... Optional dependencies for python-future python-setuptools: futurize and pasteurize scripts [installed] installing python-commonmark... installing python-rich... installing python-tenacity... Optional dependencies for python-tenacity python-tornado: for Tornado coroutines support installing python-webencodings... installing python-cryptography... installing python-pyopenssl... installing python-pip... installing python-pluggy... installing python-wcwidth... installing python-prettytable... installing python-prometheus_client... installing python-iniconfig... installing python-apipkg... installing python-py... installing python-pyjwt... installing python-repoze.lru... installing python-routes... installing python-scipy... Optional dependencies for python-scipy python-pillow: for image saving module installing python-joblib... Optional dependencies for python-joblib python-numpy: for array manipulation [installed] python-lz4: for compressed serialization installing python-threadpoolctl... installing python-scikit-learn... Optional dependencies for python-scikit-learn python-matplotlib: plotting capabilities installing python-babel... installing python-imagesize... installing python-snowballstemmer... Optional dependencies for python-snowballstemmer python-pystemmer: for improved performance installing python-sphinx-alabaster-theme... installing python-sphinxcontrib-applehelp... installing python-sphinxcontrib-devhelp... installing python-sphinxcontrib-htmlhelp... installing python-sphinxcontrib-jsmath... installing python-sphinxcontrib-qthelp... installing python-sphinxcontrib-serializinghtml... installing python-sphinx... Optional dependencies for python-sphinx imagemagick: for ext.imgconverter texlive-latexextra: for generation of PDF documentation installing python-filelock... installing python-virtualenv... installing erlang-nox... Optional dependencies for erlang-nox erlang-unixodbc: database support java-environment: for Java support [installed] lksctp-tools: for SCTP support installing socat... installing rabbitmq... Optional dependencies for rabbitmq rabbitmqadmin: CLI management tool logrotate: rotate log files installing valgrind... installing libinih... installing liburcu... installing xfsprogs... Optional dependencies for xfsprogs python: for xfs_scrub_all script [installed] smtp-forwarder: for xfs_scrub_fail script installing xmlstarlet... installing xxhash... installing yaml-cpp... installing yasm... :: Running post-transaction hooks... ( 1/13) Creating system user accounts... Creating group 'rabbitmq' with GID 197. Creating user 'rabbitmq' (RabbitMQ user) with UID 197 and GID 197. ( 2/13) Updating journal message catalog... ( 3/13) Reloading system manager configuration... Skipped: Current root is not booted. ( 4/13) Updating udev hardware database... ( 5/13) Applying kernel sysctl settings... Skipped: Current root is not booted. ( 6/13) Creating temporary files... Failed to adjust quota for subvolume "/var/lib/portables": Function not implemented Failed to adjust quota for subvolume "/var/lib/machines": Function not implemented error: command failed to execute correctly ( 7/13) Reloading device manager configuration... Skipped: Device manager is not running. ( 8/13) Arming ConditionNeedsUpdate... ( 9/13) Updating fontconfig configuration... (10/13) Reloading system bus configuration... Skipped: Current root is not booted. (11/13) Warn about old perl modules (12/13) Updating fontconfig cache... (13/13) Updating the info directory file... [?25h==> Retrieving sources...  -> Found ceph-15.2.14.tar.gz  -> Found ceph.sysusers  -> Found zstd-1.5.2.tar.gz  -> Found ceph-14.2.0-cflags.patch  -> Found ceph-12.2.4-boost-build-none-options.patch  -> Found ceph-13.2.0-cflags.patch  -> Found ceph-13.2.2-dont-install-sysvinit-script.patch  -> Found ceph-14.2.0-cython-0.29.patch  -> Found ceph-15.2.0-rocksdb-cmake.patch  -> Found ceph-15.2.4-system-uring.patch  -> Found ceph-15.2.14-gcc12.patch  -> Found disable-empty-readable.sh-test.patch  -> Found qa-src-update-mypy-to-0.782.patch  -> Found fix-mgr-dashboard-partial_dict.patch  -> Found fix_snappy_namespace_uint.patch ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources...  -> Extracting ceph-15.2.14.tar.gz with bsdtar  -> Extracting zstd-1.5.2.tar.gz with bsdtar ==> Starting prepare()... Applying patch ceph-14.2.0-cflags.patch patching file cmake/modules/Distutils.cmake Hunk #1 succeeded at 78 (offset 17 lines). Applying patch ceph-12.2.4-boost-build-none-options.patch patching file src/boost/tools/build/src/tools/features/debug-feature.jam patching file src/boost/tools/build/src/tools/features/optimization-feature.jam Applying patch ceph-13.2.0-cflags.patch patching file cmake/modules/BuildBoost.cmake Hunk #1 succeeded at 62 with fuzz 1. patching file src/compressor/zstd/CMakeLists.txt Applying patch ceph-13.2.2-dont-install-sysvinit-script.patch patching file src/CMakeLists.txt Hunk #1 succeeded at 654 (offset 53 lines). Applying patch ceph-14.2.0-cython-0.29.patch patching file cmake/modules/Distutils.cmake Hunk #1 succeeded at 95 (offset 37 lines). Applying patch ceph-15.2.0-rocksdb-cmake.patch patching file cmake/modules/BuildRocksDB.cmake Applying patch ceph-15.2.4-system-uring.patch patching file src/os/CMakeLists.txt patching file src/os/bluestore/io_uring.cc Applying patch ceph-15.2.14-gcc12.patch patching file src/common/dout.h patching file src/include/buffer.h Applying patch disable-empty-readable.sh-test.patch patching file src/test/encoding/CMakeLists.txt Applying patch qa-src-update-mypy-to-0.782.patch patching file qa/tox.ini patching file src/pybind/mgr/dashboard/rest_client.py patching file src/pybind/mgr/tox.ini patching file src/python-common/requirements.txt Applying patch fix-mgr-dashboard-partial_dict.patch patching file src/pybind/mgr/dashboard/controllers/health.py Applying patch fix_snappy_namespace_uint.patch patching file src/compressor/snappy/SnappyCompressor.h ==> Starting build()... -- The CXX compiler identification is GNU 12.1.1 -- The C compiler identification is GNU 12.1.1 -- The ASM compiler identification is GNU -- Found assembler: /usr/bin/cc -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - 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/cc - 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 -- Looking for backtrace -- Looking for backtrace - found -- backtrace facility detected in default set of libraries -- Found Backtrace: /usr/include -- Found udev: /usr/lib/libudev.so -- Found blkid: /usr/lib/libblkid.so -- Found keyutils: /usr/lib/libkeyutils.so -- Found FUSE: /usr/lib/libfuse3.so (found version "3.11") -- Found xfs: /usr/lib/libhandle.so -- Found aio: /lib/libaio.so -- Found leveldb: /lib/libleveldb.so -- Found snappy: /usr/lib/libsnappy.so -- Found LZ4: /usr/lib/liblz4.so (found suitable version "1.9.3", minimum required is "1.7") -- Found gperftools: /usr/include (found version "2.10") -- Found CURL: /usr/lib/libcurl.so (found version "7.84.0") -- Looking for curl_multi_wait -- Looking for curl_multi_wait - found -- Found OpenSSL: /usr/lib/libcrypto.so (found version "1.1.1q") -- Found EXPAT: /usr/lib/libexpat.so (found version "2.4.8") -- Found OATH: /usr/lib/liboath.so -- ssl soname: libssl.so.1.1 -- crypto soname: libcrypto.so.1.1 -- Found Python3: /usr/bin/python3.10 (found suitable exact version "3.10.6") found components: Interpreter Development -- mgr module disabled for 3.10.6: diskprediction_local -- Found ZLIB: /usr/lib/libz.so (found version "1.2.12") -- Found Boost: /usr/lib/cmake/Boost-1.79.0/BoostConfig.cmake (found suitable version "1.79.0", minimum required is "1.67") found components: atomic chrono thread system regex random program_options date_time iostreams python310 context coroutine -- 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_STDLIB_MAP_SPLICING -- Performing Test HAVE_STDLIB_MAP_SPLICING - Success -- Performing Test COMPILER_SUPPORTS_DIAGNOSTICS_COLOR -- Performing Test COMPILER_SUPPORTS_DIAGNOSTICS_COLOR - Success -- Ceph/.git directory not found, parsing /build/ceph/src/ceph-15.2.14/src/.git_version for CEPH_GIT_VER and CEPH_GIT_NICE_VER -- Found Java: /usr/bin/java (found version "17.0.1") found components: Development -- Found JNI: /usr/lib/jvm/default/include found components: AWT JVM -- Performing Test HAS_VTA -- Performing Test HAS_VTA - Success -- 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 -- Found PythonInterp: /usr/bin/python (found version "3.10.6") -- Looking for wsyncup in /usr/lib/libcurses.so -- Looking for wsyncup in /usr/lib/libcurses.so - found -- Looking for cbreak in /usr/lib/libncurses.so -- Looking for cbreak in /usr/lib/libncurses.so - found -- Looking for nodelay in /usr/lib/libncurses.so -- Looking for nodelay in /usr/lib/libncurses.so - found -- Found Curses: /usr/lib/libncurses.so -- Found nl: /usr/lib/libnl-3.so -- Checking for module 'libcap-ng' -- Found libcap-ng, version 0.8.3 -- Found Boost: /usr/lib/cmake/Boost-1.79.0/BoostConfig.cmake (found suitable version "1.79.0", minimum required is "1.66") found components: system context -- Setting civetweb to use OPENSSL >= 1.1 -- Checking for one of the modules 'rdkafka' -- Found RDKafka: /usr/include (found suitable version "1.9.2", minimum required is "0.9.2") -- exclude following files under src: *.js;*.css;civetweb;erasure-code/jerasure/jerasure;erasure-code/jerasure/gf-complete;rocksdb;googletest;spdk;xxHash;isa-l;lua;zstd;crypto/isa-l/isa-l_crypto;blkin;rapidjson;dmclock;seastar;fmt;c-ares;spawn;pybind/mgr/rook/rook-client-python -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: MGR_PYTHON_VERSION PYTHON_INCLUDE_DIR -- Build files have been written to: /build/ceph/src/ceph-15.2.14/build make: Entering directory '/build/ceph/src/ceph-15.2.14/build' /usr/bin/cmake -S/build/ceph/src/ceph-15.2.14 -B/build/ceph/src/ceph-15.2.14/build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /build/ceph/src/ceph-15.2.14/build/CMakeFiles /build/ceph/src/ceph-15.2.14/build//CMakeFiles/progress.marks make -f CMakeFiles/Makefile2 all make[1]: Entering directory '/build/ceph/src/ceph-15.2.14/build' make -f src/CMakeFiles/common-objs.dir/build.make src/CMakeFiles/common-objs.dir/depend make -f src/compressor/CMakeFiles/compressor_objs.dir/build.make src/compressor/CMakeFiles/compressor_objs.dir/depend make -f src/common/CMakeFiles/common_utf8.dir/build.make src/common/CMakeFiles/common_utf8.dir/depend make -f src/auth/CMakeFiles/common-auth-objs.dir/build.make src/auth/CMakeFiles/common-auth-objs.dir/depend make -f src/common/CMakeFiles/common_buffer_obj.dir/build.make src/common/CMakeFiles/common_buffer_obj.dir/depend make -f src/common/CMakeFiles/common_texttable_obj.dir/build.make src/common/CMakeFiles/common_texttable_obj.dir/depend make -f src/common/CMakeFiles/common-common-objs.dir/build.make src/common/CMakeFiles/common-common-objs.dir/depend make -f src/common/CMakeFiles/common_mountcephfs_objs.dir/build.make src/common/CMakeFiles/common_mountcephfs_objs.dir/depend make -f src/arch/CMakeFiles/arch.dir/build.make src/arch/CMakeFiles/arch.dir/depend make -f src/crush/CMakeFiles/crush_objs.dir/build.make src/crush/CMakeFiles/crush_objs.dir/depend make -f src/msg/CMakeFiles/common-msg-objs.dir/build.make src/msg/CMakeFiles/common-msg-objs.dir/depend make -f src/erasure-code/CMakeFiles/erasure_code.dir/build.make src/erasure-code/CMakeFiles/erasure_code.dir/depend make -f src/CMakeFiles/rados_snap_set_diff_obj.dir/build.make src/CMakeFiles/rados_snap_set_diff_obj.dir/depend make -f src/cls/CMakeFiles/cls_lock_client.dir/build.make src/cls/CMakeFiles/cls_lock_client.dir/depend make -f src/osdc/CMakeFiles/osdc.dir/build.make src/osdc/CMakeFiles/osdc.dir/depend make -f src/librados/CMakeFiles/librados_impl.dir/build.make src/librados/CMakeFiles/librados_impl.dir/depend make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' cd /build/ceph/src/ceph-15.2.14/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/ceph/src/ceph-15.2.14 /build/ceph/src/ceph-15.2.14/src/cls /build/ceph/src/ceph-15.2.14/build /build/ceph/src/ceph-15.2.14/build/src/cls /build/ceph/src/ceph-15.2.14/build/src/cls/CMakeFiles/cls_lock_client.dir/DependInfo.cmake --color= make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' cd /build/ceph/src/ceph-15.2.14/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/ceph/src/ceph-15.2.14 /build/ceph/src/ceph-15.2.14/src/compressor /build/ceph/src/ceph-15.2.14/build /build/ceph/src/ceph-15.2.14/build/src/compressor /build/ceph/src/ceph-15.2.14/build/src/compressor/CMakeFiles/compressor_objs.dir/DependInfo.cmake --color= make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' cd /build/ceph/src/ceph-15.2.14/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/ceph/src/ceph-15.2.14 /build/ceph/src/ceph-15.2.14/src/common /build/ceph/src/ceph-15.2.14/build /build/ceph/src/ceph-15.2.14/build/src/common /build/ceph/src/ceph-15.2.14/build/src/common/CMakeFiles/common_utf8.dir/DependInfo.cmake --color= make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' cd /build/ceph/src/ceph-15.2.14/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/ceph/src/ceph-15.2.14 /build/ceph/src/ceph-15.2.14/src/common /build/ceph/src/ceph-15.2.14/build /build/ceph/src/ceph-15.2.14/build/src/common /build/ceph/src/ceph-15.2.14/build/src/common/CMakeFiles/common_buffer_obj.dir/DependInfo.cmake --color= make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' cd /build/ceph/src/ceph-15.2.14/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/ceph/src/ceph-15.2.14 /build/ceph/src/ceph-15.2.14/src/auth /build/ceph/src/ceph-15.2.14/build /build/ceph/src/ceph-15.2.14/build/src/auth /build/ceph/src/ceph-15.2.14/build/src/auth/CMakeFiles/common-auth-objs.dir/DependInfo.cmake --color= make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' cd /build/ceph/src/ceph-15.2.14/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/ceph/src/ceph-15.2.14 /build/ceph/src/ceph-15.2.14/src/common /build/ceph/src/ceph-15.2.14/build /build/ceph/src/ceph-15.2.14/build/src/common /build/ceph/src/ceph-15.2.14/build/src/common/CMakeFiles/common_texttable_obj.dir/DependInfo.cmake --color= make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' cd /build/ceph/src/ceph-15.2.14/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/ceph/src/ceph-15.2.14 /build/ceph/src/ceph-15.2.14/src/common /build/ceph/src/ceph-15.2.14/build /build/ceph/src/ceph-15.2.14/build/src/common /build/ceph/src/ceph-15.2.14/build/src/common/CMakeFiles/common_mountcephfs_objs.dir/DependInfo.cmake --color= cd /build/ceph/src/ceph-15.2.14/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/ceph/src/ceph-15.2.14 /build/ceph/src/ceph-15.2.14/src/arch /build/ceph/src/ceph-15.2.14/build /build/ceph/src/ceph-15.2.14/build/src/arch /build/ceph/src/ceph-15.2.14/build/src/arch/CMakeFiles/arch.dir/DependInfo.cmake --color= make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' cd /build/ceph/src/ceph-15.2.14/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/ceph/src/ceph-15.2.14 /build/ceph/src/ceph-15.2.14/src/crush /build/ceph/src/ceph-15.2.14/build /build/ceph/src/ceph-15.2.14/build/src/crush /build/ceph/src/ceph-15.2.14/build/src/crush/CMakeFiles/crush_objs.dir/DependInfo.cmake --color= cd /build/ceph/src/ceph-15.2.14/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/ceph/src/ceph-15.2.14 /build/ceph/src/ceph-15.2.14/src/erasure-code /build/ceph/src/ceph-15.2.14/build /build/ceph/src/ceph-15.2.14/build/src/erasure-code /build/ceph/src/ceph-15.2.14/build/src/erasure-code/CMakeFiles/erasure_code.dir/DependInfo.cmake --color= make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' cd /build/ceph/src/ceph-15.2.14/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/ceph/src/ceph-15.2.14 /build/ceph/src/ceph-15.2.14/src /build/ceph/src/ceph-15.2.14/build /build/ceph/src/ceph-15.2.14/build/src /build/ceph/src/ceph-15.2.14/build/src/CMakeFiles/rados_snap_set_diff_obj.dir/DependInfo.cmake --color= cd /build/ceph/src/ceph-15.2.14/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/ceph/src/ceph-15.2.14 /build/ceph/src/ceph-15.2.14/src/osdc /build/ceph/src/ceph-15.2.14/build /build/ceph/src/ceph-15.2.14/build/src/osdc /build/ceph/src/ceph-15.2.14/build/src/osdc/CMakeFiles/osdc.dir/DependInfo.cmake --color= make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' cd /build/ceph/src/ceph-15.2.14/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/ceph/src/ceph-15.2.14 /build/ceph/src/ceph-15.2.14/src/msg /build/ceph/src/ceph-15.2.14/build /build/ceph/src/ceph-15.2.14/build/src/msg /build/ceph/src/ceph-15.2.14/build/src/msg/CMakeFiles/common-msg-objs.dir/DependInfo.cmake --color= make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' cd /build/ceph/src/ceph-15.2.14/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/ceph/src/ceph-15.2.14 /build/ceph/src/ceph-15.2.14/src/common /build/ceph/src/ceph-15.2.14/build /build/ceph/src/ceph-15.2.14/build/src/common /build/ceph/src/ceph-15.2.14/build/src/common/CMakeFiles/common-common-objs.dir/DependInfo.cmake --color= make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' cd /build/ceph/src/ceph-15.2.14/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/ceph/src/ceph-15.2.14 /build/ceph/src/ceph-15.2.14/src /build/ceph/src/ceph-15.2.14/build /build/ceph/src/ceph-15.2.14/build/src /build/ceph/src/ceph-15.2.14/build/src/CMakeFiles/common-objs.dir/DependInfo.cmake --color= make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' cd /build/ceph/src/ceph-15.2.14/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/ceph/src/ceph-15.2.14 /build/ceph/src/ceph-15.2.14/src/librados /build/ceph/src/ceph-15.2.14/build /build/ceph/src/ceph-15.2.14/build/src/librados /build/ceph/src/ceph-15.2.14/build/src/librados/CMakeFiles/librados_impl.dir/DependInfo.cmake --color= make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' make -f src/cls/CMakeFiles/cls_lock_client.dir/build.make src/cls/CMakeFiles/cls_lock_client.dir/build make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' make -f src/arch/CMakeFiles/arch.dir/build.make src/arch/CMakeFiles/arch.dir/build make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' make -f src/crush/CMakeFiles/crush_objs.dir/build.make src/crush/CMakeFiles/crush_objs.dir/build make -f src/common/CMakeFiles/common_buffer_obj.dir/build.make src/common/CMakeFiles/common_buffer_obj.dir/build make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' make -f src/common/CMakeFiles/common_mountcephfs_objs.dir/build.make src/common/CMakeFiles/common_mountcephfs_objs.dir/build make -f src/erasure-code/CMakeFiles/erasure_code.dir/build.make src/erasure-code/CMakeFiles/erasure_code.dir/build make -f src/msg/CMakeFiles/common-msg-objs.dir/build.make src/msg/CMakeFiles/common-msg-objs.dir/build make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' make -f src/compressor/CMakeFiles/compressor_objs.dir/build.make src/compressor/CMakeFiles/compressor_objs.dir/build make -f src/common/CMakeFiles/common_utf8.dir/build.make src/common/CMakeFiles/common_utf8.dir/build make -f src/common/CMakeFiles/common_texttable_obj.dir/build.make src/common/CMakeFiles/common_texttable_obj.dir/build make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' make -f src/common/CMakeFiles/common-common-objs.dir/build.make src/common/CMakeFiles/common-common-objs.dir/build make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' make -f src/osdc/CMakeFiles/osdc.dir/build.make src/osdc/CMakeFiles/osdc.dir/build make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' make -f src/auth/CMakeFiles/common-auth-objs.dir/build.make src/auth/CMakeFiles/common-auth-objs.dir/build make -f src/CMakeFiles/rados_snap_set_diff_obj.dir/build.make src/CMakeFiles/rados_snap_set_diff_obj.dir/build make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' make -f src/librados/CMakeFiles/librados_impl.dir/build.make src/librados/CMakeFiles/librados_impl.dir/build make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' make -f src/CMakeFiles/common-objs.dir/build.make src/CMakeFiles/common-objs.dir/build make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' [ 0%] Building C object src/common/CMakeFiles/common_mountcephfs_objs.dir/armor.c.o cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/cc -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -O2 -g -DNDEBUG -fPIC -std=gnu99 -MD -MT src/common/CMakeFiles/common_mountcephfs_objs.dir/armor.c.o -MF CMakeFiles/common_mountcephfs_objs.dir/armor.c.o.d -o CMakeFiles/common_mountcephfs_objs.dir/armor.c.o -c /build/ceph/src/ceph-15.2.14/src/common/armor.c [ 0%] Building C object src/crush/CMakeFiles/crush_objs.dir/builder.c.o [ 0%] Building CXX object src/compressor/CMakeFiles/compressor_objs.dir/Compressor.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/crush && /usr/bin/cc -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -O2 -g -DNDEBUG -fPIC -std=gnu99 -MD -MT src/crush/CMakeFiles/crush_objs.dir/builder.c.o -MF CMakeFiles/crush_objs.dir/builder.c.o.d -o CMakeFiles/crush_objs.dir/builder.c.o -c /build/ceph/src/ceph-15.2.14/src/crush/builder.c [ 0%] Building CXX object src/common/CMakeFiles/common_buffer_obj.dir/buffer.cc.o [ 0%] Building CXX object src/cls/CMakeFiles/cls_lock_client.dir/lock/cls_lock_client.cc.o [ 0%] Building CXX object src/erasure-code/CMakeFiles/erasure_code.dir/ErasureCodePlugin.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/compressor && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/compressor/CMakeFiles/compressor_objs.dir/Compressor.cc.o -MF CMakeFiles/compressor_objs.dir/Compressor.cc.o.d -o CMakeFiles/compressor_objs.dir/Compressor.cc.o -c /build/ceph/src/ceph-15.2.14/src/compressor/Compressor.cc cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/common/CMakeFiles/common_buffer_obj.dir/buffer.cc.o -MF CMakeFiles/common_buffer_obj.dir/buffer.cc.o.d -o CMakeFiles/common_buffer_obj.dir/buffer.cc.o -c /build/ceph/src/ceph-15.2.14/src/common/buffer.cc [ 0%] Building CXX object src/arch/CMakeFiles/arch.dir/probe.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/erasure-code && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure/jerasure/include -isystem /build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure/gf-complete/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/erasure-code/CMakeFiles/erasure_code.dir/ErasureCodePlugin.cc.o -MF CMakeFiles/erasure_code.dir/ErasureCodePlugin.cc.o.d -o CMakeFiles/erasure_code.dir/ErasureCodePlugin.cc.o -c /build/ceph/src/ceph-15.2.14/src/erasure-code/ErasureCodePlugin.cc [ 0%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/DispatchQueue.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/arch && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/arch/CMakeFiles/arch.dir/probe.cc.o -MF CMakeFiles/arch.dir/probe.cc.o.d -o CMakeFiles/arch.dir/probe.cc.o -c /build/ceph/src/ceph-15.2.14/src/arch/probe.cc cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/cls/CMakeFiles/cls_lock_client.dir/lock/cls_lock_client.cc.o -MF CMakeFiles/cls_lock_client.dir/lock/cls_lock_client.cc.o.d -o CMakeFiles/cls_lock_client.dir/lock/cls_lock_client.cc.o -c /build/ceph/src/ceph-15.2.14/src/cls/lock/cls_lock_client.cc cd /build/ceph/src/ceph-15.2.14/build/src/msg && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/msg/CMakeFiles/common-msg-objs.dir/DispatchQueue.cc.o -MF CMakeFiles/common-msg-objs.dir/DispatchQueue.cc.o.d -o CMakeFiles/common-msg-objs.dir/DispatchQueue.cc.o -c /build/ceph/src/ceph-15.2.14/src/msg/DispatchQueue.cc [ 0%] Building CXX object src/auth/CMakeFiles/common-auth-objs.dir/AuthClientHandler.cc.o [ 0%] Building CXX object src/common/CMakeFiles/common_texttable_obj.dir/TextTable.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/auth && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/auth/CMakeFiles/common-auth-objs.dir/AuthClientHandler.cc.o -MF CMakeFiles/common-auth-objs.dir/AuthClientHandler.cc.o.d -o CMakeFiles/common-auth-objs.dir/AuthClientHandler.cc.o -c /build/ceph/src/ceph-15.2.14/src/auth/AuthClientHandler.cc [ 0%] Building CXX object src/CMakeFiles/rados_snap_set_diff_obj.dir/librados/snap_set_diff.cc.o [ 0%] Building CXX object src/osdc/CMakeFiles/osdc.dir/Filer.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/common/CMakeFiles/common_texttable_obj.dir/TextTable.cc.o -MF CMakeFiles/common_texttable_obj.dir/TextTable.cc.o.d -o CMakeFiles/common_texttable_obj.dir/TextTable.cc.o -c /build/ceph/src/ceph-15.2.14/src/common/TextTable.cc cd /build/ceph/src/ceph-15.2.14/build/src && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/CMakeFiles/rados_snap_set_diff_obj.dir/librados/snap_set_diff.cc.o -MF CMakeFiles/rados_snap_set_diff_obj.dir/librados/snap_set_diff.cc.o.d -o CMakeFiles/rados_snap_set_diff_obj.dir/librados/snap_set_diff.cc.o -c /build/ceph/src/ceph-15.2.14/src/librados/snap_set_diff.cc cd /build/ceph/src/ceph-15.2.14/build/src/osdc && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/osdc/CMakeFiles/osdc.dir/Filer.cc.o -MF CMakeFiles/osdc.dir/Filer.cc.o.d -o CMakeFiles/osdc.dir/Filer.cc.o -c /build/ceph/src/ceph-15.2.14/src/osdc/Filer.cc [ 0%] Building C object src/common/CMakeFiles/common_utf8.dir/utf8.c.o cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/cc -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -O2 -g -DNDEBUG -fPIC -std=gnu99 -MD -MT src/common/CMakeFiles/common_utf8.dir/utf8.c.o -MF CMakeFiles/common_utf8.dir/utf8.c.o.d -o CMakeFiles/common_utf8.dir/utf8.c.o -c /build/ceph/src/ceph-15.2.14/src/common/utf8.c [ 0%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/AsyncOpTracker.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DCEPH_DATADIR=\"/usr/share/ceph\" -DCEPH_LIBDIR=\"/usr/lib\" -DCEPH_PKGLIBDIR=\"/usr/lib/ceph\" -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/common/CMakeFiles/common-common-objs.dir/AsyncOpTracker.cc.o -MF CMakeFiles/common-common-objs.dir/AsyncOpTracker.cc.o.d -o CMakeFiles/common-common-objs.dir/AsyncOpTracker.cc.o -c /build/ceph/src/ceph-15.2.14/src/common/AsyncOpTracker.cc [ 0%] Building CXX object src/librados/CMakeFiles/librados_impl.dir/IoCtxImpl.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/librados && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/librados/CMakeFiles/librados_impl.dir/IoCtxImpl.cc.o -MF CMakeFiles/librados_impl.dir/IoCtxImpl.cc.o.d -o CMakeFiles/librados_impl.dir/IoCtxImpl.cc.o -c /build/ceph/src/ceph-15.2.14/src/librados/IoCtxImpl.cc [ 0%] Building C object src/CMakeFiles/common-objs.dir/ceph_ver.c.o cd /build/ceph/src/ceph-15.2.14/build/src && /usr/bin/cc -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -O2 -g -DNDEBUG -fPIC -std=gnu99 -MD -MT src/CMakeFiles/common-objs.dir/ceph_ver.c.o -MF CMakeFiles/common-objs.dir/ceph_ver.c.o.d -o CMakeFiles/common-objs.dir/ceph_ver.c.o -c /build/ceph/src/ceph-15.2.14/src/ceph_ver.c [ 0%] Building CXX object src/CMakeFiles/common-objs.dir/global/global_context.cc.o cd /build/ceph/src/ceph-15.2.14/build/src && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/CMakeFiles/common-objs.dir/global/global_context.cc.o -MF CMakeFiles/common-objs.dir/global/global_context.cc.o.d -o CMakeFiles/common-objs.dir/global/global_context.cc.o -c /build/ceph/src/ceph-15.2.14/src/global/global_context.cc [ 0%] Linking CXX static library ../../lib/libarch.a cd /build/ceph/src/ceph-15.2.14/build/src/arch && /usr/bin/cmake -P CMakeFiles/arch.dir/cmake_clean_target.cmake cd /build/ceph/src/ceph-15.2.14/build/src/arch && /usr/bin/cmake -E cmake_link_script CMakeFiles/arch.dir/link.txt --verbose=1 /usr/bin/ar qc ../../lib/libarch.a CMakeFiles/arch.dir/probe.cc.o /usr/bin/ranlib ../../lib/libarch.a make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' [ 1%] Building C object src/common/CMakeFiles/common_mountcephfs_objs.dir/safe_io.c.o cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/cc -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -O2 -g -DNDEBUG -fPIC -std=gnu99 -MD -MT src/common/CMakeFiles/common_mountcephfs_objs.dir/safe_io.c.o -MF CMakeFiles/common_mountcephfs_objs.dir/safe_io.c.o.d -o CMakeFiles/common_mountcephfs_objs.dir/safe_io.c.o -c /build/ceph/src/ceph-15.2.14/src/common/safe_io.c [ 1%] Linking C static library ../../lib/libcommon_utf8.a cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/cmake -P CMakeFiles/common_utf8.dir/cmake_clean_target.cmake [ 1%] Built target arch cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/cmake -E cmake_link_script CMakeFiles/common_utf8.dir/link.txt --verbose=1 [ 1%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/Message.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/msg && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/msg/CMakeFiles/common-msg-objs.dir/Message.cc.o -MF CMakeFiles/common-msg-objs.dir/Message.cc.o.d -o CMakeFiles/common-msg-objs.dir/Message.cc.o -c /build/ceph/src/ceph-15.2.14/src/msg/Message.cc /usr/bin/ar qc ../../lib/libcommon_utf8.a CMakeFiles/common_utf8.dir/utf8.c.o /usr/bin/ranlib ../../lib/libcommon_utf8.a make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' [ 1%] Built target common_utf8 [ 1%] Building CXX object src/librados/CMakeFiles/librados_impl.dir/RadosXattrIter.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/librados && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/librados/CMakeFiles/librados_impl.dir/RadosXattrIter.cc.o -MF CMakeFiles/librados_impl.dir/RadosXattrIter.cc.o.d -o CMakeFiles/librados_impl.dir/RadosXattrIter.cc.o -c /build/ceph/src/ceph-15.2.14/src/librados/RadosXattrIter.cc [ 1%] Building C object src/common/CMakeFiles/common_mountcephfs_objs.dir/module.c.o cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/cc -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -O2 -g -DNDEBUG -fPIC -std=gnu99 -MD -MT src/common/CMakeFiles/common_mountcephfs_objs.dir/module.c.o -MF CMakeFiles/common_mountcephfs_objs.dir/module.c.o.d -o CMakeFiles/common_mountcephfs_objs.dir/module.c.o -c /build/ceph/src/ceph-15.2.14/src/common/module.c [ 1%] Building C object src/crush/CMakeFiles/crush_objs.dir/mapper.c.o cd /build/ceph/src/ceph-15.2.14/build/src/crush && /usr/bin/cc -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -O2 -g -DNDEBUG -fPIC -std=gnu99 -MD -MT src/crush/CMakeFiles/crush_objs.dir/mapper.c.o -MF CMakeFiles/crush_objs.dir/mapper.c.o.d -o CMakeFiles/crush_objs.dir/mapper.c.o -c /build/ceph/src/ceph-15.2.14/src/crush/mapper.c [ 1%] Building C object src/common/CMakeFiles/common_mountcephfs_objs.dir/addr_parsing.c.o cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/cc -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -O2 -g -DNDEBUG -fPIC -std=gnu99 -MD -MT src/common/CMakeFiles/common_mountcephfs_objs.dir/addr_parsing.c.o -MF CMakeFiles/common_mountcephfs_objs.dir/addr_parsing.c.o.d -o CMakeFiles/common_mountcephfs_objs.dir/addr_parsing.c.o -c /build/ceph/src/ceph-15.2.14/src/common/addr_parsing.c make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' /build/ceph/src/ceph-15.2.14/src/common/addr_parsing.c: In function ‘safe_cat’: /build/ceph/src/ceph-15.2.14/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); | ^ /build/ceph/src/ceph-15.2.14/src/common/addr_parsing.c:28:14: note: length computed here 28 | int len2 = strlen(str2); | ^~~~~~~~~~~~ [ 1%] Built target common_texttable_obj [ 1%] Building CXX object src/auth/CMakeFiles/common-auth-objs.dir/AuthMethodList.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/auth && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/auth/CMakeFiles/common-auth-objs.dir/AuthMethodList.cc.o -MF CMakeFiles/common-auth-objs.dir/AuthMethodList.cc.o.d -o CMakeFiles/common-auth-objs.dir/AuthMethodList.cc.o -c /build/ceph/src/ceph-15.2.14/src/auth/AuthMethodList.cc make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' [ 1%] Built target common_mountcephfs_objs [ 1%] Building C object src/CMakeFiles/common-objs.dir/xxHash/xxhash.c.o cd /build/ceph/src/ceph-15.2.14/build/src && /usr/bin/cc -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -O2 -g -DNDEBUG -fPIC -std=gnu99 -MD -MT src/CMakeFiles/common-objs.dir/xxHash/xxhash.c.o -MF CMakeFiles/common-objs.dir/xxHash/xxhash.c.o.d -o CMakeFiles/common-objs.dir/xxHash/xxhash.c.o -c /build/ceph/src/ceph-15.2.14/src/xxHash/xxhash.c make -f src/erasure-code/CMakeFiles/erasure_code_objs.dir/build.make src/erasure-code/CMakeFiles/erasure_code_objs.dir/depend make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' cd /build/ceph/src/ceph-15.2.14/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/ceph/src/ceph-15.2.14 /build/ceph/src/ceph-15.2.14/src/erasure-code /build/ceph/src/ceph-15.2.14/build /build/ceph/src/ceph-15.2.14/build/src/erasure-code /build/ceph/src/ceph-15.2.14/build/src/erasure-code/CMakeFiles/erasure_code_objs.dir/DependInfo.cmake --color= make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' make -f src/erasure-code/CMakeFiles/erasure_code_objs.dir/build.make src/erasure-code/CMakeFiles/erasure_code_objs.dir/build [ 1%] Building C object src/crush/CMakeFiles/crush_objs.dir/crush.c.o cd /build/ceph/src/ceph-15.2.14/build/src/crush && /usr/bin/cc -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -O2 -g -DNDEBUG -fPIC -std=gnu99 -MD -MT src/crush/CMakeFiles/crush_objs.dir/crush.c.o -MF CMakeFiles/crush_objs.dir/crush.c.o.d -o CMakeFiles/crush_objs.dir/crush.c.o -c /build/ceph/src/ceph-15.2.14/src/crush/crush.c make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' [ 1%] Building CXX object src/erasure-code/CMakeFiles/erasure_code_objs.dir/ErasureCode.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/erasure-code && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure/jerasure/include -isystem /build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure/gf-complete/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/erasure-code/CMakeFiles/erasure_code_objs.dir/ErasureCode.cc.o -MF CMakeFiles/erasure_code_objs.dir/ErasureCode.cc.o.d -o CMakeFiles/erasure_code_objs.dir/ErasureCode.cc.o -c /build/ceph/src/ceph-15.2.14/src/erasure-code/ErasureCode.cc [ 1%] Linking CXX static library ../../lib/liberasure_code.a cd /build/ceph/src/ceph-15.2.14/build/src/erasure-code && /usr/bin/cmake -P CMakeFiles/erasure_code.dir/cmake_clean_target.cmake cd /build/ceph/src/ceph-15.2.14/build/src/erasure-code && /usr/bin/cmake -E cmake_link_script CMakeFiles/erasure_code.dir/link.txt --verbose=1 /usr/bin/ar qc ../../lib/liberasure_code.a CMakeFiles/erasure_code.dir/ErasureCodePlugin.cc.o /usr/bin/ranlib ../../lib/liberasure_code.a make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' [ 1%] Built target erasure_code [ 1%] Building CXX object src/CMakeFiles/common-objs.dir/log/Log.cc.o cd /build/ceph/src/ceph-15.2.14/build/src && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/CMakeFiles/common-objs.dir/log/Log.cc.o -MF CMakeFiles/common-objs.dir/log/Log.cc.o.d -o CMakeFiles/common-objs.dir/log/Log.cc.o -c /build/ceph/src/ceph-15.2.14/src/log/Log.cc [ 1%] Building C object src/crush/CMakeFiles/crush_objs.dir/hash.c.o cd /build/ceph/src/ceph-15.2.14/build/src/crush && /usr/bin/cc -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -O2 -g -DNDEBUG -fPIC -std=gnu99 -MD -MT src/crush/CMakeFiles/crush_objs.dir/hash.c.o -MF CMakeFiles/crush_objs.dir/hash.c.o.d -o CMakeFiles/crush_objs.dir/hash.c.o -c /build/ceph/src/ceph-15.2.14/src/crush/hash.c [ 1%] Building CXX object src/CMakeFiles/common-objs.dir/mon/MonCap.cc.o cd /build/ceph/src/ceph-15.2.14/build/src && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/CMakeFiles/common-objs.dir/mon/MonCap.cc.o -MF CMakeFiles/common-objs.dir/mon/MonCap.cc.o.d -o CMakeFiles/common-objs.dir/mon/MonCap.cc.o -c /build/ceph/src/ceph-15.2.14/src/mon/MonCap.cc [ 1%] Building CXX object src/crush/CMakeFiles/crush_objs.dir/CrushWrapper.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/crush && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/crush/CMakeFiles/crush_objs.dir/CrushWrapper.cc.o -MF CMakeFiles/crush_objs.dir/CrushWrapper.cc.o.d -o CMakeFiles/crush_objs.dir/CrushWrapper.cc.o -c /build/ceph/src/ceph-15.2.14/src/crush/CrushWrapper.cc In file included from /build/ceph/src/ceph-15.2.14/src/librados/snap_set_diff.h:9, from /build/ceph/src/ceph-15.2.14/src/librados/snap_set_diff.cc:6: /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:45:32: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/bits/stl_algobase.h:65, from /usr/include/c++/12.1.1/vector:60, from /build/ceph/src/ceph-15.2.14/src/librados/snap_set_diff.cc:4: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:109:38: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /build/ceph/src/ceph-15.2.14/src/cls/lock/cls_lock_client.cc:17: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/bits/stl_algobase.h:65, from /usr/include/c++/12.1.1/bits/stl_tree.h:63, from /usr/include/c++/12.1.1/set:60, from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:17, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/cls/lock/cls_lock_client.cc:15: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /build/ceph/src/ceph-15.2.14/src/librados/snap_set_diff.cc:8: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/auth/Crypto.h:19, from /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:18, from /build/ceph/src/ceph-15.2.14/src/auth/AuthClientHandler.h:19, from /build/ceph/src/ceph-15.2.14/src/auth/AuthClientHandler.cc:18: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/include/rados/buffer.h:59, from /build/ceph/src/ceph-15.2.14/src/include/rados/rados_types.hpp:10, from /build/ceph/src/ceph-15.2.14/src/librados/snap_set_diff.h:8: /build/ceph/src/ceph-15.2.14/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 > >]’: /build/ceph/src/ceph-15.2.14/src/librados/snap_set_diff.cc:110:25: required from here /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:525:23: warning: comparison of unsigned expression in ‘>= 0’ is always true [-Wtype-limits] 525 | ceph_assert(_size >= 0); /build/ceph/src/ceph-15.2.14/src/include/ceph_assert.h:106:6: note: in definition of macro ‘ceph_assert’ 106 | ((expr) \ | ^~~~ [ 1%] Building CXX object src/cls/CMakeFiles/cls_lock_client.dir/lock/cls_lock_types.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/cls/CMakeFiles/cls_lock_client.dir/lock/cls_lock_types.cc.o -MF CMakeFiles/cls_lock_client.dir/lock/cls_lock_types.cc.o.d -o CMakeFiles/cls_lock_client.dir/lock/cls_lock_types.cc.o -c /build/ceph/src/ceph-15.2.14/src/cls/lock/cls_lock_types.cc [ 1%] Building CXX object src/CMakeFiles/common-objs.dir/mon/MonClient.cc.o cd /build/ceph/src/ceph-15.2.14/build/src && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/CMakeFiles/common-objs.dir/mon/MonClient.cc.o -MF CMakeFiles/common-objs.dir/mon/MonClient.cc.o.d -o CMakeFiles/common-objs.dir/mon/MonClient.cc.o -c /build/ceph/src/ceph-15.2.14/src/mon/MonClient.cc In file included from /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:41, from /build/ceph/src/ceph-15.2.14/src/osd/OSDMap.h:38, from /build/ceph/src/ceph-15.2.14/src/osdc/Filer.h:36, from /build/ceph/src/ceph-15.2.14/src/osdc/Filer.cc:18: /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:45:32: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/string:45, from /usr/include/c++/12.1.1/stdexcept:39, from /usr/include/c++/12.1.1/system_error:41, from /usr/include/c++/12.1.1/mutex:41, from /build/ceph/src/ceph-15.2.14/src/osdc/Filer.cc:16: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:109:38: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /build/ceph/src/ceph-15.2.14/src/librados/IoCtxImpl.h:26, from /build/ceph/src/ceph-15.2.14/src/librados/IoCtxImpl.cc:17: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/bits/stl_algobase.h:65, from /usr/include/c++/12.1.1/bits/specfun.h:45, from /usr/include/c++/12.1.1/cmath:1935, from /usr/include/c++/12.1.1/math.h:36, from /build/ceph/src/ceph-15.2.14/src/include/utime.h:18, from /build/ceph/src/ceph-15.2.14/src/common/Clock.h:18, from /build/ceph/src/ceph-15.2.14/src/common/Cond.h:19, from /build/ceph/src/ceph-15.2.14/src/librados/IoCtxImpl.h:20: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /build/ceph/src/ceph-15.2.14/src/librados/IoCtxImpl.h:27: /build/ceph/src/ceph-15.2.14/src/include/xlist.h:162:24: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/xlist.h:186:30: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:41, from /build/ceph/src/ceph-15.2.14/src/librados/IoCtxImpl.h:28: /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:45:32: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:109:38: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/msg/msg_types.h:23, from /build/ceph/src/ceph-15.2.14/src/common/ceph_context.h:33, from /build/ceph/src/ceph-15.2.14/src/common/dout.h:29, from /build/ceph/src/ceph-15.2.14/src/include/Context.h:19, from /build/ceph/src/ceph-15.2.14/src/msg/Message.h:24, from /build/ceph/src/ceph-15.2.14/src/msg/DispatchQueue.cc:15: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/librados/ListObjectImpl.h:19, from /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:50: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 1%] Building CXX object src/auth/CMakeFiles/common-auth-objs.dir/AuthRegistry.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/auth && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/auth/CMakeFiles/common-auth-objs.dir/AuthRegistry.cc.o -MF CMakeFiles/common-auth-objs.dir/AuthRegistry.cc.o.d -o CMakeFiles/common-auth-objs.dir/AuthRegistry.cc.o -c /build/ceph/src/ceph-15.2.14/src/auth/AuthRegistry.cc [ 1%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/BackTrace.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DCEPH_DATADIR=\"/usr/share/ceph\" -DCEPH_LIBDIR=\"/usr/lib\" -DCEPH_PKGLIBDIR=\"/usr/lib/ceph\" -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/common/CMakeFiles/common-common-objs.dir/BackTrace.cc.o -MF CMakeFiles/common-common-objs.dir/BackTrace.cc.o.d -o CMakeFiles/common-common-objs.dir/BackTrace.cc.o -c /build/ceph/src/ceph-15.2.14/src/common/BackTrace.cc make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' [ 1%] Built target common_buffer_obj [ 1%] Building CXX object src/CMakeFiles/common-objs.dir/mon/MonMap.cc.o cd /build/ceph/src/ceph-15.2.14/build/src && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/CMakeFiles/common-objs.dir/mon/MonMap.cc.o -MF CMakeFiles/common-objs.dir/mon/MonMap.cc.o.d -o CMakeFiles/common-objs.dir/mon/MonMap.cc.o -c /build/ceph/src/ceph-15.2.14/src/mon/MonMap.cc In file included from /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:41, from /build/ceph/src/ceph-15.2.14/src/erasure-code/ErasureCode.cc:26: /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:45:32: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/bits/stl_algobase.h:65, from /usr/include/c++/12.1.1/algorithm:60, from /build/ceph/src/ceph-15.2.14/src/erasure-code/ErasureCode.cc:18: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:109:38: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:41, from /build/ceph/src/ceph-15.2.14/src/crush/CrushWrapper.cc:4: /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:45:32: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/string:45, from /usr/include/c++/12.1.1/bits/locale_classes.h:40, from /usr/include/c++/12.1.1/bits/ios_base.h:41, from /usr/include/c++/12.1.1/ios:42, from /usr/include/c++/12.1.1/istream:38, from /usr/include/c++/12.1.1/sstream:38, from /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:22: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:109:38: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:41, from /build/ceph/src/ceph-15.2.14/src/messages/MPGStats.h:18, from /build/ceph/src/ceph-15.2.14/src/msg/Message.cc:17: /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:45:32: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/string:45, from /usr/include/c++/12.1.1/bits/locale_classes.h:40, from /usr/include/c++/12.1.1/bits/ios_base.h:41, from /usr/include/c++/12.1.1/ios:42, from /usr/include/c++/12.1.1/ostream:38, from /usr/include/c++/12.1.1/iostream:39, from /build/ceph/src/ceph-15.2.14/src/msg/Message.cc:9: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:109:38: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /usr/include/boost/smart_ptr/detail/sp_thread_sleep.hpp:22, from /usr/include/boost/smart_ptr/detail/yield_k.hpp:23, from /usr/include/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp:14, from /usr/include/boost/smart_ptr/detail/spinlock.hpp:42, from /usr/include/boost/smart_ptr/detail/spinlock_pool.hpp:25, from /usr/include/boost/smart_ptr/shared_ptr.hpp:29, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/spirit/home/qi/string/symbols.hpp:30, from /usr/include/boost/spirit/home/qi/string.hpp:15, from /usr/include/boost/spirit/home/qi.hpp:28, from /usr/include/boost/spirit/include/qi.hpp:16, from /build/ceph/src/ceph-15.2.14/src/mon/MonCap.cc:17: /usr/include/boost/spirit/include/phoenix.hpp:12:1: note: ‘#pragma message: This header is deprecated. Use instead.’ 12 | BOOST_HEADER_DEPRECATED("") | ^~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' In file included from /build/ceph/src/ceph-15.2.14/src/librados/ListObjectImpl.h:19, from /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:50: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 1%] Built target compressor_objs [ 1%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/ConfUtils.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DCEPH_DATADIR=\"/usr/share/ceph\" -DCEPH_LIBDIR=\"/usr/lib\" -DCEPH_PKGLIBDIR=\"/usr/lib/ceph\" -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/common/CMakeFiles/common-common-objs.dir/ConfUtils.cc.o -MF CMakeFiles/common-common-objs.dir/ConfUtils.cc.o.d -o CMakeFiles/common-common-objs.dir/ConfUtils.cc.o -c /build/ceph/src/ceph-15.2.14/src/common/ConfUtils.cc In file included from /build/ceph/src/ceph-15.2.14/src/librados/ListObjectImpl.h:19, from /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:50: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' [ 1%] Built target rados_snap_set_diff_obj [ 1%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/Cycles.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DCEPH_DATADIR=\"/usr/share/ceph\" -DCEPH_LIBDIR=\"/usr/lib\" -DCEPH_PKGLIBDIR=\"/usr/lib/ceph\" -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/common/CMakeFiles/common-common-objs.dir/Cycles.cc.o -MF CMakeFiles/common-common-objs.dir/Cycles.cc.o.d -o CMakeFiles/common-common-objs.dir/Cycles.cc.o -c /build/ceph/src/ceph-15.2.14/src/common/Cycles.cc make -f src/erasure-code/jerasure/CMakeFiles/jerasure_objs.dir/build.make src/erasure-code/jerasure/CMakeFiles/jerasure_objs.dir/depend make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' cd /build/ceph/src/ceph-15.2.14/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/ceph/src/ceph-15.2.14 /build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure /build/ceph/src/ceph-15.2.14/build /build/ceph/src/ceph-15.2.14/build/src/erasure-code/jerasure /build/ceph/src/ceph-15.2.14/build/src/erasure-code/jerasure/CMakeFiles/jerasure_objs.dir/DependInfo.cmake --color= make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' make -f src/erasure-code/jerasure/CMakeFiles/jerasure_objs.dir/build.make src/erasure-code/jerasure/CMakeFiles/jerasure_objs.dir/build make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' [ 1%] Building C object src/erasure-code/jerasure/CMakeFiles/jerasure_objs.dir/jerasure/src/cauchy.c.o cd /build/ceph/src/ceph-15.2.14/build/src/erasure-code/jerasure && /usr/bin/cc -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure/jerasure/include -isystem /build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure/gf-complete/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -O2 -g -DNDEBUG -fPIC -std=gnu99 -MD -MT src/erasure-code/jerasure/CMakeFiles/jerasure_objs.dir/jerasure/src/cauchy.c.o -MF CMakeFiles/jerasure_objs.dir/jerasure/src/cauchy.c.o.d -o CMakeFiles/jerasure_objs.dir/jerasure/src/cauchy.c.o -c /build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure/jerasure/src/cauchy.c In file included from /build/ceph/src/ceph-15.2.14/src/librados/ListObjectImpl.h:19, from /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:50: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 1%] Building C object src/erasure-code/jerasure/CMakeFiles/jerasure_objs.dir/jerasure/src/galois.c.o cd /build/ceph/src/ceph-15.2.14/build/src/erasure-code/jerasure && /usr/bin/cc -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure/jerasure/include -isystem /build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure/gf-complete/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -O2 -g -DNDEBUG -fPIC -std=gnu99 -MD -MT src/erasure-code/jerasure/CMakeFiles/jerasure_objs.dir/jerasure/src/galois.c.o -MF CMakeFiles/jerasure_objs.dir/jerasure/src/galois.c.o.d -o CMakeFiles/jerasure_objs.dir/jerasure/src/galois.c.o -c /build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure/jerasure/src/galois.c [ 2%] Building CXX object src/crush/CMakeFiles/crush_objs.dir/CrushCompiler.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/crush && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/crush/CMakeFiles/crush_objs.dir/CrushCompiler.cc.o -MF CMakeFiles/crush_objs.dir/CrushCompiler.cc.o.d -o CMakeFiles/crush_objs.dir/CrushCompiler.cc.o -c /build/ceph/src/ceph-15.2.14/src/crush/CrushCompiler.cc [ 2%] Building C object src/erasure-code/jerasure/CMakeFiles/jerasure_objs.dir/jerasure/src/jerasure.c.o cd /build/ceph/src/ceph-15.2.14/build/src/erasure-code/jerasure && /usr/bin/cc -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure/jerasure/include -isystem /build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure/gf-complete/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -O2 -g -DNDEBUG -fPIC -std=gnu99 -MD -MT src/erasure-code/jerasure/CMakeFiles/jerasure_objs.dir/jerasure/src/jerasure.c.o -MF CMakeFiles/jerasure_objs.dir/jerasure/src/jerasure.c.o.d -o CMakeFiles/jerasure_objs.dir/jerasure/src/jerasure.c.o -c /build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure/jerasure/src/jerasure.c In file included from /build/ceph/src/ceph-15.2.14/src/common/Cycles.cc:32: /build/ceph/src/ceph-15.2.14/src/common/Cycles.h:86:2: warning: #warning No high-precision counter available for your OS/arch [-Wcpp] 86 | #warning No high-precision counter available for your OS/arch | ^~~~~~~ In file included from /build/ceph/src/ceph-15.2.14/src/mon/Session.h:22, from /build/ceph/src/ceph-15.2.14/src/messages/PaxosServiceMessage.h:7, from /build/ceph/src/ceph-15.2.14/src/messages/MPGStats.h:19: /build/ceph/src/ceph-15.2.14/src/include/xlist.h:162:24: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/xlist.h:186:30: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 2%] Building CXX object src/CMakeFiles/common-objs.dir/mon/MonSub.cc.o cd /build/ceph/src/ceph-15.2.14/build/src && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/CMakeFiles/common-objs.dir/mon/MonSub.cc.o -MF CMakeFiles/common-objs.dir/mon/MonSub.cc.o.d -o CMakeFiles/common-objs.dir/mon/MonSub.cc.o -c /build/ceph/src/ceph-15.2.14/src/mon/MonSub.cc [ 2%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/Messenger.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/msg && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/msg/CMakeFiles/common-msg-objs.dir/Messenger.cc.o -MF CMakeFiles/common-msg-objs.dir/Messenger.cc.o.d -o CMakeFiles/common-msg-objs.dir/Messenger.cc.o -c /build/ceph/src/ceph-15.2.14/src/msg/Messenger.cc In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/crush/CrushWrapper.h:14, from /build/ceph/src/ceph-15.2.14/src/erasure-code/ErasureCode.cc:25: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/CompatSet.h:85:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/osdc/Filer.h:32: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/CompatSet.h:85:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:3809:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&’ {aka ‘const std::pair, std::optional >&’} binds to a temporary constructed from type ‘const std::pair, std::optional >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T’ {aka ‘const std::pair, std::optional >’} to make the copy explicit or ‘const std::pair, std::optional >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:3809:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&’ {aka ‘const std::pair, std::optional >&’} binds to a temporary constructed from type ‘const std::pair, std::optional >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T’ {aka ‘const std::pair, std::optional >’} to make the copy explicit or ‘const std::pair, std::optional >&’ to prevent copying [ 2%] Building C object src/erasure-code/jerasure/CMakeFiles/jerasure_objs.dir/jerasure/src/liberation.c.o cd /build/ceph/src/ceph-15.2.14/build/src/erasure-code/jerasure && /usr/bin/cc -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure/jerasure/include -isystem /build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure/gf-complete/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -O2 -g -DNDEBUG -fPIC -std=gnu99 -MD -MT src/erasure-code/jerasure/CMakeFiles/jerasure_objs.dir/jerasure/src/liberation.c.o -MF CMakeFiles/jerasure_objs.dir/jerasure/src/liberation.c.o.d -o CMakeFiles/jerasure_objs.dir/jerasure/src/liberation.c.o -c /build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure/jerasure/src/liberation.c [ 2%] Building CXX object src/cls/CMakeFiles/cls_lock_client.dir/lock/cls_lock_ops.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/cls/CMakeFiles/cls_lock_client.dir/lock/cls_lock_ops.cc.o -MF CMakeFiles/cls_lock_client.dir/lock/cls_lock_ops.cc.o.d -o CMakeFiles/cls_lock_client.dir/lock/cls_lock_ops.cc.o -c /build/ceph/src/ceph-15.2.14/src/cls/lock/cls_lock_ops.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/CompatSet.h:85:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying [ 2%] Building C object src/erasure-code/jerasure/CMakeFiles/jerasure_objs.dir/jerasure/src/reed_sol.c.o cd /build/ceph/src/ceph-15.2.14/build/src/erasure-code/jerasure && /usr/bin/cc -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure/jerasure/include -isystem /build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure/gf-complete/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -O2 -g -DNDEBUG -fPIC -std=gnu99 -MD -MT src/erasure-code/jerasure/CMakeFiles/jerasure_objs.dir/jerasure/src/reed_sol.c.o -MF CMakeFiles/jerasure_objs.dir/jerasure/src/reed_sol.c.o.d -o CMakeFiles/jerasure_objs.dir/jerasure/src/reed_sol.c.o -c /build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure/jerasure/src/reed_sol.c /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:3809:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&’ {aka ‘const std::pair, std::optional >&’} binds to a temporary constructed from type ‘const std::pair, std::optional >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T’ {aka ‘const std::pair, std::optional >’} to make the copy explicit or ‘const std::pair, std::optional >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osdc/Objecter.h:710:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&’ {aka ‘const std::pair, std::pair >&’} binds to a temporary constructed from type ‘const std::pair, std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T’ {aka ‘const std::pair, std::pair >’} to make the copy explicit or ‘const std::pair, std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::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]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/messages/MOSDMap.h:143:11: required from here /build/ceph/src/ceph-15.2.14/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] /build/ceph/src/ceph-15.2.14/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 [ 2%] Building CXX object src/erasure-code/jerasure/CMakeFiles/jerasure_objs.dir/jerasure_init.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/erasure-code/jerasure && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure/jerasure/include -isystem /build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure/gf-complete/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/erasure-code/jerasure/CMakeFiles/jerasure_objs.dir/jerasure_init.cc.o -MF CMakeFiles/jerasure_objs.dir/jerasure_init.cc.o.d -o CMakeFiles/jerasure_objs.dir/jerasure_init.cc.o -c /build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure/jerasure_init.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/CompatSet.h:85:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/compact_map.h:16, from /build/ceph/src/ceph-15.2.14/src/include/mempool.h:32, from /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:33: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/CompatSet.h:85:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:3809:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&’ {aka ‘const std::pair, std::optional >&’} binds to a temporary constructed from type ‘const std::pair, std::optional >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T’ {aka ‘const std::pair, std::optional >’} to make the copy explicit or ‘const std::pair, std::optional >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:3809:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&’ {aka ‘const std::pair, std::optional >&’} binds to a temporary constructed from type ‘const std::pair, std::optional >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T’ {aka ‘const std::pair, std::optional >’} to make the copy explicit or ‘const std::pair, std::optional >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osdc/Objecter.h:710:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&’ {aka ‘const std::pair, std::pair >&’} binds to a temporary constructed from type ‘const std::pair, std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T’ {aka ‘const std::pair, std::pair >’} to make the copy explicit or ‘const std::pair, std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/include/utime.h:27: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/CompatSet.h:85:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_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]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, 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]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/messages/MOSDMap.h:143:11: required from here /build/ceph/src/ceph-15.2.14/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] /build/ceph/src/ceph-15.2.14/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 /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/mon/Session.h:22, from /build/ceph/src/ceph-15.2.14/src/messages/PaxosServiceMessage.h:7, from /build/ceph/src/ceph-15.2.14/src/messages/MAuth.h:24, from /build/ceph/src/ceph-15.2.14/src/mon/MonClient.cc:33: /build/ceph/src/ceph-15.2.14/src/include/xlist.h:162:24: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/bits/stl_algobase.h:65, from /usr/include/c++/12.1.1/algorithm:60, from /build/ceph/src/ceph-15.2.14/src/mon/MonClient.cc:15: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/xlist.h:186:30: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:3809:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&’ {aka ‘const std::pair, std::optional >&’} binds to a temporary constructed from type ‘const std::pair, std::optional >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T’ {aka ‘const std::pair, std::optional >’} to make the copy explicit or ‘const std::pair, std::optional >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/crush/CrushWrapper.cc:3040:9: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::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]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/crush/CrushWrapper.cc:3060:11: required from here /build/ceph/src/ceph-15.2.14/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] /build/ceph/src/ceph-15.2.14/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 /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/CompatSet.h:85:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:41, from /build/ceph/src/ceph-15.2.14/src/osd/OSDMap.h:38, from /build/ceph/src/ceph-15.2.14/src/mon/Session.h:29: /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:45:32: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:109:38: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:906:11: required from ‘static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1005:15: required from ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:3809:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&’ {aka ‘const std::pair, std::optional >&’} binds to a temporary constructed from type ‘const std::pair, std::optional >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T’ {aka ‘const std::pair, std::optional >’} to make the copy explicit or ‘const std::pair, std::optional >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/librados/ListObjectImpl.h:19, from /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:50: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osdc/Objecter.h:710:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&’ {aka ‘const std::pair, std::pair >&’} binds to a temporary constructed from type ‘const std::pair, std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T’ {aka ‘const std::pair, std::pair >’} to make the copy explicit or ‘const std::pair, std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/crush/CrushWrapper.cc:3040:9: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::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]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const 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]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/crush/CrushWrapper.cc:3058:11: required from here /build/ceph/src/ceph-15.2.14/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] /build/ceph/src/ceph-15.2.14/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 /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_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]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, 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]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/crush/CrushWrapper.cc:3060:11: required from here /build/ceph/src/ceph-15.2.14/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] /build/ceph/src/ceph-15.2.14/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 /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/mon_types.h:100:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/mon_types.h:258:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/mon_types.h:259:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&’ {aka ‘const std::pair, long unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, long unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T’ {aka ‘const std::pair, long unsigned int>’} to make the copy explicit or ‘const std::pair, long unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/MgrMap.h:381:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_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]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/MgrMap.h:397:11: required from here /build/ceph/src/ceph-15.2.14/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] /build/ceph/src/ceph-15.2.14/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 /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _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]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/messages/MMgrReport.h:158:11: required from here /build/ceph/src/ceph-15.2.14/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] /build/ceph/src/ceph-15.2.14/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 /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/CompatSet.h:85:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:3809:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&’ {aka ‘const std::pair, std::optional >&’} binds to a temporary constructed from type ‘const std::pair, std::optional >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T’ {aka ‘const std::pair, std::optional >’} to make the copy explicit or ‘const std::pair, std::optional >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:906:11: required from ‘static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1005:15: required from ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned 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 /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/auth/Crypto.h:19, from /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:18, from /build/ceph/src/ceph-15.2.14/src/auth/AuthAuthorizeHandler.h:18, from /build/ceph/src/ceph-15.2.14/src/auth/AuthRegistry.h:9, from /build/ceph/src/ceph-15.2.14/src/auth/AuthRegistry.cc:4: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osdc/Objecter.h:710:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&’ {aka ‘const std::pair, std::pair >&’} binds to a temporary constructed from type ‘const std::pair, std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T’ {aka ‘const std::pair, std::pair >’} to make the copy explicit or ‘const std::pair, std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/mon_types.h:100:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/mon_types.h:258:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/mon_types.h:259:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&’ {aka ‘const std::pair, long unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, long unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T’ {aka ‘const std::pair, long unsigned int>’} to make the copy explicit or ‘const std::pair, long unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/MgrMap.h:381:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(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]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::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]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/MgrMap.h:397:11: required from here /build/ceph/src/ceph-15.2.14/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] /build/ceph/src/ceph-15.2.14/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 /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::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]’: /build/ceph/src/ceph-15.2.14/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]’ /build/ceph/src/ceph-15.2.14/src/mgr/OSDPerfMetricTypes.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]’ /build/ceph/src/ceph-15.2.14/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /build/ceph/src/ceph-15.2.14/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) { | ^ /build/ceph/src/ceph-15.2.14/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 /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:906:11: required from ‘static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1005:15: required from ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _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]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:654:25: required from ‘std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mgr/MetricTypes.h:129:9: required from ‘std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]’ /build/ceph/src/ceph-15.2.14/src/mgr/MetricTypes.h:127:3: required from here /build/ceph/src/ceph-15.2.14/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] /build/ceph/src/ceph-15.2.14/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 /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::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]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const 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]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/messages/MMgrReport.h:158:11: required from here /build/ceph/src/ceph-15.2.14/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) { | ^ /build/ceph/src/ceph-15.2.14/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 /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::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]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h: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]’ /build/ceph/src/ceph-15.2.14/src/mgr/OSDPerfMetricTypes.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]’ /build/ceph/src/ceph-15.2.14/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /build/ceph/src/ceph-15.2.14/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] /build/ceph/src/ceph-15.2.14/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 /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::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]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const 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]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mgr/MetricTypes.h:129:9: required from ‘std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]’ /build/ceph/src/ceph-15.2.14/src/mgr/MetricTypes.h:127:3: required from here /build/ceph/src/ceph-15.2.14/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] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying In file included from /usr/include/boost/smart_ptr/detail/sp_thread_sleep.hpp:22, from /usr/include/boost/smart_ptr/detail/yield_k.hpp:23, from /usr/include/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp:14, from /usr/include/boost/smart_ptr/detail/spinlock.hpp:42, from /usr/include/boost/smart_ptr/detail/spinlock_pool.hpp:25, from /usr/include/boost/smart_ptr/shared_ptr.hpp:29, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/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 /build/ceph/src/ceph-15.2.14/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("") | ^~~~~~~~~~~~~~~~~~~~~~~ [ 2%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/QueueStrategy.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/msg && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/msg/CMakeFiles/common-msg-objs.dir/QueueStrategy.cc.o -MF CMakeFiles/common-msg-objs.dir/QueueStrategy.cc.o.d -o CMakeFiles/common-msg-objs.dir/QueueStrategy.cc.o -c /build/ceph/src/ceph-15.2.14/src/msg/QueueStrategy.cc In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/mon/MonMap.h:26, from /build/ceph/src/ceph-15.2.14/src/mon/MonMap.cc:4: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/mon_types.h:100:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/mon_types.h:258:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/mon_types.h:259:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&’ {aka ‘const std::pair, long unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, long unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T’ {aka ‘const std::pair, long unsigned int>’} to make the copy explicit or ‘const std::pair, long unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/mon_types.h:100:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/mon_types.h:258:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/mon_types.h:259:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&’ {aka ‘const std::pair, long unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, long unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T’ {aka ‘const std::pair, long unsigned int>’} to make the copy explicit or ‘const std::pair, long unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:906:11: required from ‘static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1005:15: required from ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:906:11: required from ‘static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1005:15: required from ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/mon_types.h:100:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying [ 2%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/DecayCounter.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DCEPH_DATADIR=\"/usr/share/ceph\" -DCEPH_LIBDIR=\"/usr/lib\" -DCEPH_PKGLIBDIR=\"/usr/lib/ceph\" -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/common/CMakeFiles/common-common-objs.dir/DecayCounter.cc.o -MF CMakeFiles/common-common-objs.dir/DecayCounter.cc.o.d -o CMakeFiles/common-common-objs.dir/DecayCounter.cc.o -c /build/ceph/src/ceph-15.2.14/src/common/DecayCounter.cc make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' [ 2%] Built target erasure_code_objs make -f src/erasure-code/jerasure/CMakeFiles/jerasure_utils.dir/build.make src/erasure-code/jerasure/CMakeFiles/jerasure_utils.dir/depend /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:906:11: required from ‘static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1005:15: required from ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/mon_types.h:100:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, long unsigned int, long 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]: Entering directory '/build/ceph/src/ceph-15.2.14/build' cd /build/ceph/src/ceph-15.2.14/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/ceph/src/ceph-15.2.14 /build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure /build/ceph/src/ceph-15.2.14/build /build/ceph/src/ceph-15.2.14/build/src/erasure-code/jerasure /build/ceph/src/ceph-15.2.14/build/src/erasure-code/jerasure/CMakeFiles/jerasure_utils.dir/DependInfo.cmake --color= make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' make -f src/erasure-code/jerasure/CMakeFiles/jerasure_utils.dir/build.make src/erasure-code/jerasure/CMakeFiles/jerasure_utils.dir/build make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' [ 2%] Building CXX object src/erasure-code/jerasure/CMakeFiles/jerasure_utils.dir/ErasureCodePluginJerasure.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/erasure-code/jerasure && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure/jerasure/include -isystem /build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure/gf-complete/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/erasure-code/jerasure/CMakeFiles/jerasure_utils.dir/ErasureCodePluginJerasure.cc.o -MF CMakeFiles/jerasure_utils.dir/ErasureCodePluginJerasure.cc.o.d -o CMakeFiles/jerasure_utils.dir/ErasureCodePluginJerasure.cc.o -c /build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure/ErasureCodePluginJerasure.cc In file included from /build/ceph/src/ceph-15.2.14/src/msg/async/AsyncMessenger.h:23, from /build/ceph/src/ceph-15.2.14/src/msg/Messenger.cc:11: /build/ceph/src/ceph-15.2.14/src/include/xlist.h:162:24: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/bits/stl_algobase.h:65, from /usr/include/c++/12.1.1/bits/stl_tree.h:63, from /usr/include/c++/12.1.1/set:60, from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:17, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/msg/Messenger.cc:6: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/xlist.h:186:30: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 2%] Linking CXX static library ../../lib/libcls_lock_client.a cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/cmake -P CMakeFiles/cls_lock_client.dir/cmake_clean_target.cmake cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/cmake -E cmake_link_script CMakeFiles/cls_lock_client.dir/link.txt --verbose=1 /usr/bin/ar qc ../../lib/libcls_lock_client.a CMakeFiles/cls_lock_client.dir/lock/cls_lock_client.cc.o CMakeFiles/cls_lock_client.dir/lock/cls_lock_types.cc.o CMakeFiles/cls_lock_client.dir/lock/cls_lock_ops.cc.o /usr/bin/ranlib ../../lib/libcls_lock_client.a make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' [ 2%] Built target cls_lock_client [ 2%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/Finisher.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DCEPH_DATADIR=\"/usr/share/ceph\" -DCEPH_LIBDIR=\"/usr/lib\" -DCEPH_PKGLIBDIR=\"/usr/lib/ceph\" -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/common/CMakeFiles/common-common-objs.dir/Finisher.cc.o -MF CMakeFiles/common-common-objs.dir/Finisher.cc.o.d -o CMakeFiles/common-common-objs.dir/Finisher.cc.o -c /build/ceph/src/ceph-15.2.14/src/common/Finisher.cc In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying [ 2%] Building CXX object src/auth/CMakeFiles/common-auth-objs.dir/AuthSessionHandler.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/auth && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/auth/CMakeFiles/common-auth-objs.dir/AuthSessionHandler.cc.o -MF CMakeFiles/common-auth-objs.dir/AuthSessionHandler.cc.o.d -o CMakeFiles/common-auth-objs.dir/AuthSessionHandler.cc.o -c /build/ceph/src/ceph-15.2.14/src/auth/AuthSessionHandler.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/include/stringify.h:7, from /build/ceph/src/ceph-15.2.14/src/mon/MonClient.cc:25: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/mon_types.h:100:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/mon_types.h:258:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/mon_types.h:259:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&’ {aka ‘const std::pair, long unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, long unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T’ {aka ‘const std::pair, long unsigned int>’} to make the copy explicit or ‘const std::pair, long unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const 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]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_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]’ /build/ceph/src/ceph-15.2.14/src/messages/MConfig.h:39:11: required from here /build/ceph/src/ceph-15.2.14/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] /build/ceph/src/ceph-15.2.14/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 /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/CompatSet.h:85:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:3809:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&’ {aka ‘const std::pair, std::optional >&’} binds to a temporary constructed from type ‘const std::pair, std::optional >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T’ {aka ‘const std::pair, std::optional >’} to make the copy explicit or ‘const std::pair, std::optional >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/mon_types.h:100:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/mon_types.h:258:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/mon_types.h:259:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&’ {aka ‘const std::pair, long unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, long unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T’ {aka ‘const std::pair, long unsigned int>’} to make the copy explicit or ‘const std::pair, long unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(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]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::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]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_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]’ /build/ceph/src/ceph-15.2.14/src/messages/MConfig.h:39:11: required from here /build/ceph/src/ceph-15.2.14/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] /build/ceph/src/ceph-15.2.14/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 /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/CompatSet.h:85:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:3809:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&’ {aka ‘const std::pair, std::optional >&’} binds to a temporary constructed from type ‘const std::pair, std::optional >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T’ {aka ‘const std::pair, std::optional >’} to make the copy explicit or ‘const std::pair, std::optional >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, long int, std::map, std::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 -f src/erasure-code/jerasure/CMakeFiles/gf-complete_objs.dir/build.make src/erasure-code/jerasure/CMakeFiles/gf-complete_objs.dir/depend make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' cd /build/ceph/src/ceph-15.2.14/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/ceph/src/ceph-15.2.14 /build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure /build/ceph/src/ceph-15.2.14/build /build/ceph/src/ceph-15.2.14/build/src/erasure-code/jerasure /build/ceph/src/ceph-15.2.14/build/src/erasure-code/jerasure/CMakeFiles/gf-complete_objs.dir/DependInfo.cmake --color= make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' make -f src/erasure-code/jerasure/CMakeFiles/gf-complete_objs.dir/build.make src/erasure-code/jerasure/CMakeFiles/gf-complete_objs.dir/build make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' [ 3%] Building C object src/erasure-code/jerasure/CMakeFiles/gf-complete_objs.dir/gf-complete/src/gf_cpu.c.o cd /build/ceph/src/ceph-15.2.14/build/src/erasure-code/jerasure && /usr/bin/cc -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure/jerasure/include -isystem /build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure/gf-complete/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -O2 -g -DNDEBUG -fPIC -std=gnu99 -MD -MT src/erasure-code/jerasure/CMakeFiles/gf-complete_objs.dir/gf-complete/src/gf_cpu.c.o -MF CMakeFiles/gf-complete_objs.dir/gf-complete/src/gf_cpu.c.o.d -o CMakeFiles/gf-complete_objs.dir/gf-complete/src/gf_cpu.c.o -c /build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure/gf-complete/src/gf_cpu.c [ 3%] Building C object src/erasure-code/jerasure/CMakeFiles/gf-complete_objs.dir/gf-complete/src/gf_wgen.c.o cd /build/ceph/src/ceph-15.2.14/build/src/erasure-code/jerasure && /usr/bin/cc -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure/jerasure/include -isystem /build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure/gf-complete/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -O2 -g -DNDEBUG -fPIC -std=gnu99 -MD -MT src/erasure-code/jerasure/CMakeFiles/gf-complete_objs.dir/gf-complete/src/gf_wgen.c.o -MF CMakeFiles/gf-complete_objs.dir/gf-complete/src/gf_wgen.c.o.d -o CMakeFiles/gf-complete_objs.dir/gf-complete/src/gf_wgen.c.o -c /build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure/gf-complete/src/gf_wgen.c make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' [ 3%] Built target jerasure_objs [ 3%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/Formatter.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DCEPH_DATADIR=\"/usr/share/ceph\" -DCEPH_LIBDIR=\"/usr/lib\" -DCEPH_PKGLIBDIR=\"/usr/lib/ceph\" -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/common/CMakeFiles/common-common-objs.dir/Formatter.cc.o -MF CMakeFiles/common-common-objs.dir/Formatter.cc.o.d -o CMakeFiles/common-common-objs.dir/Formatter.cc.o -c /build/ceph/src/ceph-15.2.14/src/common/Formatter.cc [ 3%] Building CXX object src/osdc/CMakeFiles/osdc.dir/ObjectCacher.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/osdc && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/osdc/CMakeFiles/osdc.dir/ObjectCacher.cc.o -MF CMakeFiles/osdc.dir/ObjectCacher.cc.o.d -o CMakeFiles/osdc.dir/ObjectCacher.cc.o -c /build/ceph/src/ceph-15.2.14/src/osdc/ObjectCacher.cc [ 3%] Building C object src/erasure-code/jerasure/CMakeFiles/gf-complete_objs.dir/gf-complete/src/gf_w16.c.o cd /build/ceph/src/ceph-15.2.14/build/src/erasure-code/jerasure && /usr/bin/cc -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure/jerasure/include -isystem /build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure/gf-complete/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -O2 -g -DNDEBUG -fPIC -std=gnu99 -MD -MT src/erasure-code/jerasure/CMakeFiles/gf-complete_objs.dir/gf-complete/src/gf_w16.c.o -MF CMakeFiles/gf-complete_objs.dir/gf-complete/src/gf_w16.c.o.d -o CMakeFiles/gf-complete_objs.dir/gf-complete/src/gf_w16.c.o -c /build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure/gf-complete/src/gf_w16.c [ 3%] Building CXX object src/auth/CMakeFiles/common-auth-objs.dir/Crypto.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/auth && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/auth/CMakeFiles/common-auth-objs.dir/Crypto.cc.o -MF CMakeFiles/common-auth-objs.dir/Crypto.cc.o.d -o CMakeFiles/common-auth-objs.dir/Crypto.cc.o -c /build/ceph/src/ceph-15.2.14/src/auth/Crypto.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:906:11: required from ‘static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1005:15: required from ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/mon_types.h:100:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:906:11: required from ‘static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1005:15: required from ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying [ 3%] Building C object src/erasure-code/jerasure/CMakeFiles/gf-complete_objs.dir/gf-complete/src/gf.c.o cd /build/ceph/src/ceph-15.2.14/build/src/erasure-code/jerasure && /usr/bin/cc -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure/jerasure/include -isystem /build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure/gf-complete/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -O2 -g -DNDEBUG -fPIC -std=gnu99 -MD -MT src/erasure-code/jerasure/CMakeFiles/gf-complete_objs.dir/gf-complete/src/gf.c.o -MF CMakeFiles/gf-complete_objs.dir/gf-complete/src/gf.c.o.d -o CMakeFiles/gf-complete_objs.dir/gf-complete/src/gf.c.o -c /build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure/gf-complete/src/gf.c In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/msg/msg_types.h:23, from /build/ceph/src/ceph-15.2.14/src/common/ceph_context.h:33, from /build/ceph/src/ceph-15.2.14/src/common/dout.h:29, from /build/ceph/src/ceph-15.2.14/src/include/Context.h:19, from /build/ceph/src/ceph-15.2.14/src/msg/Message.h:24, from /build/ceph/src/ceph-15.2.14/src/msg/DispatchStrategy.h:18, from /build/ceph/src/ceph-15.2.14/src/msg/QueueStrategy.h:22, from /build/ceph/src/ceph-15.2.14/src/msg/QueueStrategy.cc:15: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying [ 3%] Building CXX object src/osdc/CMakeFiles/osdc.dir/Objecter.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/osdc && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/osdc/CMakeFiles/osdc.dir/Objecter.cc.o -MF CMakeFiles/osdc.dir/Objecter.cc.o.d -o CMakeFiles/osdc.dir/Objecter.cc.o -c /build/ceph/src/ceph-15.2.14/src/osdc/Objecter.cc [ 3%] Building C object src/erasure-code/jerasure/CMakeFiles/gf-complete_objs.dir/gf-complete/src/gf_w32.c.o cd /build/ceph/src/ceph-15.2.14/build/src/erasure-code/jerasure && /usr/bin/cc -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure/jerasure/include -isystem /build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure/gf-complete/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -O2 -g -DNDEBUG -fPIC -std=gnu99 -MD -MT src/erasure-code/jerasure/CMakeFiles/gf-complete_objs.dir/gf-complete/src/gf_w32.c.o -MF CMakeFiles/gf-complete_objs.dir/gf-complete/src/gf_w32.c.o.d -o CMakeFiles/gf-complete_objs.dir/gf-complete/src/gf_w32.c.o -c /build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure/gf-complete/src/gf_w32.c [ 3%] Building C object src/erasure-code/jerasure/CMakeFiles/gf-complete_objs.dir/gf-complete/src/gf_w64.c.o cd /build/ceph/src/ceph-15.2.14/build/src/erasure-code/jerasure && /usr/bin/cc -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure/jerasure/include -isystem /build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure/gf-complete/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -O2 -g -DNDEBUG -fPIC -std=gnu99 -MD -MT src/erasure-code/jerasure/CMakeFiles/gf-complete_objs.dir/gf-complete/src/gf_w64.c.o -MF CMakeFiles/gf-complete_objs.dir/gf-complete/src/gf_w64.c.o.d -o CMakeFiles/gf-complete_objs.dir/gf-complete/src/gf_w64.c.o -c /build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure/gf-complete/src/gf_w64.c In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/msg/msg_types.h:23, from /build/ceph/src/ceph-15.2.14/src/common/ceph_context.h:33, from /build/ceph/src/ceph-15.2.14/src/common/dout.h:29, from /build/ceph/src/ceph-15.2.14/src/common/debug.h:18, from /build/ceph/src/ceph-15.2.14/src/auth/AuthSessionHandler.cc:15: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying [ 3%] Building C object src/erasure-code/jerasure/CMakeFiles/gf-complete_objs.dir/gf-complete/src/gf_w128.c.o cd /build/ceph/src/ceph-15.2.14/build/src/erasure-code/jerasure && /usr/bin/cc -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure/jerasure/include -isystem /build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure/gf-complete/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -O2 -g -DNDEBUG -fPIC -std=gnu99 -MD -MT src/erasure-code/jerasure/CMakeFiles/gf-complete_objs.dir/gf-complete/src/gf_w128.c.o -MF CMakeFiles/gf-complete_objs.dir/gf-complete/src/gf_w128.c.o.d -o CMakeFiles/gf-complete_objs.dir/gf-complete/src/gf_w128.c.o -c /build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure/gf-complete/src/gf_w128.c In file included from /build/ceph/src/ceph-15.2.14/src/common/ceph_time.h:23, from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:31, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/msg/Message.cc:11: /build/ceph/src/ceph-15.2.14/src/include/interval_set.h: In instantiation of ‘void interval_set::erase(iterator&) [with T = long unsigned int; Map = std::map]’: /build/ceph/src/ceph-15.2.14/src/os/ObjectStore.h:526:20: required from here /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:512:23: warning: comparison of unsigned expression in ‘>= 0’ is always true [-Wtype-limits] 512 | ceph_assert(_size >= 0); /build/ceph/src/ceph-15.2.14/src/include/ceph_assert.h:106:6: note: in definition of macro ‘ceph_assert’ 106 | ((expr) \ | ^~~~ [ 3%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/Connection.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/msg && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/msg/CMakeFiles/common-msg-objs.dir/Connection.cc.o -MF CMakeFiles/common-msg-objs.dir/Connection.cc.o.d -o CMakeFiles/common-msg-objs.dir/Connection.cc.o -c /build/ceph/src/ceph-15.2.14/src/msg/Connection.cc [ 3%] Building CXX object src/erasure-code/jerasure/CMakeFiles/jerasure_utils.dir/ErasureCodeJerasure.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/erasure-code/jerasure && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure/jerasure/include -isystem /build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure/gf-complete/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/erasure-code/jerasure/CMakeFiles/jerasure_utils.dir/ErasureCodeJerasure.cc.o -MF CMakeFiles/jerasure_utils.dir/ErasureCodeJerasure.cc.o.d -o CMakeFiles/jerasure_utils.dir/ErasureCodeJerasure.cc.o -c /build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure/ErasureCodeJerasure.cc In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/CompatSet.h:85:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:3809:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&’ {aka ‘const std::pair, std::optional >&’} binds to a temporary constructed from type ‘const std::pair, std::optional >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T’ {aka ‘const std::pair, std::optional >’} to make the copy explicit or ‘const std::pair, std::optional >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/mon_types.h:100:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/mon_types.h:258:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/mon_types.h:259:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&’ {aka ‘const std::pair, long unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, long unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T’ {aka ‘const std::pair, long unsigned int>’} to make the copy explicit or ‘const std::pair, long unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::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]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/messages/MPGStats.h:56:11: required from here /build/ceph/src/ceph-15.2.14/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] /build/ceph/src/ceph-15.2.14/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 /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_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]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/messages/MMonPaxos.h:108:11: required from here /build/ceph/src/ceph-15.2.14/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] /build/ceph/src/ceph-15.2.14/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 /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const 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]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_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]’ /build/ceph/src/ceph-15.2.14/src/messages/MConfig.h:39:11: required from here /build/ceph/src/ceph-15.2.14/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] /build/ceph/src/ceph-15.2.14/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 /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/messages/MMonElection.h:101:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying [ 3%] Building C object src/erasure-code/jerasure/CMakeFiles/gf-complete_objs.dir/gf-complete/src/gf_general.c.o cd /build/ceph/src/ceph-15.2.14/build/src/erasure-code/jerasure && /usr/bin/cc -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure/jerasure/include -isystem /build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure/gf-complete/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -O2 -g -DNDEBUG -fPIC -std=gnu99 -MD -MT src/erasure-code/jerasure/CMakeFiles/gf-complete_objs.dir/gf-complete/src/gf_general.c.o -MF CMakeFiles/gf-complete_objs.dir/gf-complete/src/gf_general.c.o.d -o CMakeFiles/gf-complete_objs.dir/gf-complete/src/gf_general.c.o -c /build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure/gf-complete/src/gf_general.c /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::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]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/messages/MOSDMap.h:143:11: required from here /build/ceph/src/ceph-15.2.14/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] /build/ceph/src/ceph-15.2.14/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 /build/ceph/src/ceph-15.2.14/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]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required 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]’ /build/ceph/src/ceph-15.2.14/src/messages/MMonGetPurgedSnapsReply.h:35:11: required from here /build/ceph/src/ceph-15.2.14/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] /build/ceph/src/ceph-15.2.14/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 /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::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]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/messages/MRemoveSnaps.h:42:11: required from here /build/ceph/src/ceph-15.2.14/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] /build/ceph/src/ceph-15.2.14/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 [ 3%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/msg_types.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/msg && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/msg/CMakeFiles/common-msg-objs.dir/msg_types.cc.o -MF CMakeFiles/common-msg-objs.dir/msg_types.cc.o.d -o CMakeFiles/common-msg-objs.dir/msg_types.cc.o -c /build/ceph/src/ceph-15.2.14/src/msg/msg_types.cc [ 3%] Building C object src/erasure-code/jerasure/CMakeFiles/gf-complete_objs.dir/gf-complete/src/gf_w4.c.o cd /build/ceph/src/ceph-15.2.14/build/src/erasure-code/jerasure && /usr/bin/cc -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure/jerasure/include -isystem /build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure/gf-complete/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -O2 -g -DNDEBUG -fPIC -std=gnu99 -MD -MT src/erasure-code/jerasure/CMakeFiles/gf-complete_objs.dir/gf-complete/src/gf_w4.c.o -MF CMakeFiles/gf-complete_objs.dir/gf-complete/src/gf_w4.c.o.d -o CMakeFiles/gf-complete_objs.dir/gf-complete/src/gf_w4.c.o -c /build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure/gf-complete/src/gf_w4.c [ 3%] Building CXX object src/librados/CMakeFiles/librados_impl.dir/RadosClient.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/librados && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/librados/CMakeFiles/librados_impl.dir/RadosClient.cc.o -MF CMakeFiles/librados_impl.dir/RadosClient.cc.o.d -o CMakeFiles/librados_impl.dir/RadosClient.cc.o -c /build/ceph/src/ceph-15.2.14/src/librados/RadosClient.cc /build/ceph/src/ceph-15.2.14/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 > >]’: /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:517:10: required from ‘void interval_set::erase(T) [with T = inodeno_t; Map = std::map, std::allocator > >]’ /build/ceph/src/ceph-15.2.14/src/mds/SessionMap.h:183:31: required from here /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:525:23: warning: comparison of unsigned expression in ‘>= 0’ is always true [-Wtype-limits] 525 | ceph_assert(_size >= 0); /build/ceph/src/ceph-15.2.14/src/include/ceph_assert.h:106:6: note: in definition of macro ‘ceph_assert’ 106 | ((expr) \ | ^~~~ [ 3%] Building C object src/erasure-code/jerasure/CMakeFiles/gf-complete_objs.dir/gf-complete/src/gf_rand.c.o cd /build/ceph/src/ceph-15.2.14/build/src/erasure-code/jerasure && /usr/bin/cc -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure/jerasure/include -isystem /build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure/gf-complete/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -O2 -g -DNDEBUG -fPIC -std=gnu99 -MD -MT src/erasure-code/jerasure/CMakeFiles/gf-complete_objs.dir/gf-complete/src/gf_rand.c.o -MF CMakeFiles/gf-complete_objs.dir/gf-complete/src/gf_rand.c.o.d -o CMakeFiles/gf-complete_objs.dir/gf-complete/src/gf_rand.c.o -c /build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure/gf-complete/src/gf_rand.c [ 3%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/async/AsyncConnection.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/msg && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/msg/CMakeFiles/common-msg-objs.dir/async/AsyncConnection.cc.o -MF CMakeFiles/common-msg-objs.dir/async/AsyncConnection.cc.o.d -o CMakeFiles/common-msg-objs.dir/async/AsyncConnection.cc.o -c /build/ceph/src/ceph-15.2.14/src/msg/async/AsyncConnection.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_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]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/MgrMap.h:397:11: required from here /build/ceph/src/ceph-15.2.14/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) { | ^ /build/ceph/src/ceph-15.2.14/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 /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _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]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/messages/MMgrReport.h:158:11: required from here /build/ceph/src/ceph-15.2.14/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] /build/ceph/src/ceph-15.2.14/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 /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _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]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/messages/MMgrConfigure.h:61:11: required from here /build/ceph/src/ceph-15.2.14/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] /build/ceph/src/ceph-15.2.14/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 [ 3%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/async/AsyncMessenger.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/msg && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/msg/CMakeFiles/common-msg-objs.dir/async/AsyncMessenger.cc.o -MF CMakeFiles/common-msg-objs.dir/async/AsyncMessenger.cc.o.d -o CMakeFiles/common-msg-objs.dir/async/AsyncMessenger.cc.o -c /build/ceph/src/ceph-15.2.14/src/msg/async/AsyncMessenger.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In 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]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::ptr>; traits = denc_traits, buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/os/Transaction.h:922:11: required from here /build/ceph/src/ceph-15.2.14/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] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::ptr>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::ptr>&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/include/lru.h:24, from /build/ceph/src/ceph-15.2.14/src/osdc/ObjectCacher.h:7, from /build/ceph/src/ceph-15.2.14/src/osdc/ObjectCacher.cc:7: /build/ceph/src/ceph-15.2.14/src/include/xlist.h:162:24: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/bits/stl_algobase.h:65, from /usr/include/c++/12.1.1/bits/stl_tree.h:63, from /usr/include/c++/12.1.1/map:60, from /build/ceph/src/ceph-15.2.14/src/msg/Messenger.h:20, from /build/ceph/src/ceph-15.2.14/src/osdc/ObjectCacher.cc:6: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/xlist.h:186:30: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/CompatSet.h:85:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:3809:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&’ {aka ‘const std::pair, std::optional >&’} binds to a temporary constructed from type ‘const std::pair, std::optional >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T’ {aka ‘const std::pair, std::optional >’} to make the copy explicit or ‘const std::pair, std::optional >&’ to prevent copying [ 3%] Building CXX object src/crush/CMakeFiles/crush_objs.dir/CrushTester.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/crush && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/crush/CMakeFiles/crush_objs.dir/CrushTester.cc.o -MF CMakeFiles/crush_objs.dir/CrushTester.cc.o.d -o CMakeFiles/crush_objs.dir/CrushTester.cc.o -c /build/ceph/src/ceph-15.2.14/src/crush/CrushTester.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/mon_types.h:100:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/mon_types.h:258:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/mon_types.h:259:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&’ {aka ‘const std::pair, long unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, long unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T’ {aka ‘const std::pair, long unsigned int>’} to make the copy explicit or ‘const std::pair, long unsigned int>&’ to prevent copying [ 3%] Building C object src/erasure-code/jerasure/CMakeFiles/gf-complete_objs.dir/gf-complete/src/gf_w8.c.o cd /build/ceph/src/ceph-15.2.14/build/src/erasure-code/jerasure && /usr/bin/cc -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure/jerasure/include -isystem /build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure/gf-complete/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -O2 -g -DNDEBUG -fPIC -std=gnu99 -MD -MT src/erasure-code/jerasure/CMakeFiles/gf-complete_objs.dir/gf-complete/src/gf_w8.c.o -MF CMakeFiles/gf-complete_objs.dir/gf-complete/src/gf_w8.c.o.d -o CMakeFiles/gf-complete_objs.dir/gf-complete/src/gf_w8.c.o -c /build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure/gf-complete/src/gf_w8.c /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_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]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, 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]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/messages/MPGStats.h:56:11: required from here /build/ceph/src/ceph-15.2.14/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] /build/ceph/src/ceph-15.2.14/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 /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(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]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::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]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/messages/MMonPaxos.h:108:11: required from here /build/ceph/src/ceph-15.2.14/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] /build/ceph/src/ceph-15.2.14/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 /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(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]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::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]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_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]’ /build/ceph/src/ceph-15.2.14/src/messages/MConfig.h:39:11: required from here /build/ceph/src/ceph-15.2.14/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] /build/ceph/src/ceph-15.2.14/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 /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/messages/MMonElection.h:101:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_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]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, 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]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/messages/MOSDMap.h:143:11: required from here /build/ceph/src/ceph-15.2.14/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] /build/ceph/src/ceph-15.2.14/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 /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_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]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: 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]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required 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]’ /build/ceph/src/ceph-15.2.14/src/messages/MMonGetPurgedSnapsReply.h:35:11: required from here /build/ceph/src/ceph-15.2.14/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] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > > >, unsigned int, std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >, std::less, std::allocator, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > > > >::T’ {aka ‘const std::pair, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >’} to make the copy explicit or ‘const std::pair, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:41, from /build/ceph/src/ceph-15.2.14/src/messages/MOSDFastDispatchOp.h:8, from /build/ceph/src/ceph-15.2.14/src/messages/MOSDOp.h:21, from /build/ceph/src/ceph-15.2.14/src/osdc/Objecter.h:43, from /build/ceph/src/ceph-15.2.14/src/osdc/ObjectCacher.h:17: /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:45:32: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:109:38: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_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]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, 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]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/messages/MRemoveSnaps.h:42:11: required from here /build/ceph/src/ceph-15.2.14/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] /build/ceph/src/ceph-15.2.14/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 /build/ceph/src/ceph-15.2.14/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]’: /build/ceph/src/ceph-15.2.14/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]’ /build/ceph/src/ceph-15.2.14/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]’ /build/ceph/src/ceph-15.2.14/src/mon/health_check.h:115:3: required from here /build/ceph/src/ceph-15.2.14/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) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T’ {aka ‘const std::pair, health_check_t>’} to make the copy explicit or ‘const std::pair, health_check_t>&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/librados/ListObjectImpl.h:19, from /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:50: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/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]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required 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]’ /build/ceph/src/ceph-15.2.14/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]’ /build/ceph/src/ceph-15.2.14/src/messages/MCacheExpire.h:53:13: required from here /build/ceph/src/ceph-15.2.14/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] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T’ {aka ‘const std::pair, snapid_t>, unsigned int>’} to make the copy explicit or ‘const std::pair, snapid_t>, unsigned int>&’ to prevent copying In function ‘gf_w8_table_init’, inlined from ‘gf_w8_init’ at /build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure/gf-complete/src/gf_w8.c:2321:36: /build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure/gf-complete/src/gf_w8.c:1203:3: warning: ‘scase’ may be used uninitialized [-Wmaybe-uninitialized] 1203 | switch (scase) { | ^~~~~~ /build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure/gf-complete/src/gf_w8.c: In function ‘gf_w8_init’: /build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure/gf-complete/src/gf_w8.c:1140:22: note: ‘scase’ was declared here 1140 | int a, b, c, prod, scase; | ^~~~~ /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(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]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::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]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/MgrMap.h:397:11: required from here /build/ceph/src/ceph-15.2.14/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) { | ^ /build/ceph/src/ceph-15.2.14/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 /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::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]’: /build/ceph/src/ceph-15.2.14/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]’ /build/ceph/src/ceph-15.2.14/src/mgr/OSDPerfMetricTypes.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]’ /build/ceph/src/ceph-15.2.14/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /build/ceph/src/ceph-15.2.14/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) { | ^ /build/ceph/src/ceph-15.2.14/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 /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::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]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const 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]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/messages/MMgrReport.h:158:11: required from here /build/ceph/src/ceph-15.2.14/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) { | ^ /build/ceph/src/ceph-15.2.14/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 /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::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]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const 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]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/messages/MMgrConfigure.h:61:11: required from here /build/ceph/src/ceph-15.2.14/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] /build/ceph/src/ceph-15.2.14/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 make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' [ 3%] Built target gf-complete_objs [ 3%] Building CXX object src/crush/CMakeFiles/crush_objs.dir/CrushLocation.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/crush && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/crush/CMakeFiles/crush_objs.dir/CrushLocation.cc.o -MF CMakeFiles/crush_objs.dir/CrushLocation.cc.o.d -o CMakeFiles/crush_objs.dir/CrushLocation.cc.o -c /build/ceph/src/ceph-15.2.14/src/crush/CrushLocation.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const 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]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::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]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::ptr>; traits = denc_traits, buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/os/Transaction.h:922:11: required from here /build/ceph/src/ceph-15.2.14/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] /build/ceph/src/ceph-15.2.14/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 /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::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]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: 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]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h: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]’ /build/ceph/src/ceph-15.2.14/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]’ /build/ceph/src/ceph-15.2.14/src/mon/health_check.h:115:3: required from here /build/ceph/src/ceph-15.2.14/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] /build/ceph/src/ceph-15.2.14/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 make -f src/erasure-code/shec/CMakeFiles/shec_utils.dir/build.make src/erasure-code/shec/CMakeFiles/shec_utils.dir/depend make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' cd /build/ceph/src/ceph-15.2.14/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/ceph/src/ceph-15.2.14 /build/ceph/src/ceph-15.2.14/src/erasure-code/shec /build/ceph/src/ceph-15.2.14/build /build/ceph/src/ceph-15.2.14/build/src/erasure-code/shec /build/ceph/src/ceph-15.2.14/build/src/erasure-code/shec/CMakeFiles/shec_utils.dir/DependInfo.cmake --color= make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' make -f src/erasure-code/shec/CMakeFiles/shec_utils.dir/build.make src/erasure-code/shec/CMakeFiles/shec_utils.dir/build make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' [ 3%] Building CXX object src/erasure-code/shec/CMakeFiles/shec_utils.dir/__/ErasureCode.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/erasure-code/shec && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure -I/build/ceph/src/ceph-15.2.14/src/erasure-code/shec/. -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure/jerasure/include -isystem /build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure/gf-complete/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/erasure-code/shec/CMakeFiles/shec_utils.dir/__/ErasureCode.cc.o -MF CMakeFiles/shec_utils.dir/__/ErasureCode.cc.o.d -o CMakeFiles/shec_utils.dir/__/ErasureCode.cc.o -c /build/ceph/src/ceph-15.2.14/src/erasure-code/ErasureCode.cc [ 3%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/Graylog.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DCEPH_DATADIR=\"/usr/share/ceph\" -DCEPH_LIBDIR=\"/usr/lib\" -DCEPH_PKGLIBDIR=\"/usr/lib/ceph\" -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/common/CMakeFiles/common-common-objs.dir/Graylog.cc.o -MF CMakeFiles/common-common-objs.dir/Graylog.cc.o.d -o CMakeFiles/common-common-objs.dir/Graylog.cc.o -c /build/ceph/src/ceph-15.2.14/src/common/Graylog.cc In file included from /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:41, from /build/ceph/src/ceph-15.2.14/src/messages/MOSDFastDispatchOp.h:8, from /build/ceph/src/ceph-15.2.14/src/messages/MOSDOp.h:21, from /build/ceph/src/ceph-15.2.14/src/osdc/Objecter.h:43, from /build/ceph/src/ceph-15.2.14/src/osdc/Objecter.cc:17: /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:45:32: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/string:45, from /usr/include/c++/12.1.1/stdexcept:39, from /usr/include/c++/12.1.1/system_error:41, from /usr/include/c++/12.1.1/bits/std_mutex.h:39, from /usr/include/c++/12.1.1/condition_variable:39, from /build/ceph/src/ceph-15.2.14/src/osdc/Objecter.h:18: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:109:38: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::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]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: 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]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required 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]’ /build/ceph/src/ceph-15.2.14/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]’ /build/ceph/src/ceph-15.2.14/src/messages/MCacheExpire.h:53:13: required from here /build/ceph/src/ceph-15.2.14/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] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T’ {aka ‘const std::pair, snapid_t>, unsigned int>’} to make the copy explicit or ‘const std::pair, snapid_t>, unsigned int>&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/librados/ListObjectImpl.h:19, from /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:50: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::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]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h: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]’ /build/ceph/src/ceph-15.2.14/src/mgr/OSDPerfMetricTypes.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]’ /build/ceph/src/ceph-15.2.14/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /build/ceph/src/ceph-15.2.14/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] /build/ceph/src/ceph-15.2.14/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 [ 3%] Building CXX object src/auth/CMakeFiles/common-auth-objs.dir/KeyRing.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/auth && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/auth/CMakeFiles/common-auth-objs.dir/KeyRing.cc.o -MF CMakeFiles/common-auth-objs.dir/KeyRing.cc.o.d -o CMakeFiles/common-auth-objs.dir/KeyRing.cc.o -c /build/ceph/src/ceph-15.2.14/src/auth/KeyRing.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_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]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::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]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required 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]’ /build/ceph/src/ceph-15.2.14/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 > >]’ /build/ceph/src/ceph-15.2.14/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 > >]’ /build/ceph/src/ceph-15.2.14/src/mds/CDentry.h:259:11: required from here /build/ceph/src/ceph-15.2.14/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] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, mempool::pool_allocator > > >, int, unsigned int, std::less, mempool::pool_allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/msg/async/AsyncMessenger.h:23, from /build/ceph/src/ceph-15.2.14/src/msg/async/AsyncMessenger.cc:22: /build/ceph/src/ceph-15.2.14/src/include/xlist.h:162:24: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/string:45, from /usr/include/c++/12.1.1/bits/locale_classes.h:40, from /usr/include/c++/12.1.1/bits/ios_base.h:41, from /usr/include/c++/12.1.1/ios:42, from /usr/include/c++/12.1.1/ostream:38, from /usr/include/c++/12.1.1/iostream:39, from /build/ceph/src/ceph-15.2.14/src/msg/async/AsyncMessenger.cc:19: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/xlist.h:186:30: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/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]’: /build/ceph/src/ceph-15.2.14/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]’ /build/ceph/src/ceph-15.2.14/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]’ /build/ceph/src/ceph-15.2.14/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]’ /build/ceph/src/ceph-15.2.14/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]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required 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]’ /build/ceph/src/ceph-15.2.14/src/messages/MMonGetPurgedSnapsReply.h:35:11: required from here /build/ceph/src/ceph-15.2.14/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) { | ^ /build/ceph/src/ceph-15.2.14/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 /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_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]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::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]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h: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]’ /build/ceph/src/ceph-15.2.14/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 > >]’ /build/ceph/src/ceph-15.2.14/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 > >]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556: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]’ /build/ceph/src/ceph-15.2.14/src/messages/MClientReply.h:274:11: required from here /build/ceph/src/ceph-15.2.14/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) { | ^ /build/ceph/src/ceph-15.2.14/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 [ 3%] Building CXX object src/auth/CMakeFiles/common-auth-objs.dir/RotatingKeyRing.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/auth && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/auth/CMakeFiles/common-auth-objs.dir/RotatingKeyRing.cc.o -MF CMakeFiles/common-auth-objs.dir/RotatingKeyRing.cc.o.d -o CMakeFiles/common-auth-objs.dir/RotatingKeyRing.cc.o -c /build/ceph/src/ceph-15.2.14/src/auth/RotatingKeyRing.cc In file included from /build/ceph/src/ceph-15.2.14/src/msg/async/AsyncMessenger.h:23, from /build/ceph/src/ceph-15.2.14/src/msg/async/AsyncConnection.cc:22: /build/ceph/src/ceph-15.2.14/src/include/xlist.h:162:24: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/string:45, from /build/ceph/src/ceph-15.2.14/src/include/ceph_assert.h:5, from /build/ceph/src/ceph-15.2.14/src/common/dout.h:21, from /build/ceph/src/ceph-15.2.14/src/include/Context.h:19, from /build/ceph/src/ceph-15.2.14/src/msg/async/AsyncConnection.cc:19: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/xlist.h:186:30: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/auth/Crypto.h:19, from /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:18, from /build/ceph/src/ceph-15.2.14/src/msg/Connection.h:21, from /build/ceph/src/ceph-15.2.14/src/msg/Connection.cc:4: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:906:11: required from ‘static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1005:15: required from ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:906:11: required from ‘static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1005:15: required from ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/mon_types.h:100:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_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]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: 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]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h: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]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:906:11: required from ‘static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::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]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h: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]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1005:15: required from ‘static void _denc::container_base::encode_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]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: 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]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required 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]’ /build/ceph/src/ceph-15.2.14/src/messages/MMonGetPurgedSnapsReply.h:35:11: required from here /build/ceph/src/ceph-15.2.14/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] /build/ceph/src/ceph-15.2.14/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 [ 4%] Building CXX object src/auth/CMakeFiles/common-auth-objs.dir/cephx/CephxAuthorizeHandler.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/auth && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/auth/CMakeFiles/common-auth-objs.dir/cephx/CephxAuthorizeHandler.cc.o -MF CMakeFiles/common-auth-objs.dir/cephx/CephxAuthorizeHandler.cc.o.d -o CMakeFiles/common-auth-objs.dir/cephx/CephxAuthorizeHandler.cc.o -c /build/ceph/src/ceph-15.2.14/src/auth/cephx/CephxAuthorizeHandler.cc In file included from /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:41, from /build/ceph/src/ceph-15.2.14/src/messages/MOSDFastDispatchOp.h:8, from /build/ceph/src/ceph-15.2.14/src/messages/MOSDOp.h:21, from /build/ceph/src/ceph-15.2.14/src/msg/async/AsyncConnection.cc:28: /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:45:32: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:109:38: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /build/ceph/src/ceph-15.2.14/src/mon/Session.h:22, from /build/ceph/src/ceph-15.2.14/src/messages/PaxosServiceMessage.h:7, from /build/ceph/src/ceph-15.2.14/src/messages/MLog.h:19, from /build/ceph/src/ceph-15.2.14/src/librados/RadosClient.cc:35: /build/ceph/src/ceph-15.2.14/src/include/xlist.h:162:24: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/string:45, from /usr/include/c++/12.1.1/bits/locale_classes.h:40, from /usr/include/c++/12.1.1/bits/ios_base.h:41, from /usr/include/c++/12.1.1/ios:42, from /usr/include/c++/12.1.1/ostream:38, from /usr/include/c++/12.1.1/iostream:39, from /build/ceph/src/ceph-15.2.14/src/librados/RadosClient.cc:19: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/xlist.h:186:30: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/msg/msg_types.h:23, from /build/ceph/src/ceph-15.2.14/src/common/ceph_context.h:33, from /build/ceph/src/ceph-15.2.14/src/common/dout.h:29, from /build/ceph/src/ceph-15.2.14/src/include/Context.h:19, from /build/ceph/src/ceph-15.2.14/src/msg/Message.h:24, from /build/ceph/src/ceph-15.2.14/src/msg/Messenger.h:27: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/CompatSet.h:85:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:3809:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&’ {aka ‘const std::pair, std::optional >&’} binds to a temporary constructed from type ‘const std::pair, std::optional >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T’ {aka ‘const std::pair, std::optional >’} to make the copy explicit or ‘const std::pair, std::optional >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/librados/ListObjectImpl.h:19, from /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:50: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/mon/Session.h:22, from /build/ceph/src/ceph-15.2.14/src/messages/PaxosServiceMessage.h:7, from /build/ceph/src/ceph-15.2.14/src/messages/MPoolOp.h:18, from /build/ceph/src/ceph-15.2.14/src/osdc/Objecter.cc:32: /build/ceph/src/ceph-15.2.14/src/include/xlist.h:162:24: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/xlist.h:186:30: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:41, from /build/ceph/src/ceph-15.2.14/src/osd/OSDMap.h:38, from /build/ceph/src/ceph-15.2.14/src/mon/Session.h:29: /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:45:32: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:109:38: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osdc/Objecter.h:710:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&’ {aka ‘const std::pair, std::pair >&’} binds to a temporary constructed from type ‘const std::pair, std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::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 /build/ceph/src/ceph-15.2.14/src/librados/ListObjectImpl.h:19, from /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:50: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/CompatSet.h:85:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying [ 4%] Building CXX object src/osdc/CMakeFiles/osdc.dir/Striper.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/osdc && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/osdc/CMakeFiles/osdc.dir/Striper.cc.o -MF CMakeFiles/osdc.dir/Striper.cc.o.d -o CMakeFiles/osdc.dir/Striper.cc.o -c /build/ceph/src/ceph-15.2.14/src/osdc/Striper.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:3809:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&’ {aka ‘const std::pair, std::optional >&’} binds to a temporary constructed from type ‘const std::pair, std::optional >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T’ {aka ‘const std::pair, std::optional >’} to make the copy explicit or ‘const std::pair, std::optional >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:41, from /build/ceph/src/ceph-15.2.14/src/messages/MOSDFastDispatchOp.h:8, from /build/ceph/src/ceph-15.2.14/src/messages/MOSDOp.h:21, from /build/ceph/src/ceph-15.2.14/src/msg/async/AsyncMessenger.cc:28: /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:45:32: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:109:38: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osdc/Objecter.h:710:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&’ {aka ‘const std::pair, std::pair >&’} binds to a temporary constructed from type ‘const std::pair, std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::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 /build/ceph/src/ceph-15.2.14/src/librados/ListObjectImpl.h:19, from /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:50: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' [ 4%] Built target jerasure_utils [ 5%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/async/Protocol.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/msg && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/msg/CMakeFiles/common-msg-objs.dir/async/Protocol.cc.o -MF CMakeFiles/common-msg-objs.dir/async/Protocol.cc.o.d -o CMakeFiles/common-msg-objs.dir/async/Protocol.cc.o -c /build/ceph/src/ceph-15.2.14/src/msg/async/Protocol.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:906:11: required from ‘static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1005:15: required from ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned 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 /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/msg/msg_types.h:23, from /build/ceph/src/ceph-15.2.14/src/common/ceph_context.h:33, from /build/ceph/src/ceph-15.2.14/src/common/dout.h:29: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/CompatSet.h:85:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:41, from /build/ceph/src/ceph-15.2.14/src/erasure-code/ErasureCode.cc:26: /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:45:32: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/bits/stl_algobase.h:65, from /usr/include/c++/12.1.1/algorithm:60, from /build/ceph/src/ceph-15.2.14/src/erasure-code/ErasureCode.cc:18: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:109:38: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:3809:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&’ {aka ‘const std::pair, std::optional >&’} binds to a temporary constructed from type ‘const std::pair, std::optional >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T’ {aka ‘const std::pair, std::optional >’} to make the copy explicit or ‘const std::pair, std::optional >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/CompatSet.h:85:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:3809:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&’ {aka ‘const std::pair, std::optional >&’} binds to a temporary constructed from type ‘const std::pair, std::optional >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T’ {aka ‘const std::pair, std::optional >’} to make the copy explicit or ‘const std::pair, std::optional >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/librados/ListObjectImpl.h:19, from /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:50: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/osdc/Objecter.h:31: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/CompatSet.h:85:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/msg/async/AsyncMessenger.h:22: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/CompatSet.h:85:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:3809:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&’ {aka ‘const std::pair, std::optional >&’} binds to a temporary constructed from type ‘const std::pair, std::optional >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T’ {aka ‘const std::pair, std::optional >’} to make the copy explicit or ‘const std::pair, std::optional >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:3809:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&’ {aka ‘const std::pair, std::optional >&’} binds to a temporary constructed from type ‘const std::pair, std::optional >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T’ {aka ‘const std::pair, std::optional >’} to make the copy explicit or ‘const std::pair, std::optional >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/auth/Crypto.h:19, from /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:18, from /build/ceph/src/ceph-15.2.14/src/auth/KeyRing.h:18, from /build/ceph/src/ceph-15.2.14/src/auth/KeyRing.cc:21: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osdc/Objecter.h:710:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&’ {aka ‘const std::pair, std::pair >&’} binds to a temporary constructed from type ‘const std::pair, std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T’ {aka ‘const std::pair, std::pair >’} to make the copy explicit or ‘const std::pair, std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:906:11: required from ‘static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1005:15: required from ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/mon_types.h:100:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/mon_types.h:258:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/mon_types.h:259:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&’ {aka ‘const std::pair, long unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, long unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T’ {aka ‘const std::pair, long unsigned int>’} to make the copy explicit or ‘const std::pair, long unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::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]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/messages/MOSDMap.h:143:11: required from here /build/ceph/src/ceph-15.2.14/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] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base >, unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/msg/msg_types.h:23, from /build/ceph/src/ceph-15.2.14/src/common/ceph_context.h:33, from /build/ceph/src/ceph-15.2.14/src/common/dout.h:29, from /build/ceph/src/ceph-15.2.14/src/common/debug.h:18, from /build/ceph/src/ceph-15.2.14/src/auth/RotatingKeyRing.cc:3: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/CompatSet.h:85:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:3809:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&’ {aka ‘const std::pair, std::optional >&’} binds to a temporary constructed from type ‘const std::pair, std::optional >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T’ {aka ‘const std::pair, std::optional >’} to make the copy explicit or ‘const std::pair, std::optional >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/CompatSet.h:85:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:3809:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&’ {aka ‘const std::pair, std::optional >&’} binds to a temporary constructed from type ‘const std::pair, std::optional >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T’ {aka ‘const std::pair, std::optional >’} to make the copy explicit or ‘const std::pair, std::optional >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying [ 5%] Building CXX object src/CMakeFiles/common-objs.dir/mgr/MgrClient.cc.o cd /build/ceph/src/ceph-15.2.14/build/src && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/CMakeFiles/common-objs.dir/mgr/MgrClient.cc.o -MF CMakeFiles/common-objs.dir/mgr/MgrClient.cc.o.d -o CMakeFiles/common-objs.dir/mgr/MgrClient.cc.o -c /build/ceph/src/ceph-15.2.14/src/mgr/MgrClient.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osdc/Objecter.h:710:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&’ {aka ‘const std::pair, std::pair >&’} binds to a temporary constructed from type ‘const std::pair, std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T’ {aka ‘const std::pair, std::pair >’} to make the copy explicit or ‘const std::pair, std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/mon_types.h:100:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/mon_types.h:258:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/mon_types.h:259:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&’ {aka ‘const std::pair, long unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, long unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T’ {aka ‘const std::pair, long unsigned int>’} to make the copy explicit or ‘const std::pair, long unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_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]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, 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]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/messages/MOSDMap.h:143:11: required from here /build/ceph/src/ceph-15.2.14/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] /build/ceph/src/ceph-15.2.14/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 /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/crush/CrushWrapper.h:14, from /build/ceph/src/ceph-15.2.14/src/erasure-code/ErasureCode.cc:25: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/CompatSet.h:85:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:3809:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&’ {aka ‘const std::pair, std::optional >&’} binds to a temporary constructed from type ‘const std::pair, std::optional >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T’ {aka ‘const std::pair, std::optional >’} to make the copy explicit or ‘const std::pair, std::optional >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:906:11: required from ‘static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1005:15: required from ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/CompatSet.h:85:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, 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]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' [ 5%] Built target crush_objs /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:3809:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&’ {aka ‘const std::pair, std::optional >&’} binds to a temporary constructed from type ‘const std::pair, std::optional >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T’ {aka ‘const std::pair, std::optional >’} to make the copy explicit or ‘const std::pair, std::optional >&’ to prevent copying [ 5%] Building CXX object src/CMakeFiles/common-objs.dir/mon/PGMap.cc.o cd /build/ceph/src/ceph-15.2.14/build/src && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/CMakeFiles/common-objs.dir/mon/PGMap.cc.o -MF CMakeFiles/common-objs.dir/mon/PGMap.cc.o.d -o CMakeFiles/common-objs.dir/mon/PGMap.cc.o -c /build/ceph/src/ceph-15.2.14/src/mon/PGMap.cc In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/auth/Crypto.h:19, from /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:18, from /build/ceph/src/ceph-15.2.14/src/auth/cephx/CephxProtocol.h:33, from /build/ceph/src/ceph-15.2.14/src/auth/cephx/CephxAuthorizeHandler.cc:1: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/msg/msg_types.h:23, from /build/ceph/src/ceph-15.2.14/src/common/ceph_context.h:33, from /build/ceph/src/ceph-15.2.14/src/librados/RadosClient.cc:25: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/mon_types.h:100:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/mon_types.h:258:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/mon_types.h:259:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&’ {aka ‘const std::pair, long unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, long unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T’ {aka ‘const std::pair, long unsigned int>’} to make the copy explicit or ‘const std::pair, long unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/CompatSet.h:85:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:3809:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&’ {aka ‘const std::pair, std::optional >&’} binds to a temporary constructed from type ‘const std::pair, std::optional >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T’ {aka ‘const std::pair, std::optional >’} to make the copy explicit or ‘const std::pair, std::optional >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:41, from /build/ceph/src/ceph-15.2.14/src/osdc/Striper.h:20, from /build/ceph/src/ceph-15.2.14/src/osdc/Striper.cc:15: /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:45:32: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/bits/stl_algobase.h:65, from /usr/include/c++/12.1.1/bits/stl_tree.h:63, from /usr/include/c++/12.1.1/set:60, from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:17, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/osdc/Striper.h:19: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:109:38: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 5%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/HTMLFormatter.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DCEPH_DATADIR=\"/usr/share/ceph\" -DCEPH_LIBDIR=\"/usr/lib\" -DCEPH_PKGLIBDIR=\"/usr/lib/ceph\" -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/common/CMakeFiles/common-common-objs.dir/HTMLFormatter.cc.o -MF CMakeFiles/common-common-objs.dir/HTMLFormatter.cc.o.d -o CMakeFiles/common-common-objs.dir/HTMLFormatter.cc.o -c /build/ceph/src/ceph-15.2.14/src/common/HTMLFormatter.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::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]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/messages/MOSDMap.h:143:11: required from here /build/ceph/src/ceph-15.2.14/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] /build/ceph/src/ceph-15.2.14/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 /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osdc/Objecter.h:710:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&’ {aka ‘const std::pair, std::pair >&’} binds to a temporary constructed from type ‘const std::pair, std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T’ {aka ‘const std::pair, std::pair >’} to make the copy explicit or ‘const std::pair, std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:906:11: required from ‘static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1005:15: required from ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/MgrMap.h:381:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_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]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/MgrMap.h:397:11: required from here /build/ceph/src/ceph-15.2.14/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] /build/ceph/src/ceph-15.2.14/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 /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _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]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/messages/MMgrReport.h:158:11: required from here /build/ceph/src/ceph-15.2.14/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] /build/ceph/src/ceph-15.2.14/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 /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:906:11: required from ‘static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1005:15: required from ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:906:11: required from ‘static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1005:15: required from ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/mon_types.h:100:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, long unsigned int, 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 /build/ceph/src/ceph-15.2.14/src/librados/ListObjectImpl.h:19, from /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:50: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/mon_types.h:100:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/mon_types.h:258:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/mon_types.h:259:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&’ {aka ‘const std::pair, long unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, long unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T’ {aka ‘const std::pair, long unsigned int>’} to make the copy explicit or ‘const std::pair, long unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/CompatSet.h:85:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:3809:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&’ {aka ‘const std::pair, std::optional >&’} binds to a temporary constructed from type ‘const std::pair, std::optional >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T’ {aka ‘const std::pair, std::optional >’} to make the copy explicit or ‘const std::pair, std::optional >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_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]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, 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]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/messages/MOSDMap.h:143:11: required from here /build/ceph/src/ceph-15.2.14/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] /build/ceph/src/ceph-15.2.14/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 /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osdc/Objecter.h:710:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&’ {aka ‘const std::pair, std::pair >&’} binds to a temporary constructed from type ‘const std::pair, std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T’ {aka ‘const std::pair, std::pair >’} to make the copy explicit or ‘const std::pair, std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/MgrMap.h:381:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(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]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::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]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/MgrMap.h:397:11: required from here /build/ceph/src/ceph-15.2.14/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] /build/ceph/src/ceph-15.2.14/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 /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::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]’: /build/ceph/src/ceph-15.2.14/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]’ /build/ceph/src/ceph-15.2.14/src/mgr/OSDPerfMetricTypes.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]’ /build/ceph/src/ceph-15.2.14/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /build/ceph/src/ceph-15.2.14/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) { | ^ /build/ceph/src/ceph-15.2.14/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 /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _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]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:654:25: required from ‘std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mgr/MetricTypes.h:129:9: required from ‘std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]’ /build/ceph/src/ceph-15.2.14/src/mgr/MetricTypes.h:127:3: required from here /build/ceph/src/ceph-15.2.14/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] /build/ceph/src/ceph-15.2.14/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 /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::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]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const 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]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/messages/MMgrReport.h:158:11: required from here /build/ceph/src/ceph-15.2.14/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) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/msg/async/AsyncMessenger.h:23, from /build/ceph/src/ceph-15.2.14/src/msg/async/Protocol.cc:4: /build/ceph/src/ceph-15.2.14/src/include/xlist.h:162:24: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/bits/stl_algobase.h:65, from /usr/include/c++/12.1.1/list:60, from /build/ceph/src/ceph-15.2.14/src/msg/async/Protocol.h:7, from /build/ceph/src/ceph-15.2.14/src/msg/async/Protocol.cc:1: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/xlist.h:186:30: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 5%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/async/ProtocolV1.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/msg && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/msg/CMakeFiles/common-msg-objs.dir/async/ProtocolV1.cc.o -MF CMakeFiles/common-msg-objs.dir/async/ProtocolV1.cc.o.d -o CMakeFiles/common-msg-objs.dir/async/ProtocolV1.cc.o -c /build/ceph/src/ceph-15.2.14/src/msg/async/ProtocolV1.cc make -f src/CMakeFiles/rocksdb_ext.dir/build.make src/CMakeFiles/rocksdb_ext.dir/depend make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' cd /build/ceph/src/ceph-15.2.14/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/ceph/src/ceph-15.2.14 /build/ceph/src/ceph-15.2.14/src /build/ceph/src/ceph-15.2.14/build /build/ceph/src/ceph-15.2.14/build/src /build/ceph/src/ceph-15.2.14/build/src/CMakeFiles/rocksdb_ext.dir/DependInfo.cmake --color= make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' make -f src/CMakeFiles/rocksdb_ext.dir/build.make src/CMakeFiles/rocksdb_ext.dir/build make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' [ 5%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/async/ProtocolV2.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/msg && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/msg/CMakeFiles/common-msg-objs.dir/async/ProtocolV2.cc.o -MF CMakeFiles/common-msg-objs.dir/async/ProtocolV2.cc.o.d -o CMakeFiles/common-msg-objs.dir/async/ProtocolV2.cc.o -c /build/ceph/src/ceph-15.2.14/src/msg/async/ProtocolV2.cc [ 6%] Creating directories for 'rocksdb_ext' cd /build/ceph/src/ceph-15.2.14/build/src && /usr/bin/cmake -Dcfgdir= -P /build/ceph/src/ceph-15.2.14/build/src/rocksdb_ext-prefix/tmp/rocksdb_ext-mkdirs.cmake cd /build/ceph/src/ceph-15.2.14/build/src && /usr/bin/cmake -E touch /build/ceph/src/ceph-15.2.14/build/src/rocksdb_ext-prefix/src/rocksdb_ext-stamp/rocksdb_ext-mkdir /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::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]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h: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]’ /build/ceph/src/ceph-15.2.14/src/mgr/OSDPerfMetricTypes.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]’ /build/ceph/src/ceph-15.2.14/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /build/ceph/src/ceph-15.2.14/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] /build/ceph/src/ceph-15.2.14/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 [ 6%] No download step for 'rocksdb_ext' cd /build/ceph/src/ceph-15.2.14/build/src && /usr/bin/cmake -E echo_append /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::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]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const 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]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mgr/MetricTypes.h:129:9: required from ‘std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]’ /build/ceph/src/ceph-15.2.14/src/mgr/MetricTypes.h:127:3: required from here /build/ceph/src/ceph-15.2.14/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] /build/ceph/src/ceph-15.2.14/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 cd /build/ceph/src/ceph-15.2.14/build/src && /usr/bin/cmake -E touch /build/ceph/src/ceph-15.2.14/build/src/rocksdb_ext-prefix/src/rocksdb_ext-stamp/rocksdb_ext-download [ 6%] No update step for 'rocksdb_ext' cd /build/ceph/src/ceph-15.2.14/build/src && /usr/bin/cmake -E echo_append [ 6%] Building CXX object src/auth/CMakeFiles/common-auth-objs.dir/cephx/CephxClientHandler.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/auth && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/auth/CMakeFiles/common-auth-objs.dir/cephx/CephxClientHandler.cc.o -MF CMakeFiles/common-auth-objs.dir/cephx/CephxClientHandler.cc.o.d -o CMakeFiles/common-auth-objs.dir/cephx/CephxClientHandler.cc.o -c /build/ceph/src/ceph-15.2.14/src/auth/cephx/CephxClientHandler.cc cd /build/ceph/src/ceph-15.2.14/build/src && /usr/bin/cmake -E touch /build/ceph/src/ceph-15.2.14/build/src/rocksdb_ext-prefix/src/rocksdb_ext-stamp/rocksdb_ext-update In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/auth/AuthSessionHandler.h:20, from /build/ceph/src/ceph-15.2.14/src/msg/async/AsyncConnection.h:29, from /build/ceph/src/ceph-15.2.14/src/msg/async/Protocol.h:10: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying [ 6%] No patch step for 'rocksdb_ext' cd /build/ceph/src/ceph-15.2.14/build/src && /usr/bin/cmake -E echo_append cd /build/ceph/src/ceph-15.2.14/build/src && /usr/bin/cmake -E touch /build/ceph/src/ceph-15.2.14/build/src/rocksdb_ext-prefix/src/rocksdb_ext-stamp/rocksdb_ext-patch [ 6%] Performing configure step for 'rocksdb_ext' cd /build/ceph/src/ceph-15.2.14/build/src/rocksdb && /usr/bin/cmake -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DWITH_GFLAGS=OFF -DCMAKE_PREFIX_PATH= -DCMAKE_CXX_COMPILER=/usr/bin/c++ -DWITH_SNAPPY=TRUE -DWITH_LZ4=TRUE -DLZ4_INCLUDE_DIR=/usr/include -DLZ4_LIBRARIES=/usr/lib/liblz4.so -DWITH_ZLIB=TRUE -DPORTABLE=ON -DCMAKE_AR=/usr/bin/ar -DCMAKE_BUILD_TYPE=RelWithDebInfo -DFAIL_ON_WARNINGS=OFF -DUSE_RTTI=1 "-GUnix Makefiles" -DCMAKE_C_FLAGS=-Wno-stringop-truncation "-DCMAKE_CXX_FLAGS='-Wno-deprecated-copy -Wno-pessimizing-move'" "-GUnix Makefiles" /build/ceph/src/ceph-15.2.14/src/rocksdb Re-run cmake no build system arguments /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying -- The C compiler identification is GNU 12.1.1 -- The CXX compiler identification is GNU 12.1.1 [ 7%] Building CXX object src/CMakeFiles/common-objs.dir/mgr/ServiceMap.cc.o cd /build/ceph/src/ceph-15.2.14/build/src && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/CMakeFiles/common-objs.dir/mgr/ServiceMap.cc.o -MF CMakeFiles/common-objs.dir/mgr/ServiceMap.cc.o.d -o CMakeFiles/common-objs.dir/mgr/ServiceMap.cc.o -c /build/ceph/src/ceph-15.2.14/src/mgr/ServiceMap.cc -- Detecting C compiler ABI info /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:906:11: required from ‘static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1005:15: required from ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/mon_types.h:100:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:906:11: required from ‘static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1005:15: required from ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/CompatSet.h:85:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying [ 7%] Building CXX object src/erasure-code/shec/CMakeFiles/shec_utils.dir/ErasureCodePluginShec.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/erasure-code/shec && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure -I/build/ceph/src/ceph-15.2.14/src/erasure-code/shec/. -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure/jerasure/include -isystem /build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure/gf-complete/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/erasure-code/shec/CMakeFiles/shec_utils.dir/ErasureCodePluginShec.cc.o -MF CMakeFiles/shec_utils.dir/ErasureCodePluginShec.cc.o.d -o CMakeFiles/shec_utils.dir/ErasureCodePluginShec.cc.o -c /build/ceph/src/ceph-15.2.14/src/erasure-code/shec/ErasureCodePluginShec.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped [ 7%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/HeartbeatMap.cc.o -- Detecting CXX compile features cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DCEPH_DATADIR=\"/usr/share/ceph\" -DCEPH_LIBDIR=\"/usr/lib\" -DCEPH_PKGLIBDIR=\"/usr/lib/ceph\" -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/common/CMakeFiles/common-common-objs.dir/HeartbeatMap.cc.o -MF CMakeFiles/common-common-objs.dir/HeartbeatMap.cc.o.d -o CMakeFiles/common-common-objs.dir/HeartbeatMap.cc.o -c /build/ceph/src/ceph-15.2.14/src/common/HeartbeatMap.cc -- Detecting CXX compile features - done -- The ASM compiler identification is GNU -- Found assembler: /usr/bin/cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:3809:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&’ {aka ‘const std::pair, std::optional >&’} binds to a temporary constructed from type ‘const std::pair, std::optional >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T’ {aka ‘const std::pair, std::optional >’} to make the copy explicit or ‘const std::pair, std::optional >&’ to prevent copying -- Found snappy: /lib/libsnappy.so -- Found ZLIB: /usr/lib/libz.so (found version "1.2.12") -- Found lz4: /usr/lib/liblz4.so -- Found Git: /usr/bin/git (found version "2.37.2") -- Performing Test HAVE_OMIT_LEAF_FRAME_POINTER /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying -- Performing Test HAVE_OMIT_LEAF_FRAME_POINTER - Failed -- Performing Test HAVE_SSE42 -- Performing Test HAVE_SSE42 - Failed -- Performing Test HAVE_THREAD_LOCAL /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/CompatSet.h:85:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:3809:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&’ {aka ‘const std::pair, std::optional >&’} binds to a temporary constructed from type ‘const std::pair, std::optional >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T’ {aka ‘const std::pair, std::optional >’} to make the copy explicit or ‘const std::pair, std::optional >&’ to prevent copying -- Performing Test HAVE_THREAD_LOCAL - Success -- Enabling RTTI -- Performing Test HAVE_FALLOCATE /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, long int, std::map, std::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 -f src/global/CMakeFiles/libglobal_objs.dir/build.make src/global/CMakeFiles/libglobal_objs.dir/depend make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' cd /build/ceph/src/ceph-15.2.14/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/ceph/src/ceph-15.2.14 /build/ceph/src/ceph-15.2.14/src/global /build/ceph/src/ceph-15.2.14/build /build/ceph/src/ceph-15.2.14/build/src/global /build/ceph/src/ceph-15.2.14/build/src/global/CMakeFiles/libglobal_objs.dir/DependInfo.cmake --color= make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' make -f src/global/CMakeFiles/libglobal_objs.dir/build.make src/global/CMakeFiles/libglobal_objs.dir/build make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' [ 7%] Building CXX object src/global/CMakeFiles/libglobal_objs.dir/global_init.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/global && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/global/CMakeFiles/libglobal_objs.dir/global_init.cc.o -MF CMakeFiles/libglobal_objs.dir/global_init.cc.o.d -o CMakeFiles/libglobal_objs.dir/global_init.cc.o -c /build/ceph/src/ceph-15.2.14/src/global/global_init.cc -- Performing Test HAVE_FALLOCATE - Success -- Performing Test HAVE_SYNC_FILE_RANGE_WRITE -- Performing Test HAVE_SYNC_FILE_RANGE_WRITE - Success -- Performing Test HAVE_PTHREAD_MUTEX_ADAPTIVE_NP -- Performing Test HAVE_PTHREAD_MUTEX_ADAPTIVE_NP - Success -- Looking for malloc_usable_size -- Looking for malloc_usable_size - found -- Looking for sched_getcpu /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:906:11: required from ‘static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1005:15: required from ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned 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 /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:41, from /build/ceph/src/ceph-15.2.14/src/mon/PGMap.h:27, from /build/ceph/src/ceph-15.2.14/src/mon/PGMap.cc:6: /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:45:32: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/string:45, from /usr/include/boost/algorithm/string/std/string_traits.hpp:15, from /usr/include/boost/algorithm/string/std_containers_traits.hpp:19, from /usr/include/boost/algorithm/string.hpp:18, from /build/ceph/src/ceph-15.2.14/src/mon/PGMap.cc:4: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:109:38: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ -- Looking for sched_getcpu - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD In file included from /build/ceph/src/ceph-15.2.14/src/librados/ListObjectImpl.h:19, from /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:50: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:41, from /build/ceph/src/ceph-15.2.14/src/messages/MPGStats.h:18, from /build/ceph/src/ceph-15.2.14/src/mgr/MgrClient.cc:30: /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:45:32: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/string:45, from /usr/include/boost/type_index/type_index_facade.hpp:14, from /usr/include/boost/type_index/stl_type_index.hpp:22, from /usr/include/boost/type_index.hpp:29, from /usr/include/boost/variant/variant.hpp:21, from /usr/include/boost/variant.hpp:17, from /build/ceph/src/ceph-15.2.14/src/mgr/MgrClient.h:17, from /build/ceph/src/ceph-15.2.14/src/mgr/MgrClient.cc:15: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:109:38: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 7%] Building CXX object src/librados/CMakeFiles/librados_impl.dir/librados_util.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/librados && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/librados/CMakeFiles/librados_impl.dir/librados_util.cc.o -MF CMakeFiles/librados_impl.dir/librados_util.cc.o.d -o CMakeFiles/librados_impl.dir/librados_util.cc.o -c /build/ceph/src/ceph-15.2.14/src/librados/librados_util.cc -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- JNI library is disabled -- Configuring done In file included from /build/ceph/src/ceph-15.2.14/src/librados/ListObjectImpl.h:19, from /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:50: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 7%] Building CXX object src/librados/CMakeFiles/librados_impl.dir/librados_tp.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/librados && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/librados/CMakeFiles/librados_impl.dir/librados_tp.cc.o -MF CMakeFiles/librados_impl.dir/librados_tp.cc.o.d -o CMakeFiles/librados_impl.dir/librados_tp.cc.o -c /build/ceph/src/ceph-15.2.14/src/librados/librados_tp.cc [ 7%] Building CXX object src/global/CMakeFiles/libglobal_objs.dir/pidfile.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/global && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/global/CMakeFiles/libglobal_objs.dir/pidfile.cc.o -MF CMakeFiles/libglobal_objs.dir/pidfile.cc.o.d -o CMakeFiles/libglobal_objs.dir/pidfile.cc.o -c /build/ceph/src/ceph-15.2.14/src/global/pidfile.cc -- Generating done -- Build files have been written to: /build/ceph/src/ceph-15.2.14/build/src/rocksdb cd /build/ceph/src/ceph-15.2.14/build/src/rocksdb && /usr/bin/cmake -E touch /build/ceph/src/ceph-15.2.14/build/src/rocksdb_ext-prefix/src/rocksdb_ext-stamp/rocksdb_ext-configure [ 7%] Performing build step for 'rocksdb_ext' cd /build/ceph/src/ceph-15.2.14/build/src/rocksdb && make rocksdb make[3]: Entering directory '/build/ceph/src/ceph-15.2.14/build/src/rocksdb' /usr/bin/cmake -S/build/ceph/src/ceph-15.2.14/src/rocksdb -B/build/ceph/src/ceph-15.2.14/build/src/rocksdb --check-build-system CMakeFiles/Makefile.cmake 0 make -f CMakeFiles/Makefile2 rocksdb make[4]: Entering directory '/build/ceph/src/ceph-15.2.14/build/src/rocksdb' /usr/bin/cmake -S/build/ceph/src/ceph-15.2.14/src/rocksdb -B/build/ceph/src/ceph-15.2.14/build/src/rocksdb --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /build/ceph/src/ceph-15.2.14/build/src/rocksdb/CMakeFiles 29 make -f CMakeFiles/Makefile2 CMakeFiles/rocksdb.dir/all make[5]: Entering directory '/build/ceph/src/ceph-15.2.14/build/src/rocksdb' make -f CMakeFiles/build_version.dir/build.make CMakeFiles/build_version.dir/depend make[6]: Entering directory '/build/ceph/src/ceph-15.2.14/build/src/rocksdb' cd /build/ceph/src/ceph-15.2.14/build/src/rocksdb && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/ceph/src/ceph-15.2.14/src/rocksdb /build/ceph/src/ceph-15.2.14/src/rocksdb /build/ceph/src/ceph-15.2.14/build/src/rocksdb /build/ceph/src/ceph-15.2.14/build/src/rocksdb /build/ceph/src/ceph-15.2.14/build/src/rocksdb/CMakeFiles/build_version.dir/DependInfo.cmake --color= make[6]: Leaving directory '/build/ceph/src/ceph-15.2.14/build/src/rocksdb' make -f CMakeFiles/build_version.dir/build.make CMakeFiles/build_version.dir/build make[6]: Entering directory '/build/ceph/src/ceph-15.2.14/build/src/rocksdb' [ 0%] Building CXX object CMakeFiles/build_version.dir/build_version.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb/util -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/build_version.dir/build_version.cc.o -MF CMakeFiles/build_version.dir/build_version.cc.o.d -o CMakeFiles/build_version.dir/build_version.cc.o -c /build/ceph/src/ceph-15.2.14/build/src/rocksdb/build_version.cc make[6]: Leaving directory '/build/ceph/src/ceph-15.2.14/build/src/rocksdb' [ 0%] Built target build_version make -f CMakeFiles/rocksdb.dir/build.make CMakeFiles/rocksdb.dir/depend make[6]: Entering directory '/build/ceph/src/ceph-15.2.14/build/src/rocksdb' cd /build/ceph/src/ceph-15.2.14/build/src/rocksdb && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/ceph/src/ceph-15.2.14/src/rocksdb /build/ceph/src/ceph-15.2.14/src/rocksdb /build/ceph/src/ceph-15.2.14/build/src/rocksdb /build/ceph/src/ceph-15.2.14/build/src/rocksdb /build/ceph/src/ceph-15.2.14/build/src/rocksdb/CMakeFiles/rocksdb.dir/DependInfo.cmake --color= In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/include/utime.h:27, from /build/ceph/src/ceph-15.2.14/src/mgr/ServiceMap.h:11, from /build/ceph/src/ceph-15.2.14/src/mgr/ServiceMap.cc:4: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mgr/ServiceMap.cc:20:9: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying make[6]: Leaving directory '/build/ceph/src/ceph-15.2.14/build/src/rocksdb' make -f CMakeFiles/rocksdb.dir/build.make CMakeFiles/rocksdb.dir/build make[6]: Entering directory '/build/ceph/src/ceph-15.2.14/build/src/rocksdb' [ 0%] Building CXX object CMakeFiles/rocksdb.dir/cache/clock_cache.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/cache/clock_cache.cc.o -MF CMakeFiles/rocksdb.dir/cache/clock_cache.cc.o.d -o CMakeFiles/rocksdb.dir/cache/clock_cache.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/cache/clock_cache.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mgr/ServiceMap.cc:20:9: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/mon/Session.h:22, from /build/ceph/src/ceph-15.2.14/src/messages/PaxosServiceMessage.h:7, from /build/ceph/src/ceph-15.2.14/src/messages/MPGStats.h:19: /build/ceph/src/ceph-15.2.14/src/include/xlist.h:162:24: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/xlist.h:186:30: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 0%] Building CXX object CMakeFiles/rocksdb.dir/cache/lru_cache.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/cache/lru_cache.cc.o -MF CMakeFiles/rocksdb.dir/cache/lru_cache.cc.o.d -o CMakeFiles/rocksdb.dir/cache/lru_cache.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/cache/lru_cache.cc In file included from /build/ceph/src/ceph-15.2.14/src/msg/async/AsyncMessenger.h:23, from /build/ceph/src/ceph-15.2.14/src/msg/async/ProtocolV1.cc:9: /build/ceph/src/ceph-15.2.14/src/include/xlist.h:162:24: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/bits/stl_algobase.h:65, from /usr/include/c++/12.1.1/list:60, from /build/ceph/src/ceph-15.2.14/src/msg/async/Protocol.h:7, from /build/ceph/src/ceph-15.2.14/src/msg/async/ProtocolV1.h:7, from /build/ceph/src/ceph-15.2.14/src/msg/async/ProtocolV1.cc:4: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/xlist.h:186:30: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/auth/Crypto.h:19, from /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:18, from /build/ceph/src/ceph-15.2.14/src/auth/AuthClientHandler.h:19, from /build/ceph/src/ceph-15.2.14/src/auth/cephx/CephxClientHandler.h:18, from /build/ceph/src/ceph-15.2.14/src/auth/cephx/CephxClientHandler.cc:18: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/msg/async/AsyncMessenger.h:23, from /build/ceph/src/ceph-15.2.14/src/msg/async/ProtocolV2.cc:7: /build/ceph/src/ceph-15.2.14/src/include/xlist.h:162:24: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/bits/stl_algobase.h:65, from /usr/include/c++/12.1.1/list:60, from /build/ceph/src/ceph-15.2.14/src/msg/async/Protocol.h:7, from /build/ceph/src/ceph-15.2.14/src/msg/async/ProtocolV2.h:7, from /build/ceph/src/ceph-15.2.14/src/msg/async/ProtocolV2.cc:6: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/xlist.h:186:30: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/auth/AuthSessionHandler.h:20, from /build/ceph/src/ceph-15.2.14/src/msg/async/AsyncConnection.h:29, from /build/ceph/src/ceph-15.2.14/src/msg/async/Protocol.h:10: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying [ 7%] Building CXX object src/erasure-code/shec/CMakeFiles/shec_utils.dir/ErasureCodeShec.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/erasure-code/shec && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure -I/build/ceph/src/ceph-15.2.14/src/erasure-code/shec/. -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure/jerasure/include -isystem /build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure/gf-complete/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/erasure-code/shec/CMakeFiles/shec_utils.dir/ErasureCodeShec.cc.o -MF CMakeFiles/shec_utils.dir/ErasureCodeShec.cc.o.d -o CMakeFiles/shec_utils.dir/ErasureCodeShec.cc.o -c /build/ceph/src/ceph-15.2.14/src/erasure-code/shec/ErasureCodeShec.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying [ 0%] Building CXX object CMakeFiles/rocksdb.dir/cache/sharded_cache.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/cache/sharded_cache.cc.o -MF CMakeFiles/rocksdb.dir/cache/sharded_cache.cc.o.d -o CMakeFiles/rocksdb.dir/cache/sharded_cache.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/cache/sharded_cache.cc In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/auth/Crypto.h:19, from /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:18, from /build/ceph/src/ceph-15.2.14/src/msg/Connection.h:21, from /build/ceph/src/ceph-15.2.14/src/mgr/MgrClient.h:19: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/auth/AuthSessionHandler.h:20, from /build/ceph/src/ceph-15.2.14/src/msg/async/AsyncConnection.h:29, from /build/ceph/src/ceph-15.2.14/src/msg/async/Protocol.h:10: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/MgrMap.h:381:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_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]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/MgrMap.h:397:11: required from here /build/ceph/src/ceph-15.2.14/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] /build/ceph/src/ceph-15.2.14/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 /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _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]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/messages/MMgrReport.h:158:11: required from here /build/ceph/src/ceph-15.2.14/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] /build/ceph/src/ceph-15.2.14/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 /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/mon_types.h:100:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/mon_types.h:258:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/mon_types.h:259:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&’ {aka ‘const std::pair, long unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, long unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T’ {aka ‘const std::pair, long unsigned int>’} to make the copy explicit or ‘const std::pair, long unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _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]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/messages/MMgrConfigure.h:61:11: required from here /build/ceph/src/ceph-15.2.14/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] /build/ceph/src/ceph-15.2.14/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 /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/CompatSet.h:85:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:3809:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&’ {aka ‘const std::pair, std::optional >&’} binds to a temporary constructed from type ‘const std::pair, std::optional >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T’ {aka ‘const std::pair, std::optional >’} to make the copy explicit or ‘const std::pair, std::optional >&’ to prevent copying [ 7%] Building CXX object src/auth/CMakeFiles/common-auth-objs.dir/cephx/CephxProtocol.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/auth && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/auth/CMakeFiles/common-auth-objs.dir/cephx/CephxProtocol.cc.o -MF CMakeFiles/common-auth-objs.dir/cephx/CephxProtocol.cc.o.d -o CMakeFiles/common-auth-objs.dir/cephx/CephxProtocol.cc.o -c /build/ceph/src/ceph-15.2.14/src/auth/cephx/CephxProtocol.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::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]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/messages/MPGStats.h:56:11: required from here /build/ceph/src/ceph-15.2.14/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] /build/ceph/src/ceph-15.2.14/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 [ 0%] Building CXX object CMakeFiles/rocksdb.dir/db/builder.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/db/builder.cc.o -MF CMakeFiles/rocksdb.dir/db/builder.cc.o.d -o CMakeFiles/rocksdb.dir/db/builder.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/db/builder.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/health.h:9, from /build/ceph/src/ceph-15.2.14/src/mon/PGMap.h:24: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/CompatSet.h:85:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/MgrMap.h:381:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(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]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::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]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/MgrMap.h:397:11: required from here /build/ceph/src/ceph-15.2.14/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] /build/ceph/src/ceph-15.2.14/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 /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:3809:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&’ {aka ‘const std::pair, std::optional >&’} binds to a temporary constructed from type ‘const std::pair, std::optional >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T’ {aka ‘const std::pair, std::optional >’} to make the copy explicit or ‘const std::pair, std::optional >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::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]’: /build/ceph/src/ceph-15.2.14/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]’ /build/ceph/src/ceph-15.2.14/src/mgr/OSDPerfMetricTypes.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]’ /build/ceph/src/ceph-15.2.14/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /build/ceph/src/ceph-15.2.14/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) { | ^ /build/ceph/src/ceph-15.2.14/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 /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::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]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const 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]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/messages/MMgrReport.h:158:11: required from here /build/ceph/src/ceph-15.2.14/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) { | ^ /build/ceph/src/ceph-15.2.14/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 /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/mon_types.h:100:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/mon_types.h:258:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/mon_types.h:259:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&’ {aka ‘const std::pair, long unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, long unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T’ {aka ‘const std::pair, long unsigned int>’} to make the copy explicit or ‘const std::pair, long unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::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]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const 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]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/messages/MMgrConfigure.h:61:11: required from here /build/ceph/src/ceph-15.2.14/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] /build/ceph/src/ceph-15.2.14/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 /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/CompatSet.h:85:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details, std::less, mempool::pool_allocator > > > >; Ts = {long int, interval_set, std::allocator > > >, std::less, mempool::pool_allocator, std::allocator > > > > >}; container = std::map, std::less, mempool::pool_allocator > > >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::less, mempool::pool_allocator > > >; traits = denc_traits, std::less, mempool::pool_allocator > > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/PGMap.cc:80:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::less, mempool::pool_allocator > > > >, long int, interval_set, std::allocator > > >, std::less, mempool::pool_allocator, std::allocator > > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::less, mempool::pool_allocator > > > >, long int, interval_set, std::allocator > > >, std::less, mempool::pool_allocator, std::allocator > > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:3809:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&’ {aka ‘const std::pair, std::optional >&’} binds to a temporary constructed from type ‘const std::pair, std::optional >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T’ {aka ‘const std::pair, std::optional >’} to make the copy explicit or ‘const std::pair, std::optional >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, store_statfs_t>; C = std::map; Details = _denc::maplike_details, store_statfs_t, std::less >, mempool::pool_allocator, store_statfs_t> > > >; Ts = {std::pair, store_statfs_t, std::less >, mempool::pool_allocator, store_statfs_t> >}; container = std::map, store_statfs_t, std::less >, mempool::pool_allocator, store_statfs_t> > >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, store_statfs_t, std::less >, mempool::pool_allocator, store_statfs_t> > >; traits = denc_traits, store_statfs_t, std::less >, mempool::pool_allocator, store_statfs_t> > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/PGMap.cc:1523:9: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, store_statfs_t, std::less >, mempool::pool_allocator, store_statfs_t> > > >, std::pair, store_statfs_t, std::less >, mempool::pool_allocator, store_statfs_t> > >::T&’ {aka ‘const std::pair, store_statfs_t>&’} binds to a temporary constructed from type ‘const std::pair, store_statfs_t>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, store_statfs_t, std::less >, mempool::pool_allocator, store_statfs_t> > > >, std::pair, store_statfs_t, std::less >, mempool::pool_allocator, store_statfs_t> > >::T’ {aka ‘const std::pair, store_statfs_t>’} to make the copy explicit or ‘const std::pair, store_statfs_t>&’ to prevent copying [ 7%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/LogClient.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DCEPH_DATADIR=\"/usr/share/ceph\" -DCEPH_LIBDIR=\"/usr/lib\" -DCEPH_PKGLIBDIR=\"/usr/lib/ceph\" -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/common/CMakeFiles/common-common-objs.dir/LogClient.cc.o -MF CMakeFiles/common-common-objs.dir/LogClient.cc.o.d -o CMakeFiles/common-common-objs.dir/LogClient.cc.o -c /build/ceph/src/ceph-15.2.14/src/common/LogClient.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_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]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, 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]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/messages/MPGStats.h:56:11: required from here /build/ceph/src/ceph-15.2.14/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] /build/ceph/src/ceph-15.2.14/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 [ 7%] Building CXX object src/CMakeFiles/common-objs.dir/osd/ECMsgTypes.cc.o cd /build/ceph/src/ceph-15.2.14/build/src && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/CMakeFiles/common-objs.dir/osd/ECMsgTypes.cc.o -MF CMakeFiles/common-objs.dir/osd/ECMsgTypes.cc.o.d -o CMakeFiles/common-objs.dir/osd/ECMsgTypes.cc.o -c /build/ceph/src/ceph-15.2.14/src/osd/ECMsgTypes.cc In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/msg/msg_types.h:23, from /build/ceph/src/ceph-15.2.14/src/common/entity_name.h:20, from /build/ceph/src/ceph-15.2.14/src/common/ceph_argparse.h:29, from /build/ceph/src/ceph-15.2.14/src/global/global_init.cc:15: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/mon_types.h:100:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/mon_types.h:258:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/mon_types.h:259:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&’ {aka ‘const std::pair, long unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, long unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T’ {aka ‘const std::pair, long unsigned int>’} to make the copy explicit or ‘const std::pair, long unsigned int>&’ to prevent copying [ 7%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/async/Event.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/msg && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/msg/CMakeFiles/common-msg-objs.dir/async/Event.cc.o -MF CMakeFiles/common-msg-objs.dir/async/Event.cc.o.d -o CMakeFiles/common-msg-objs.dir/async/Event.cc.o -c /build/ceph/src/ceph-15.2.14/src/msg/async/Event.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::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]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h: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]’ /build/ceph/src/ceph-15.2.14/src/mgr/OSDPerfMetricTypes.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]’ /build/ceph/src/ceph-15.2.14/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /build/ceph/src/ceph-15.2.14/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] /build/ceph/src/ceph-15.2.14/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 /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/CompatSet.h:85:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/mon_types.h:100:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/mon_types.h:258:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/mon_types.h:259:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&’ {aka ‘const std::pair, long unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, long unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T’ {aka ‘const std::pair, long unsigned int>’} to make the copy explicit or ‘const std::pair, long unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:3809:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&’ {aka ‘const std::pair, std::optional >&’} binds to a temporary constructed from type ‘const std::pair, std::optional >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T’ {aka ‘const std::pair, std::optional >’} to make the copy explicit or ‘const std::pair, std::optional >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/librados/IoCtxImpl.h:26, from /build/ceph/src/ceph-15.2.14/src/librados/librados_util.h:4, from /build/ceph/src/ceph-15.2.14/src/librados/librados_util.cc:1: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/bits/stl_algobase.h:65, from /usr/include/c++/12.1.1/bits/specfun.h:45, from /usr/include/c++/12.1.1/cmath:1935, from /usr/include/c++/12.1.1/math.h:36, from /build/ceph/src/ceph-15.2.14/src/include/utime.h:18, from /build/ceph/src/ceph-15.2.14/src/common/Clock.h:18, from /build/ceph/src/ceph-15.2.14/src/common/Cond.h:19, from /build/ceph/src/ceph-15.2.14/src/librados/IoCtxImpl.h:20: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/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]’: /build/ceph/src/ceph-15.2.14/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]’ /build/ceph/src/ceph-15.2.14/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]’ /build/ceph/src/ceph-15.2.14/src/mon/health_check.h:115:3: required from here /build/ceph/src/ceph-15.2.14/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) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T’ {aka ‘const std::pair, health_check_t>’} to make the copy explicit or ‘const std::pair, health_check_t>&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/librados/IoCtxImpl.h:27: /build/ceph/src/ceph-15.2.14/src/include/xlist.h:162:24: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/xlist.h:186:30: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:41, from /build/ceph/src/ceph-15.2.14/src/librados/IoCtxImpl.h:28: /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:45:32: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:109:38: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 7%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/async/EventSelect.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/msg && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/msg/CMakeFiles/common-msg-objs.dir/async/EventSelect.cc.o -MF CMakeFiles/common-msg-objs.dir/async/EventSelect.cc.o.d -o CMakeFiles/common-msg-objs.dir/async/EventSelect.cc.o -c /build/ceph/src/ceph-15.2.14/src/msg/async/EventSelect.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {long int, long int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {long int, long int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required 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]’ /build/ceph/src/ceph-15.2.14/src/mon/PGMap.cc:72:9: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, mempool::pool_allocator > > >, long int, long int, std::less, mempool::pool_allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, mempool::pool_allocator > > >, long int, long int, std::less, mempool::pool_allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {int, long int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {int, long int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/PGMap.cc:78:9: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, int, long int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, int, long int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::less, mempool::pool_allocator > > > >; Ts = {long int, interval_set, std::allocator > > >, std::less, mempool::pool_allocator, std::allocator > > > > >}; container = std::map, std::less, mempool::pool_allocator > > >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details, std::less, mempool::pool_allocator > > > >; Ts = {long int, interval_set, std::allocator > > >, std::less, mempool::pool_allocator, std::allocator > > > > >}; container = std::map, std::less, mempool::pool_allocator > > >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::less, mempool::pool_allocator > > >; traits = denc_traits, std::less, mempool::pool_allocator > > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/PGMap.cc:80:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::less, mempool::pool_allocator > > > >, long int, interval_set, std::allocator > > >, std::less, mempool::pool_allocator, std::allocator > > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::less, mempool::pool_allocator > > > >, long int, interval_set, std::allocator > > >, std::less, mempool::pool_allocator, std::allocator > > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, store_statfs_t, std::less >, mempool::pool_allocator, store_statfs_t> > > >; Ts = {std::pair, store_statfs_t, std::less >, mempool::pool_allocator, store_statfs_t> >}; container = std::map, store_statfs_t, std::less >, mempool::pool_allocator, store_statfs_t> > >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, store_statfs_t>; C = std::map; Details = _denc::maplike_details, store_statfs_t, std::less >, mempool::pool_allocator, store_statfs_t> > > >; Ts = {std::pair, store_statfs_t, std::less >, mempool::pool_allocator, store_statfs_t> >}; container = std::map, store_statfs_t, std::less >, mempool::pool_allocator, store_statfs_t> > >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, store_statfs_t, std::less >, mempool::pool_allocator, store_statfs_t> > >; traits = denc_traits, store_statfs_t, std::less >, mempool::pool_allocator, store_statfs_t> > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/PGMap.cc:1523:9: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, store_statfs_t, std::less >, mempool::pool_allocator, store_statfs_t> > > >, std::pair, store_statfs_t, std::less >, mempool::pool_allocator, store_statfs_t> > >::T&’ {aka ‘const std::pair, store_statfs_t>&’} binds to a temporary constructed from type ‘const std::pair, store_statfs_t>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, store_statfs_t, std::less >, mempool::pool_allocator, store_statfs_t> > > >, std::pair, store_statfs_t, std::less >, mempool::pool_allocator, store_statfs_t> > >::T’ {aka ‘const std::pair, store_statfs_t>’} to make the copy explicit or ‘const std::pair, store_statfs_t>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:906:11: required from ‘static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1005:15: required from ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/mon_types.h:100:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::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]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: 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]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h: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]’ /build/ceph/src/ceph-15.2.14/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]’ /build/ceph/src/ceph-15.2.14/src/mon/health_check.h:115:3: required from here /build/ceph/src/ceph-15.2.14/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] /build/ceph/src/ceph-15.2.14/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 /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:906:11: required from ‘static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1005:15: required from ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/mon_types.h:100:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:906:11: required from ‘static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1005:15: required from ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:906:11: required from ‘static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1005:15: required from ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying [ 7%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/LogEntry.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DCEPH_DATADIR=\"/usr/share/ceph\" -DCEPH_LIBDIR=\"/usr/lib\" -DCEPH_PKGLIBDIR=\"/usr/lib/ceph\" -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/common/CMakeFiles/common-common-objs.dir/LogEntry.cc.o -MF CMakeFiles/common-common-objs.dir/LogEntry.cc.o.d -o CMakeFiles/common-common-objs.dir/LogEntry.cc.o -c /build/ceph/src/ceph-15.2.14/src/common/LogEntry.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {snapid_t, snapid_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {snapid_t, snapid_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h: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]’ /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:346:9: required from ‘void interval_set::encode(ceph::buffer::v15_2_0::list::contiguous_appender&) const [with T = snapid_t; Map = std::map, std::allocator > >]’ /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:746:13: required from ‘static void denc_traits >::encode(const interval_set&, ceph::buffer::v15_2_0::list::contiguous_appender&) [with T = snapid_t; Map = std::map, std::allocator > >]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = interval_set; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:906:11: required from ‘static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = interval_set; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1005:15: required from ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::less, mempool::pool_allocator > > > >; Ts = {long int, interval_set, std::allocator > > >, std::less, mempool::pool_allocator, std::allocator > > > > >}; container = std::map, std::less, mempool::pool_allocator > > >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details, std::less, mempool::pool_allocator > > > >; Ts = {long int, interval_set, std::allocator > > >, std::less, mempool::pool_allocator, std::allocator > > > > >}; container = std::map, std::less, mempool::pool_allocator > > >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::less, mempool::pool_allocator > > >; traits = denc_traits, std::less, mempool::pool_allocator > > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/PGMap.cc:80:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::allocator > > >, snapid_t, snapid_t, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::allocator > > >, snapid_t, snapid_t, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying [ 7%] Building CXX object src/global/CMakeFiles/libglobal_objs.dir/signal_handler.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/global && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/global/CMakeFiles/libglobal_objs.dir/signal_handler.cc.o -MF CMakeFiles/libglobal_objs.dir/signal_handler.cc.o.d -o CMakeFiles/libglobal_objs.dir/signal_handler.cc.o -c /build/ceph/src/ceph-15.2.14/src/global/signal_handler.cc In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/include/utime.h:27: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/CompatSet.h:85:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying [ 0%] Building CXX object CMakeFiles/rocksdb.dir/db/c.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/db/c.cc.o -MF CMakeFiles/rocksdb.dir/db/c.cc.o.d -o CMakeFiles/rocksdb.dir/db/c.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/db/c.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:3809:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&’ {aka ‘const std::pair, std::optional >&’} binds to a temporary constructed from type ‘const std::pair, std::optional >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T’ {aka ‘const std::pair, std::optional >’} to make the copy explicit or ‘const std::pair, std::optional >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osdc/Objecter.h:710:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&’ {aka ‘const std::pair, std::pair >&’} binds to a temporary constructed from type ‘const std::pair, std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::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 /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:41, from /build/ceph/src/ceph-15.2.14/src/osd/ECMsgTypes.h:18, from /build/ceph/src/ceph-15.2.14/src/osd/ECMsgTypes.cc:15: /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:45:32: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/string:45, from /usr/include/c++/12.1.1/bits/locale_classes.h:40, from /usr/include/c++/12.1.1/bits/ios_base.h:41, from /usr/include/c++/12.1.1/ios:42, from /usr/include/c++/12.1.1/istream:38, from /usr/include/c++/12.1.1/sstream:38, from /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:22: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:109:38: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /build/ceph/src/ceph-15.2.14/src/include/btree_map.h:7, from /build/ceph/src/ceph-15.2.14/src/osd/OSDMap.h:34, from /build/ceph/src/ceph-15.2.14/src/osdc/Objecter.h:46: In member function ‘btree::internal::btree_node*& btree::internal::btree_node::mutable_child(int) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]’, inlined from ‘void btree::internal::btree_node::swap(btree::internal::btree_node*, allocator_type*) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]’ at /build/ceph/src/ceph-15.2.14/src/include/cpp-btree/btree.h:1697:45, inlined from ‘btree::internal::btree::iterator btree::internal::btree::internal_emplace(iterator, Args&& ...) [with Args = {const std::pair*>&}; Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]’ at /build/ceph/src/ceph-15.2.14/src/include/cpp-btree/btree.h:2418:22: /build/ceph/src/ceph-15.2.14/src/include/cpp-btree/btree.h:515:84: warning: array subscript 32 is outside array bounds of ‘btree::internal::AlignedAlloc<8, std::allocator*> > >::M [32]’ [-Warray-bounds] 515 | btree_node*& mutable_child(int i) { return GetField<&internal_fields::children>()[i]; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ In file included from /usr/include/c++/12.1.1/riscv64-unknown-linux-gnu/bits/c++allocator.h:33, from /usr/include/c++/12.1.1/bits/allocator.h:46, from /usr/include/c++/12.1.1/string:41: In member function ‘_Tp* std::__new_allocator<_Tp>::allocate(size_type, const void*) [with _Tp = btree::internal::AlignedAlloc<8, std::allocator*> > >::M]’, inlined from ‘static _Tp* std::allocator_traits >::allocate(allocator_type&, size_type) [with _Tp = btree::internal::AlignedAlloc<8, std::allocator*> > >::M]’ at /usr/include/c++/12.1.1/bits/alloc_traits.h:464:28, inlined from ‘static void* btree::internal::AlignedAlloc::allocate(Alloc*, size_t) [with long unsigned int Alignment = 8; Alloc = std::allocator*> >]’ at /build/ceph/src/ceph-15.2.14/src/include/cpp-btree/btree.h:879:33, inlined from ‘btree::internal::btree::node_type* btree::internal::btree::allocate(size_type) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]’ at /build/ceph/src/ceph-15.2.14/src/include/cpp-btree/btree.h:1289:32, inlined from ‘btree::internal::btree::node_type* btree::internal::btree::new_leaf_root_node(int) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]’ at /build/ceph/src/ceph-15.2.14/src/include/cpp-btree/btree.h:1302:28, inlined from ‘btree::internal::btree::iterator btree::internal::btree::internal_emplace(iterator, Args&& ...) [with Args = {const std::pair*>&}; Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]’ at /build/ceph/src/ceph-15.2.14/src/include/cpp-btree/btree.h:2417:29: /usr/include/c++/12.1.1/bits/new_allocator.h:137:55: note: at offset 256 into object of size [64, 256] allocated by ‘operator new’ 137 | return static_cast<_Tp*>(_GLIBCXX_OPERATOR_NEW(__n * sizeof(_Tp))); | ^ In member function ‘btree::internal::btree_node*& btree::internal::btree_node::mutable_child(int) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]’, inlined from ‘void btree::internal::btree_node::swap(btree::internal::btree_node*, allocator_type*) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]’ at /build/ceph/src/ceph-15.2.14/src/include/cpp-btree/btree.h:1698:45, inlined from ‘btree::internal::btree::iterator btree::internal::btree::internal_emplace(iterator, Args&& ...) [with Args = {const std::pair*>&}; Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]’ at /build/ceph/src/ceph-15.2.14/src/include/cpp-btree/btree.h:2418:22: /build/ceph/src/ceph-15.2.14/src/include/cpp-btree/btree.h:515:84: warning: array subscript 32 is outside array bounds of ‘btree::internal::AlignedAlloc<8, std::allocator*> > >::M [32]’ [-Warray-bounds] 515 | btree_node*& mutable_child(int i) { return GetField<&internal_fields::children>()[i]; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ In member function ‘_Tp* std::__new_allocator<_Tp>::allocate(size_type, const void*) [with _Tp = btree::internal::AlignedAlloc<8, std::allocator*> > >::M]’, inlined from ‘static _Tp* std::allocator_traits >::allocate(allocator_type&, size_type) [with _Tp = btree::internal::AlignedAlloc<8, std::allocator*> > >::M]’ at /usr/include/c++/12.1.1/bits/alloc_traits.h:464:28, inlined from ‘static void* btree::internal::AlignedAlloc::allocate(Alloc*, size_t) [with long unsigned int Alignment = 8; Alloc = std::allocator*> >]’ at /build/ceph/src/ceph-15.2.14/src/include/cpp-btree/btree.h:879:33, inlined from ‘btree::internal::btree::node_type* btree::internal::btree::allocate(size_type) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]’ at /build/ceph/src/ceph-15.2.14/src/include/cpp-btree/btree.h:1289:32, inlined from ‘btree::internal::btree::node_type* btree::internal::btree::new_leaf_root_node(int) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]’ at /build/ceph/src/ceph-15.2.14/src/include/cpp-btree/btree.h:1302:28, inlined from ‘btree::internal::btree::iterator btree::internal::btree::internal_emplace(iterator, Args&& ...) [with Args = {const std::pair*>&}; Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]’ at /build/ceph/src/ceph-15.2.14/src/include/cpp-btree/btree.h:2417:29: /usr/include/c++/12.1.1/bits/new_allocator.h:137:55: note: at offset 256 into object of size [64, 256] allocated by ‘operator new’ 137 | return static_cast<_Tp*>(_GLIBCXX_OPERATOR_NEW(__n * sizeof(_Tp))); | ^ In member function ‘void btree::internal::btree_node::set_child(int, btree::internal::btree_node*) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]’, inlined from ‘void btree::internal::btree_node::init_child(int, btree::internal::btree_node*) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]’ at /build/ceph/src/ceph-15.2.14/src/include/cpp-btree/btree.h:526:14, inlined from ‘void btree::internal::btree_node::swap(btree::internal::btree_node*, allocator_type*) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]’ at /build/ceph/src/ceph-15.2.14/src/include/cpp-btree/btree.h:1708:26, inlined from ‘btree::internal::btree::iterator btree::internal::btree::internal_emplace(iterator, Args&& ...) [with Args = {const std::pair*>&}; Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]’ at /build/ceph/src/ceph-15.2.14/src/include/cpp-btree/btree.h:2418:22: /build/ceph/src/ceph-15.2.14/src/include/cpp-btree/btree.h:522:22: warning: array subscript 32 is outside array bounds of ‘btree::internal::AlignedAlloc<8, std::allocator*> > >::M [32]’ [-Warray-bounds] 522 | mutable_child(i) = c; | ~~~~~~~~~~~~~~~~~^~~ In member function ‘_Tp* std::__new_allocator<_Tp>::allocate(size_type, const void*) [with _Tp = btree::internal::AlignedAlloc<8, std::allocator*> > >::M]’, inlined from ‘static _Tp* std::allocator_traits >::allocate(allocator_type&, size_type) [with _Tp = btree::internal::AlignedAlloc<8, std::allocator*> > >::M]’ at /usr/include/c++/12.1.1/bits/alloc_traits.h:464:28, inlined from ‘static void* btree::internal::AlignedAlloc::allocate(Alloc*, size_t) [with long unsigned int Alignment = 8; Alloc = std::allocator*> >]’ at /build/ceph/src/ceph-15.2.14/src/include/cpp-btree/btree.h:879:33, inlined from ‘btree::internal::btree::node_type* btree::internal::btree::allocate(size_type) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]’ at /build/ceph/src/ceph-15.2.14/src/include/cpp-btree/btree.h:1289:32, inlined from ‘btree::internal::btree::node_type* btree::internal::btree::new_leaf_root_node(int) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]’ at /build/ceph/src/ceph-15.2.14/src/include/cpp-btree/btree.h:1302:28, inlined from ‘btree::internal::btree::iterator btree::internal::btree::internal_emplace(iterator, Args&& ...) [with Args = {const std::pair*>&}; Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]’ at /build/ceph/src/ceph-15.2.14/src/include/cpp-btree/btree.h:2417:29: /usr/include/c++/12.1.1/bits/new_allocator.h:137:55: note: at offset 256 into object of size [64, 256] allocated by ‘operator new’ 137 | return static_cast<_Tp*>(_GLIBCXX_OPERATOR_NEW(__n * sizeof(_Tp))); | ^ In member function ‘btree::internal::btree_node* btree::internal::btree_node::child(int) const [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]’, inlined from ‘void btree::internal::btree_node::swap(btree::internal::btree_node*, allocator_type*) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]’ at /build/ceph/src/ceph-15.2.14/src/include/cpp-btree/btree.h:1703:36, inlined from ‘btree::internal::btree::iterator btree::internal::btree::internal_emplace(iterator, Args&& ...) [with Args = {const std::pair*>&}; Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]’ at /build/ceph/src/ceph-15.2.14/src/include/cpp-btree/btree.h:2418:22: /build/ceph/src/ceph-15.2.14/src/include/cpp-btree/btree.h:514:83: warning: array subscript 32 is outside array bounds of ‘btree::internal::AlignedAlloc<8, std::allocator*> > >::M [32]’ [-Warray-bounds] 514 | btree_node* child(int i) const { return GetField<&internal_fields::children>()[i]; } | ^ In member function ‘_Tp* std::__new_allocator<_Tp>::allocate(size_type, const void*) [with _Tp = btree::internal::AlignedAlloc<8, std::allocator*> > >::M]’, inlined from ‘static _Tp* std::allocator_traits >::allocate(allocator_type&, size_type) [with _Tp = btree::internal::AlignedAlloc<8, std::allocator*> > >::M]’ at /usr/include/c++/12.1.1/bits/alloc_traits.h:464:28, inlined from ‘static void* btree::internal::AlignedAlloc::allocate(Alloc*, size_t) [with long unsigned int Alignment = 8; Alloc = std::allocator*> >]’ at /build/ceph/src/ceph-15.2.14/src/include/cpp-btree/btree.h:879:33, inlined from ‘btree::internal::btree::node_type* btree::internal::btree::allocate(size_type) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]’ at /build/ceph/src/ceph-15.2.14/src/include/cpp-btree/btree.h:1289:32, inlined from ‘btree::internal::btree::node_type* btree::internal::btree::new_leaf_root_node(int) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]’ at /build/ceph/src/ceph-15.2.14/src/include/cpp-btree/btree.h:1302:28, inlined from ‘btree::internal::btree::iterator btree::internal::btree::internal_emplace(iterator, Args&& ...) [with Args = {const std::pair*>&}; Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]’ at /build/ceph/src/ceph-15.2.14/src/include/cpp-btree/btree.h:2417:29: /usr/include/c++/12.1.1/bits/new_allocator.h:137:55: note: at offset 256 into object of size [64, 256] allocated by ‘operator new’ 137 | return static_cast<_Tp*>(_GLIBCXX_OPERATOR_NEW(__n * sizeof(_Tp))); | ^ In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/auth/Crypto.h:19, from /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:18, from /build/ceph/src/ceph-15.2.14/src/auth/cephx/CephxProtocol.h:33, from /build/ceph/src/ceph-15.2.14/src/auth/cephx/CephxProtocol.cc:15: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/CompatSet.h:85:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:3809:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&’ {aka ‘const std::pair, std::optional >&’} binds to a temporary constructed from type ‘const std::pair, std::optional >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T’ {aka ‘const std::pair, std::optional >’} to make the copy explicit or ‘const std::pair, std::optional >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/librados/ListObjectImpl.h:19, from /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:50: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osdc/Objecter.h:710:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&’ {aka ‘const std::pair, std::pair >&’} binds to a temporary constructed from type ‘const std::pair, std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::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 /build/ceph/src/ceph-15.2.14/src/mon/Session.h:22, from /build/ceph/src/ceph-15.2.14/src/messages/PaxosServiceMessage.h:7, from /build/ceph/src/ceph-15.2.14/src/messages/MLog.h:19, from /build/ceph/src/ceph-15.2.14/src/common/LogClient.cc:17: /build/ceph/src/ceph-15.2.14/src/include/xlist.h:162:24: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/bits/stl_algobase.h:65, from /usr/include/c++/12.1.1/bits/specfun.h:45, from /usr/include/c++/12.1.1/cmath:1935, from /usr/include/c++/12.1.1/math.h:36, from /build/ceph/src/ceph-15.2.14/src/include/utime.h:18, from /build/ceph/src/ceph-15.2.14/src/common/LogEntry.h:18, from /build/ceph/src/ceph-15.2.14/src/common/LogClient.h:19, from /build/ceph/src/ceph-15.2.14/src/common/LogClient.cc:15: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/xlist.h:186:30: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:41, from /build/ceph/src/ceph-15.2.14/src/osd/OSDMap.h:38, from /build/ceph/src/ceph-15.2.14/src/mon/Session.h:29: /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:45:32: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:109:38: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 7%] Building CXX object src/erasure-code/shec/CMakeFiles/shec_utils.dir/ErasureCodeShecTableCache.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/erasure-code/shec && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure -I/build/ceph/src/ceph-15.2.14/src/erasure-code/shec/. -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure/jerasure/include -isystem /build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure/gf-complete/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/erasure-code/shec/CMakeFiles/shec_utils.dir/ErasureCodeShecTableCache.cc.o -MF CMakeFiles/shec_utils.dir/ErasureCodeShecTableCache.cc.o.d -o CMakeFiles/shec_utils.dir/ErasureCodeShecTableCache.cc.o -c /build/ceph/src/ceph-15.2.14/src/erasure-code/shec/ErasureCodeShecTableCache.cc In file included from /build/ceph/src/ceph-15.2.14/src/librados/ListObjectImpl.h:19, from /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:50: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:906:11: required from ‘static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1005:15: required from ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying [ 0%] Building CXX object CMakeFiles/rocksdb.dir/db/column_family.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/db/column_family.cc.o -MF CMakeFiles/rocksdb.dir/db/column_family.cc.o.d -o CMakeFiles/rocksdb.dir/db/column_family.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/db/column_family.cc [ 7%] Building CXX object src/CMakeFiles/common-objs.dir/osd/HitSet.cc.o cd /build/ceph/src/ceph-15.2.14/build/src && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/CMakeFiles/common-objs.dir/osd/HitSet.cc.o -MF CMakeFiles/common-objs.dir/osd/HitSet.cc.o.d -o CMakeFiles/common-objs.dir/osd/HitSet.cc.o -c /build/ceph/src/ceph-15.2.14/src/osd/HitSet.cc /build/ceph/src/ceph-15.2.14/src/auth/cephx/CephxProtocol.cc: In member function ‘virtual bool CephXAuthorizer::add_challenge(ceph::common::CephContext*, const ceph::bufferlist&)’: /build/ceph/src/ceph-15.2.14/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; | ~~~~~~~~~~~~~~~~~~~~^~~ /build/ceph/src/ceph-15.2.14/src/auth/cephx/CephxProtocol.cc:574:29: note: ‘ch.CephXAuthorizeChallenge::server_challenge’ was declared here 574 | CephXAuthorizeChallenge ch; | ^~ In file included from /build/ceph/src/ceph-15.2.14/src/include/rados/buffer.h:59, from /build/ceph/src/ceph-15.2.14/src/include/rados/rados_types.hpp:10, from /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:32: /build/ceph/src/ceph-15.2.14/src/include/interval_set.h: In instantiation of ‘void interval_set::erase(iterator&) [with T = long unsigned int; Map = std::map]’: /build/ceph/src/ceph-15.2.14/src/os/ObjectStore.h:526:20: required from here /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:512:23: warning: comparison of unsigned expression in ‘>= 0’ is always true [-Wtype-limits] 512 | ceph_assert(_size >= 0); /build/ceph/src/ceph-15.2.14/src/include/ceph_assert.h:106:6: note: in definition of macro ‘ceph_assert’ 106 | ((expr) \ | ^~~~ In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/compact_map.h:16, from /build/ceph/src/ceph-15.2.14/src/include/mempool.h:32, from /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:33: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/CompatSet.h:85:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:3809:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&’ {aka ‘const std::pair, std::optional >&’} binds to a temporary constructed from type ‘const std::pair, std::optional >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T’ {aka ‘const std::pair, std::optional >’} to make the copy explicit or ‘const std::pair, std::optional >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In 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]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::ptr>; traits = denc_traits, buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/os/Transaction.h:922:11: required from here /build/ceph/src/ceph-15.2.14/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] /build/ceph/src/ceph-15.2.14/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 [ 7%] Linking CXX static library ../../lib/liblibrados_impl.a cd /build/ceph/src/ceph-15.2.14/build/src/librados && /usr/bin/cmake -P CMakeFiles/librados_impl.dir/cmake_clean_target.cmake /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/CompatSet.h:85:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying cd /build/ceph/src/ceph-15.2.14/build/src/librados && /usr/bin/cmake -E cmake_link_script CMakeFiles/librados_impl.dir/link.txt --verbose=1 /usr/bin/ar qc ../../lib/liblibrados_impl.a CMakeFiles/librados_impl.dir/IoCtxImpl.cc.o CMakeFiles/librados_impl.dir/RadosXattrIter.cc.o CMakeFiles/librados_impl.dir/RadosClient.cc.o CMakeFiles/librados_impl.dir/librados_util.cc.o CMakeFiles/librados_impl.dir/librados_tp.cc.o /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /usr/bin/ranlib ../../lib/liblibrados_impl.a /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:3809:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&’ {aka ‘const std::pair, std::optional >&’} binds to a temporary constructed from type ‘const std::pair, std::optional >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' [ 7%] Built target librados_impl /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/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*)’: /build/ceph/src/ceph-15.2.14/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; | ~~~~~~~~~~~~~~~^~~ /build/ceph/src/ceph-15.2.14/src/auth/cephx/CephxProtocol.cc:479:18: note: ‘auth_msg.CephXAuthorize::nonce’ was declared here 479 | CephXAuthorize auth_msg; | ^~~~~~~~ [ 7%] Building CXX object src/CMakeFiles/common-objs.dir/osd/OSDMap.cc.o cd /build/ceph/src/ceph-15.2.14/build/src && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/CMakeFiles/common-objs.dir/osd/OSDMap.cc.o -MF CMakeFiles/common-objs.dir/osd/OSDMap.cc.o.d -o CMakeFiles/common-objs.dir/osd/OSDMap.cc.o -c /build/ceph/src/ceph-15.2.14/src/osd/OSDMap.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const 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]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::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]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::ptr>; traits = denc_traits, buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/os/Transaction.h:922:11: required from here /build/ceph/src/ceph-15.2.14/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] /build/ceph/src/ceph-15.2.14/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 [ 7%] Building CXX object src/CMakeFiles/common-objs.dir/osd/OSDMapMapping.cc.o cd /build/ceph/src/ceph-15.2.14/build/src && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/CMakeFiles/common-objs.dir/osd/OSDMapMapping.cc.o -MF CMakeFiles/common-objs.dir/osd/OSDMapMapping.cc.o.d -o CMakeFiles/common-objs.dir/osd/OSDMapMapping.cc.o -c /build/ceph/src/ceph-15.2.14/src/osd/OSDMapMapping.cc [ 7%] Building CXX object src/CMakeFiles/common-objs.dir/osd/osd_types.cc.o cd /build/ceph/src/ceph-15.2.14/build/src && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/CMakeFiles/common-objs.dir/osd/osd_types.cc.o -MF CMakeFiles/common-objs.dir/osd/osd_types.cc.o.d -o CMakeFiles/common-objs.dir/osd/osd_types.cc.o -c /build/ceph/src/ceph-15.2.14/src/osd/osd_types.cc [ 7%] Building CXX object src/auth/CMakeFiles/common-auth-objs.dir/cephx/CephxSessionHandler.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/auth && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/auth/CMakeFiles/common-auth-objs.dir/cephx/CephxSessionHandler.cc.o -MF CMakeFiles/common-auth-objs.dir/cephx/CephxSessionHandler.cc.o.d -o CMakeFiles/common-auth-objs.dir/cephx/CephxSessionHandler.cc.o -c /build/ceph/src/ceph-15.2.14/src/auth/cephx/CephxSessionHandler.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:906:11: required from ‘static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1005:15: required from ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying [ 7%] Building CXX object src/auth/CMakeFiles/common-auth-objs.dir/none/AuthNoneAuthorizeHandler.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/auth && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/auth/CMakeFiles/common-auth-objs.dir/none/AuthNoneAuthorizeHandler.cc.o -MF CMakeFiles/common-auth-objs.dir/none/AuthNoneAuthorizeHandler.cc.o.d -o CMakeFiles/common-auth-objs.dir/none/AuthNoneAuthorizeHandler.cc.o -c /build/ceph/src/ceph-15.2.14/src/auth/none/AuthNoneAuthorizeHandler.cc In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/include/utime.h:27: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/mon_types.h:100:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/mon_types.h:258:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/mon_types.h:259:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&’ {aka ‘const std::pair, long unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, long unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T’ {aka ‘const std::pair, long unsigned int>’} to make the copy explicit or ‘const std::pair, long unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/CompatSet.h:85:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:3809:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&’ {aka ‘const std::pair, std::optional >&’} binds to a temporary constructed from type ‘const std::pair, std::optional >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T’ {aka ‘const std::pair, std::optional >’} to make the copy explicit or ‘const std::pair, std::optional >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, long int, std::map, std::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]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' [ 7%] Built target libglobal_objs [ 0%] Building CXX object CMakeFiles/rocksdb.dir/db/compacted_db_impl.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/db/compacted_db_impl.cc.o -MF CMakeFiles/rocksdb.dir/db/compacted_db_impl.cc.o.d -o CMakeFiles/rocksdb.dir/db/compacted_db_impl.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/db/compacted_db_impl.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/mon_types.h:100:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/mon_types.h:258:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/mon_types.h:259:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&’ {aka ‘const std::pair, long unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, long unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T’ {aka ‘const std::pair, long unsigned int>’} to make the copy explicit or ‘const std::pair, long unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/CompatSet.h:85:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:3809:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&’ {aka ‘const std::pair, std::optional >&’} binds to a temporary constructed from type ‘const std::pair, std::optional >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T’ {aka ‘const std::pair, std::optional >’} to make the copy explicit or ‘const std::pair, std::optional >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying [ 7%] Building CXX object src/CMakeFiles/common-objs.dir/osd/PGPeeringEvent.cc.o cd /build/ceph/src/ceph-15.2.14/build/src && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/CMakeFiles/common-objs.dir/osd/PGPeeringEvent.cc.o -MF CMakeFiles/common-objs.dir/osd/PGPeeringEvent.cc.o.d -o CMakeFiles/common-objs.dir/osd/PGPeeringEvent.cc.o -c /build/ceph/src/ceph-15.2.14/src/osd/PGPeeringEvent.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:906:11: required from ‘static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1005:15: required from ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/mon_types.h:100:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:906:11: required from ‘static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1005:15: required from ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying [ 7%] Linking CXX static library ../../lib/libosdc.a cd /build/ceph/src/ceph-15.2.14/build/src/osdc && /usr/bin/cmake -P CMakeFiles/osdc.dir/cmake_clean_target.cmake cd /build/ceph/src/ceph-15.2.14/build/src/osdc && /usr/bin/cmake -E cmake_link_script CMakeFiles/osdc.dir/link.txt --verbose=1 /usr/bin/ar qc ../../lib/libosdc.a CMakeFiles/osdc.dir/Filer.cc.o CMakeFiles/osdc.dir/ObjectCacher.cc.o CMakeFiles/osdc.dir/Objecter.cc.o CMakeFiles/osdc.dir/Striper.cc.o [ 7%] Building C object src/erasure-code/shec/CMakeFiles/shec_utils.dir/determinant.c.o cd /build/ceph/src/ceph-15.2.14/build/src/erasure-code/shec && /usr/bin/cc -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure -I/build/ceph/src/ceph-15.2.14/src/erasure-code/shec/. -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure/jerasure/include -isystem /build/ceph/src/ceph-15.2.14/src/erasure-code/jerasure/gf-complete/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -O2 -g -DNDEBUG -fPIC -std=gnu99 -MD -MT src/erasure-code/shec/CMakeFiles/shec_utils.dir/determinant.c.o -MF CMakeFiles/shec_utils.dir/determinant.c.o.d -o CMakeFiles/shec_utils.dir/determinant.c.o -c /build/ceph/src/ceph-15.2.14/src/erasure-code/shec/determinant.c In file included from /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:41, from /build/ceph/src/ceph-15.2.14/src/osd/OSDMapMapping.h:11, from /build/ceph/src/ceph-15.2.14/src/osd/OSDMapMapping.cc:4: /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:45:32: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/bits/stl_algobase.h:65, from /usr/include/c++/12.1.1/vector:60, from /build/ceph/src/ceph-15.2.14/src/osd/OSDMapMapping.h:8: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:109:38: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /usr/bin/ranlib ../../lib/libosdc.a make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' [ 7%] Built target osdc [ 7%] Building CXX object src/CMakeFiles/common-objs.dir/osd/OpRequest.cc.o cd /build/ceph/src/ceph-15.2.14/build/src && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/CMakeFiles/common-objs.dir/osd/OpRequest.cc.o -MF CMakeFiles/common-objs.dir/osd/OpRequest.cc.o.d -o CMakeFiles/common-objs.dir/osd/OpRequest.cc.o -c /build/ceph/src/ceph-15.2.14/src/osd/OpRequest.cc In file included from /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:41, from /build/ceph/src/ceph-15.2.14/src/osd/OSDMap.h:38, from /build/ceph/src/ceph-15.2.14/src/osd/OSDMap.cc:24: /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:45:32: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/bits/stl_algobase.h:65, from /usr/include/c++/12.1.1/algorithm:60, from /build/ceph/src/ceph-15.2.14/src/osd/OSDMap.cc:18: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:109:38: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 7%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/async/PosixStack.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/msg && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/msg/CMakeFiles/common-msg-objs.dir/async/PosixStack.cc.o -MF CMakeFiles/common-msg-objs.dir/async/PosixStack.cc.o.d -o CMakeFiles/common-msg-objs.dir/async/PosixStack.cc.o -c /build/ceph/src/ceph-15.2.14/src/msg/async/PosixStack.cc [ 7%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/ostream_temp.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DCEPH_DATADIR=\"/usr/share/ceph\" -DCEPH_LIBDIR=\"/usr/lib\" -DCEPH_PKGLIBDIR=\"/usr/lib/ceph\" -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/common/CMakeFiles/common-common-objs.dir/ostream_temp.cc.o -MF CMakeFiles/common-common-objs.dir/ostream_temp.cc.o.d -o CMakeFiles/common-common-objs.dir/ostream_temp.cc.o -c /build/ceph/src/ceph-15.2.14/src/common/ostream_temp.cc In file included from /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:41, from /build/ceph/src/ceph-15.2.14/src/osd/OSDMap.h:38, from /build/ceph/src/ceph-15.2.14/src/osd/osd_types.cc:38: /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:45:32: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/bits/stl_algobase.h:65, from /usr/include/c++/12.1.1/list:60, from /build/ceph/src/ceph-15.2.14/src/osd/osd_types.cc:18: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:109:38: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /build/ceph/src/ceph-15.2.14/src/librados/ListObjectImpl.h:19, from /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:50: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' [ 7%] Built target shec_utils [ 7%] Building CXX object src/CMakeFiles/common-objs.dir/osd/ClassHandler.cc.o cd /build/ceph/src/ceph-15.2.14/build/src && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/CMakeFiles/common-objs.dir/osd/ClassHandler.cc.o -MF CMakeFiles/common-objs.dir/osd/ClassHandler.cc.o.d -o CMakeFiles/common-objs.dir/osd/ClassHandler.cc.o -c /build/ceph/src/ceph-15.2.14/src/osd/ClassHandler.cc In file included from /build/ceph/src/ceph-15.2.14/src/librados/ListObjectImpl.h:19, from /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:50: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /build/ceph/src/ceph-15.2.14/src/librados/ListObjectImpl.h:19, from /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:50: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 3%] Building CXX object CMakeFiles/rocksdb.dir/db/compaction.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/db/compaction.cc.o -MF CMakeFiles/rocksdb.dir/db/compaction.cc.o.d -o CMakeFiles/rocksdb.dir/db/compaction.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/db/compaction.cc [ 7%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/OutputDataSocket.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DCEPH_DATADIR=\"/usr/share/ceph\" -DCEPH_LIBDIR=\"/usr/lib\" -DCEPH_PKGLIBDIR=\"/usr/lib/ceph\" -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/common/CMakeFiles/common-common-objs.dir/OutputDataSocket.cc.o -MF CMakeFiles/common-common-objs.dir/OutputDataSocket.cc.o.d -o CMakeFiles/common-common-objs.dir/OutputDataSocket.cc.o -c /build/ceph/src/ceph-15.2.14/src/common/OutputDataSocket.cc In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/auth/AuthSessionHandler.h:20, from /build/ceph/src/ceph-15.2.14/src/auth/cephx/CephxSessionHandler.h:16, from /build/ceph/src/ceph-15.2.14/src/auth/cephx/CephxSessionHandler.cc:15: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/auth/Crypto.h:19, from /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:18, from /build/ceph/src/ceph-15.2.14/src/auth/AuthAuthorizeHandler.h:18, from /build/ceph/src/ceph-15.2.14/src/auth/none/AuthNoneAuthorizeHandler.h:18, from /build/ceph/src/ceph-15.2.14/src/auth/none/AuthNoneAuthorizeHandler.cc:15: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying [ 7%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/PluginRegistry.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DCEPH_DATADIR=\"/usr/share/ceph\" -DCEPH_LIBDIR=\"/usr/lib\" -DCEPH_PKGLIBDIR=\"/usr/lib/ceph\" -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/common/CMakeFiles/common-common-objs.dir/PluginRegistry.cc.o -MF CMakeFiles/common-common-objs.dir/PluginRegistry.cc.o.d -o CMakeFiles/common-common-objs.dir/PluginRegistry.cc.o -c /build/ceph/src/ceph-15.2.14/src/common/PluginRegistry.cc /build/ceph/src/ceph-15.2.14/src/osd/OSDMap.cc: In member function ‘void OSDMap::encode_client_old(ceph::buffer::v15_2_0::list&) const’: /build/ceph/src/ceph-15.2.14/src/osd/OSDMap.cc:2805:19: warning: loop variable ‘pg’ creates a copy from type ‘const std::pair >’ [-Wrange-loop-construct] 2805 | for (const auto pg : *pg_temp) { | ^~ /build/ceph/src/ceph-15.2.14/src/osd/OSDMap.cc:2805:19: note: use reference type to prevent copying 2805 | for (const auto pg : *pg_temp) { | ^~ | & /build/ceph/src/ceph-15.2.14/src/osd/OSDMap.cc: In member function ‘void OSDMap::print(std::ostream&) const’: /build/ceph/src/ceph-15.2.14/src/osd/OSDMap.cc:3824:19: warning: loop variable ‘pg’ creates a copy from type ‘const std::pair >’ [-Wrange-loop-construct] 3824 | for (const auto pg : *pg_temp) | ^~ /build/ceph/src/ceph-15.2.14/src/osd/OSDMap.cc:3824:19: note: use reference type to prevent copying 3824 | for (const auto pg : *pg_temp) | ^~ | & In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/compact_map.h:16, from /build/ceph/src/ceph-15.2.14/src/include/mempool.h:32, from /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:33: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/CompatSet.h:85:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying [ 7%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/Readahead.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DCEPH_DATADIR=\"/usr/share/ceph\" -DCEPH_LIBDIR=\"/usr/lib\" -DCEPH_PKGLIBDIR=\"/usr/lib/ceph\" -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/common/CMakeFiles/common-common-objs.dir/Readahead.cc.o -MF CMakeFiles/common-common-objs.dir/Readahead.cc.o.d -o CMakeFiles/common-common-objs.dir/Readahead.cc.o -c /build/ceph/src/ceph-15.2.14/src/common/Readahead.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying [ 8%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/RefCountedObj.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DCEPH_DATADIR=\"/usr/share/ceph\" -DCEPH_LIBDIR=\"/usr/lib\" -DCEPH_PKGLIBDIR=\"/usr/lib/ceph\" -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/common/CMakeFiles/common-common-objs.dir/RefCountedObj.cc.o -MF CMakeFiles/common-common-objs.dir/RefCountedObj.cc.o.d -o CMakeFiles/common-common-objs.dir/RefCountedObj.cc.o -c /build/ceph/src/ceph-15.2.14/src/common/RefCountedObj.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:3809:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&’ {aka ‘const std::pair, std::optional >&’} binds to a temporary constructed from type ‘const std::pair, std::optional >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' [ 8%] Built target common-auth-objs [ 8%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/SloppyCRCMap.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DCEPH_DATADIR=\"/usr/share/ceph\" -DCEPH_LIBDIR=\"/usr/lib\" -DCEPH_PKGLIBDIR=\"/usr/lib/ceph\" -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/common/CMakeFiles/common-common-objs.dir/SloppyCRCMap.cc.o -MF CMakeFiles/common-common-objs.dir/SloppyCRCMap.cc.o.d -o CMakeFiles/common-common-objs.dir/SloppyCRCMap.cc.o -c /build/ceph/src/ceph-15.2.14/src/common/SloppyCRCMap.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/CompatSet.h:85:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:41, from /build/ceph/src/ceph-15.2.14/src/osd/PGPeeringEvent.h:8, from /build/ceph/src/ceph-15.2.14/src/osd/PGPeeringEvent.cc:5: /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:45:32: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/bits/stl_algobase.h:65, from /usr/include/c++/12.1.1/bits/stl_tree.h:63, from /usr/include/c++/12.1.1/map:60, from /build/ceph/src/ceph-15.2.14/src/include/mempool.h:19, from /build/ceph/src/ceph-15.2.14/src/osd/PGPeeringEvent.cc:4: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:109:38: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, 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 -f src/perfglue/CMakeFiles/heap_profiler.dir/build.make src/perfglue/CMakeFiles/heap_profiler.dir/depend make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' cd /build/ceph/src/ceph-15.2.14/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/ceph/src/ceph-15.2.14 /build/ceph/src/ceph-15.2.14/src/perfglue /build/ceph/src/ceph-15.2.14/build /build/ceph/src/ceph-15.2.14/build/src/perfglue /build/ceph/src/ceph-15.2.14/build/src/perfglue/CMakeFiles/heap_profiler.dir/DependInfo.cmake --color= /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:3809:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&’ {aka ‘const std::pair, std::optional >&’} binds to a temporary constructed from type ‘const std::pair, std::optional >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' make -f src/perfglue/CMakeFiles/heap_profiler.dir/build.make src/perfglue/CMakeFiles/heap_profiler.dir/build make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' [ 9%] Building CXX object src/perfglue/CMakeFiles/heap_profiler.dir/heap_profiler.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/perfglue && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/perfglue/CMakeFiles/heap_profiler.dir/heap_profiler.cc.o -MF CMakeFiles/heap_profiler.dir/heap_profiler.cc.o.d -o CMakeFiles/heap_profiler.dir/heap_profiler.cc.o -c /build/ceph/src/ceph-15.2.14/src/perfglue/heap_profiler.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/librados/ListObjectImpl.h:19, from /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:50: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:906:11: required from ‘static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1005:15: required from ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned 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 /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/btree_map.h:10, from /build/ceph/src/ceph-15.2.14/src/osd/OSDMap.h:34: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/CompatSet.h:85:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/common/ceph_time.h:23, from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:31, from /build/ceph/src/ceph-15.2.14/src/osd/osd_types.cc:31: /build/ceph/src/ceph-15.2.14/src/include/interval_set.h: In instantiation of ‘void interval_set::erase(iterator&) [with T = long unsigned int; Map = std::map]’: /build/ceph/src/ceph-15.2.14/src/osd/osd_types.cc:4517:24: required from here /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:512:23: warning: comparison of unsigned expression in ‘>= 0’ is always true [-Wtype-limits] 512 | ceph_assert(_size >= 0); /build/ceph/src/ceph-15.2.14/src/include/ceph_assert.h:106:6: note: in definition of macro ‘ceph_assert’ 106 | ((expr) \ | ^~~~ /build/ceph/src/ceph-15.2.14/src/include/interval_set.h: In instantiation of ‘void interval_set::erase(T, T, std::function) [with T = long unsigned int; Map = std::map]’: /build/ceph/src/ceph-15.2.14/src/osd/osd_types.cc:4532:21: required from here /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:525:23: warning: comparison of unsigned expression in ‘>= 0’ is always true [-Wtype-limits] 525 | ceph_assert(_size >= 0); /build/ceph/src/ceph-15.2.14/src/include/ceph_assert.h:106:6: note: in definition of macro ‘ceph_assert’ 106 | ((expr) \ | ^~~~ /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/common/SloppyCRCMap.h:7, from /build/ceph/src/ceph-15.2.14/src/common/SloppyCRCMap.cc:4: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/common/SloppyCRCMap.cc:146:9: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, long unsigned int, unsigned int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, long unsigned int, unsigned int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:3809:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&’ {aka ‘const std::pair, std::optional >&’} binds to a temporary constructed from type ‘const std::pair, std::optional >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T’ {aka ‘const std::pair, std::optional >’} to make the copy explicit or ‘const std::pair, std::optional >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:41, from /build/ceph/src/ceph-15.2.14/src/osd/OSDMap.h:38, from /build/ceph/src/ceph-15.2.14/src/osd/osd_op_util.h:9, from /build/ceph/src/ceph-15.2.14/src/osd/OpRequest.h:17, from /build/ceph/src/ceph-15.2.14/src/osd/OpRequest.cc:3: /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:45:32: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/bits/stl_algobase.h:65, from /usr/include/c++/12.1.1/vector:60, from /build/ceph/src/ceph-15.2.14/src/osd/osd_op_util.h:6: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:109:38: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 3%] Building CXX object CMakeFiles/rocksdb.dir/db/compaction_iterator.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/db/compaction_iterator.cc.o -MF CMakeFiles/rocksdb.dir/db/compaction_iterator.cc.o.d -o CMakeFiles/rocksdb.dir/db/compaction_iterator.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/db/compaction_iterator.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details, std::less, mempool::pool_allocator > > > >; Ts = {long int, std::__cxx11::basic_string, std::allocator >, std::less, mempool::pool_allocator, std::allocator > > >}; container = std::map, std::less, mempool::pool_allocator > > >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::less, mempool::pool_allocator > > >; traits = denc_traits, std::less, mempool::pool_allocator > > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/OSDMap.cc:488:9: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::less, mempool::pool_allocator > > > >, long int, std::__cxx11::basic_string, std::allocator >, std::less, mempool::pool_allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::less, mempool::pool_allocator > > > >, long int, std::__cxx11::basic_string, std::allocator >, std::less, mempool::pool_allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::map, std::__cxx11::basic_string > >; C = std::map; Details = _denc::maplike_details, std::map, std::__cxx11::basic_string >, std::less >, mempool::pool_allocator, std::map, std::__cxx11::basic_string > > > > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >, std::less, std::allocator > >, mempool::pool_allocator, std::allocator >, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > > > >}; container = std::map, std::map, std::__cxx11::basic_string >, std::less >, mempool::pool_allocator, std::map, std::__cxx11::basic_string > > > >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::map, std::__cxx11::basic_string >, std::less >, mempool::pool_allocator, std::map, std::__cxx11::basic_string > > > >; traits = denc_traits, std::map, std::__cxx11::basic_string >, std::less >, mempool::pool_allocator, std::map, std::__cxx11::basic_string > > > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/OSDMap.cc:631:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::map, std::__cxx11::basic_string >, std::less >, mempool::pool_allocator, std::map, std::__cxx11::basic_string > > > > >, std::__cxx11::basic_string, std::allocator >, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >, std::less, std::allocator > >, mempool::pool_allocator, std::allocator >, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > > > > >::T&’ {aka ‘const std::pair, std::map, std::__cxx11::basic_string > >&’} binds to a temporary constructed from type ‘const std::pair, std::map, std::__cxx11::basic_string > >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::map, std::__cxx11::basic_string >, std::less >, mempool::pool_allocator, std::map, std::__cxx11::basic_string > > > > >, std::__cxx11::basic_string, std::allocator >, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >, std::less, std::allocator > >, mempool::pool_allocator, std::allocator >, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > > > > >::T’ {aka ‘const std::pair, std::map, std::__cxx11::basic_string > >’} to make the copy explicit or ‘const std::pair, std::map, std::__cxx11::basic_string > >&’ to prevent copying /build/ceph/src/ceph-15.2.14/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]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required 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]’ /build/ceph/src/ceph-15.2.14/src/osd/OSDMap.cc:640:13: required from here /build/ceph/src/ceph-15.2.14/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] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >, long int, interval_set, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >::T’ {aka ‘const std::pair, mempool::pool_allocator > > > >’} to make the copy explicit or ‘const std::pair, mempool::pool_allocator > > > >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/CompatSet.h:85:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/include/btree_map.h:9: /build/ceph/src/ceph-15.2.14/src/include/interval_set.h: In instantiation of ‘void interval_set::erase(T, T, std::function) [with T = snapid_t; Map = boost::container::flat_map, mempool::pool_allocator > >]’: /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:554:12: required from ‘void interval_set::subtract(const interval_set&) [with T = snapid_t; Map = boost::container::flat_map, mempool::pool_allocator > >]’ /build/ceph/src/ceph-15.2.14/src/osd/OSDMap.cc:2092:23: required from here /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:525:23: warning: comparison of unsigned expression in ‘>= 0’ is always true [-Wtype-limits] 525 | ceph_assert(_size >= 0); /build/ceph/src/ceph-15.2.14/src/include/ceph_assert.h:106:6: note: in definition of macro ‘ceph_assert’ 106 | ((expr) \ | ^~~~ /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/include/btree_map.h:7, from /build/ceph/src/ceph-15.2.14/src/osd/OSDMap.h:34, from /build/ceph/src/ceph-15.2.14/src/mon/PGMap.cc:17: In member function ‘btree::internal::btree_node*& btree::internal::btree_node::mutable_child(int) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]’, inlined from ‘void btree::internal::btree_node::swap(btree::internal::btree_node*, allocator_type*) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]’ at /build/ceph/src/ceph-15.2.14/src/include/cpp-btree/btree.h:1697:45, inlined from ‘btree::internal::btree::iterator btree::internal::btree::internal_emplace(iterator, Args&& ...) [with Args = {const std::pair*>&}; Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]’ at /build/ceph/src/ceph-15.2.14/src/include/cpp-btree/btree.h:2418:22: /build/ceph/src/ceph-15.2.14/src/include/cpp-btree/btree.h:515:84: warning: array subscript 32 is outside array bounds of ‘btree::internal::AlignedAlloc<8, std::allocator*> > >::M [32]’ [-Warray-bounds] 515 | btree_node*& mutable_child(int i) { return GetField<&internal_fields::children>()[i]; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ In file included from /usr/include/c++/12.1.1/riscv64-unknown-linux-gnu/bits/c++allocator.h:33, from /usr/include/c++/12.1.1/bits/allocator.h:46, from /usr/include/c++/12.1.1/string:41: In member function ‘_Tp* std::__new_allocator<_Tp>::allocate(size_type, const void*) [with _Tp = btree::internal::AlignedAlloc<8, std::allocator*> > >::M]’, inlined from ‘static _Tp* std::allocator_traits >::allocate(allocator_type&, size_type) [with _Tp = btree::internal::AlignedAlloc<8, std::allocator*> > >::M]’ at /usr/include/c++/12.1.1/bits/alloc_traits.h:464:28, inlined from ‘static void* btree::internal::AlignedAlloc::allocate(Alloc*, size_t) [with long unsigned int Alignment = 8; Alloc = std::allocator*> >]’ at /build/ceph/src/ceph-15.2.14/src/include/cpp-btree/btree.h:879:33, inlined from ‘btree::internal::btree::node_type* btree::internal::btree::allocate(size_type) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]’ at /build/ceph/src/ceph-15.2.14/src/include/cpp-btree/btree.h:1289:32, inlined from ‘btree::internal::btree::node_type* btree::internal::btree::new_leaf_root_node(int) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]’ at /build/ceph/src/ceph-15.2.14/src/include/cpp-btree/btree.h:1302:28, inlined from ‘btree::internal::btree::iterator btree::internal::btree::internal_emplace(iterator, Args&& ...) [with Args = {const std::pair*>&}; Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]’ at /build/ceph/src/ceph-15.2.14/src/include/cpp-btree/btree.h:2417:29: /usr/include/c++/12.1.1/bits/new_allocator.h:137:55: note: at offset 256 into object of size [64, 256] allocated by ‘operator new’ 137 | return static_cast<_Tp*>(_GLIBCXX_OPERATOR_NEW(__n * sizeof(_Tp))); | ^ In member function ‘btree::internal::btree_node*& btree::internal::btree_node::mutable_child(int) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]’, inlined from ‘void btree::internal::btree_node::swap(btree::internal::btree_node*, allocator_type*) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]’ at /build/ceph/src/ceph-15.2.14/src/include/cpp-btree/btree.h:1698:45, inlined from ‘btree::internal::btree::iterator btree::internal::btree::internal_emplace(iterator, Args&& ...) [with Args = {const std::pair*>&}; Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]’ at /build/ceph/src/ceph-15.2.14/src/include/cpp-btree/btree.h:2418:22: /build/ceph/src/ceph-15.2.14/src/include/cpp-btree/btree.h:515:84: warning: array subscript 32 is outside array bounds of ‘btree::internal::AlignedAlloc<8, std::allocator*> > >::M [32]’ [-Warray-bounds] 515 | btree_node*& mutable_child(int i) { return GetField<&internal_fields::children>()[i]; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ In member function ‘_Tp* std::__new_allocator<_Tp>::allocate(size_type, const void*) [with _Tp = btree::internal::AlignedAlloc<8, std::allocator*> > >::M]’, inlined from ‘static _Tp* std::allocator_traits >::allocate(allocator_type&, size_type) [with _Tp = btree::internal::AlignedAlloc<8, std::allocator*> > >::M]’ at /usr/include/c++/12.1.1/bits/alloc_traits.h:464:28, inlined from ‘static void* btree::internal::AlignedAlloc::allocate(Alloc*, size_t) [with long unsigned int Alignment = 8; Alloc = std::allocator*> >]’ at /build/ceph/src/ceph-15.2.14/src/include/cpp-btree/btree.h:879:33, inlined from ‘btree::internal::btree::node_type* btree::internal::btree::allocate(size_type) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]’ at /build/ceph/src/ceph-15.2.14/src/include/cpp-btree/btree.h:1289:32, inlined from ‘btree::internal::btree::node_type* btree::internal::btree::new_leaf_root_node(int) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]’ at /build/ceph/src/ceph-15.2.14/src/include/cpp-btree/btree.h:1302:28, inlined from ‘btree::internal::btree::iterator btree::internal::btree::internal_emplace(iterator, Args&& ...) [with Args = {const std::pair*>&}; Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]’ at /build/ceph/src/ceph-15.2.14/src/include/cpp-btree/btree.h:2417:29: /usr/include/c++/12.1.1/bits/new_allocator.h:137:55: note: at offset 256 into object of size [64, 256] allocated by ‘operator new’ 137 | return static_cast<_Tp*>(_GLIBCXX_OPERATOR_NEW(__n * sizeof(_Tp))); | ^ In member function ‘void btree::internal::btree_node::set_child(int, btree::internal::btree_node*) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]’, inlined from ‘void btree::internal::btree_node::init_child(int, btree::internal::btree_node*) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]’ at /build/ceph/src/ceph-15.2.14/src/include/cpp-btree/btree.h:526:14, inlined from ‘void btree::internal::btree_node::swap(btree::internal::btree_node*, allocator_type*) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]’ at /build/ceph/src/ceph-15.2.14/src/include/cpp-btree/btree.h:1708:26, inlined from ‘btree::internal::btree::iterator btree::internal::btree::internal_emplace(iterator, Args&& ...) [with Args = {const std::pair*>&}; Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]’ at /build/ceph/src/ceph-15.2.14/src/include/cpp-btree/btree.h:2418:22: /build/ceph/src/ceph-15.2.14/src/include/cpp-btree/btree.h:522:22: warning: array subscript 32 is outside array bounds of ‘btree::internal::AlignedAlloc<8, std::allocator*> > >::M [32]’ [-Warray-bounds] 522 | mutable_child(i) = c; | ~~~~~~~~~~~~~~~~~^~~ In member function ‘_Tp* std::__new_allocator<_Tp>::allocate(size_type, const void*) [with _Tp = btree::internal::AlignedAlloc<8, std::allocator*> > >::M]’, inlined from ‘static _Tp* std::allocator_traits >::allocate(allocator_type&, size_type) [with _Tp = btree::internal::AlignedAlloc<8, std::allocator*> > >::M]’ at /usr/include/c++/12.1.1/bits/alloc_traits.h:464:28, inlined from ‘static void* btree::internal::AlignedAlloc::allocate(Alloc*, size_t) [with long unsigned int Alignment = 8; Alloc = std::allocator*> >]’ at /build/ceph/src/ceph-15.2.14/src/include/cpp-btree/btree.h:879:33, inlined from ‘btree::internal::btree::node_type* btree::internal::btree::allocate(size_type) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]’ at /build/ceph/src/ceph-15.2.14/src/include/cpp-btree/btree.h:1289:32, inlined from ‘btree::internal::btree::node_type* btree::internal::btree::new_leaf_root_node(int) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]’ at /build/ceph/src/ceph-15.2.14/src/include/cpp-btree/btree.h:1302:28, inlined from ‘btree::internal::btree::iterator btree::internal::btree::internal_emplace(iterator, Args&& ...) [with Args = {const std::pair*>&}; Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]’ at /build/ceph/src/ceph-15.2.14/src/include/cpp-btree/btree.h:2417:29: /usr/include/c++/12.1.1/bits/new_allocator.h:137:55: note: at offset 256 into object of size [64, 256] allocated by ‘operator new’ 137 | return static_cast<_Tp*>(_GLIBCXX_OPERATOR_NEW(__n * sizeof(_Tp))); | ^ In member function ‘btree::internal::btree_node* btree::internal::btree_node::child(int) const [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]’, inlined from ‘void btree::internal::btree_node::swap(btree::internal::btree_node*, allocator_type*) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]’ at /build/ceph/src/ceph-15.2.14/src/include/cpp-btree/btree.h:1703:36, inlined from ‘btree::internal::btree::iterator btree::internal::btree::internal_emplace(iterator, Args&& ...) [with Args = {const std::pair*>&}; Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]’ at /build/ceph/src/ceph-15.2.14/src/include/cpp-btree/btree.h:2418:22: /build/ceph/src/ceph-15.2.14/src/include/cpp-btree/btree.h:514:83: warning: array subscript 32 is outside array bounds of ‘btree::internal::AlignedAlloc<8, std::allocator*> > >::M [32]’ [-Warray-bounds] 514 | btree_node* child(int i) const { return GetField<&internal_fields::children>()[i]; } | ^ In member function ‘_Tp* std::__new_allocator<_Tp>::allocate(size_type, const void*) [with _Tp = btree::internal::AlignedAlloc<8, std::allocator*> > >::M]’, inlined from ‘static _Tp* std::allocator_traits >::allocate(allocator_type&, size_type) [with _Tp = btree::internal::AlignedAlloc<8, std::allocator*> > >::M]’ at /usr/include/c++/12.1.1/bits/alloc_traits.h:464:28, inlined from ‘static void* btree::internal::AlignedAlloc::allocate(Alloc*, size_t) [with long unsigned int Alignment = 8; Alloc = std::allocator*> >]’ at /build/ceph/src/ceph-15.2.14/src/include/cpp-btree/btree.h:879:33, inlined from ‘btree::internal::btree::node_type* btree::internal::btree::allocate(size_type) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]’ at /build/ceph/src/ceph-15.2.14/src/include/cpp-btree/btree.h:1289:32, inlined from ‘btree::internal::btree::node_type* btree::internal::btree::new_leaf_root_node(int) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]’ at /build/ceph/src/ceph-15.2.14/src/include/cpp-btree/btree.h:1302:28, inlined from ‘btree::internal::btree::iterator btree::internal::btree::internal_emplace(iterator, Args&& ...) [with Args = {const std::pair*>&}; Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]’ at /build/ceph/src/ceph-15.2.14/src/include/cpp-btree/btree.h:2417:29: /usr/include/c++/12.1.1/bits/new_allocator.h:137:55: note: at offset 256 into object of size [64, 256] allocated by ‘operator new’ 137 | return static_cast<_Tp*>(_GLIBCXX_OPERATOR_NEW(__n * sizeof(_Tp))); | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/CompatSet.h:85:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:3809:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&’ {aka ‘const std::pair, std::optional >&’} binds to a temporary constructed from type ‘const std::pair, std::optional >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T’ {aka ‘const std::pair, std::optional >’} to make the copy explicit or ‘const std::pair, std::optional >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/librados/ListObjectImpl.h:19, from /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:50: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/compact_map.h:16, from /build/ceph/src/ceph-15.2.14/src/include/mempool.h:32: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/CompatSet.h:85:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:3809:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&’ {aka ‘const std::pair, std::optional >&’} binds to a temporary constructed from type ‘const std::pair, std::optional >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T’ {aka ‘const std::pair, std::optional >’} to make the copy explicit or ‘const std::pair, std::optional >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:3809:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&’ {aka ‘const std::pair, std::optional >&’} binds to a temporary constructed from type ‘const std::pair, std::optional >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T’ {aka ‘const std::pair, std::optional >’} to make the copy explicit or ‘const std::pair, std::optional >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In 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]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::ptr>; traits = denc_traits, buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/os/Transaction.h:922:11: required from here /build/ceph/src/ceph-15.2.14/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] /build/ceph/src/ceph-15.2.14/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 /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string > >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > > >; Ts = {int, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >, std::less, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > > > >}; container = std::map, std::__cxx11::basic_string > >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string > >; traits = denc_traits, std::__cxx11::basic_string > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.cc:528:9: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string > > >, int, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >, std::less, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string > >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string > >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string > > >, int, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >, std::less, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string > >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string > >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.cc:1909:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying make -f src/common/CMakeFiles/common_prioritycache_obj.dir/build.make src/common/CMakeFiles/common_prioritycache_obj.dir/depend /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::map, std::__cxx11::basic_string > >; C = std::map; Details = _denc::maplike_details, std::map, std::__cxx11::basic_string > > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >, std::less, std::allocator > >, std::allocator, std::allocator >, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > > > >}; container = std::map, std::map, std::__cxx11::basic_string > >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::map, std::__cxx11::basic_string > >; traits = denc_traits, std::map, std::__cxx11::basic_string > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.cc:2011:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::map, std::__cxx11::basic_string > > >, std::__cxx11::basic_string, std::allocator >, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >, std::less, std::allocator > >, std::allocator, std::allocator >, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > > > > >::T&’ {aka ‘const std::pair, std::map, std::__cxx11::basic_string > >&’} binds to a temporary constructed from type ‘const std::pair, std::map, std::__cxx11::basic_string > >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::map, std::__cxx11::basic_string > > >, std::__cxx11::basic_string, std::allocator >, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >, std::less, std::allocator > >, std::allocator, std::allocator >, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > > > > >::T’ {aka ‘const std::pair, std::map, std::__cxx11::basic_string > >’} to make the copy explicit or ‘const std::pair, std::map, std::__cxx11::basic_string > >&’ to prevent copying make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' cd /build/ceph/src/ceph-15.2.14/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/ceph/src/ceph-15.2.14 /build/ceph/src/ceph-15.2.14/src/common /build/ceph/src/ceph-15.2.14/build /build/ceph/src/ceph-15.2.14/build/src/common /build/ceph/src/ceph-15.2.14/build/src/common/CMakeFiles/common_prioritycache_obj.dir/DependInfo.cmake --color= /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, long int, std::map, std::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]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' make -f src/common/CMakeFiles/common_prioritycache_obj.dir/build.make src/common/CMakeFiles/common_prioritycache_obj.dir/build /build/ceph/src/ceph-15.2.14/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]’: /build/ceph/src/ceph-15.2.14/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]’ /build/ceph/src/ceph-15.2.14/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]’ /build/ceph/src/ceph-15.2.14/src/mon/health_check.h:115:3: required from here /build/ceph/src/ceph-15.2.14/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) { | ^ /build/ceph/src/ceph-15.2.14/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 make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' [ 9%] Building CXX object src/common/CMakeFiles/common_prioritycache_obj.dir/PriorityCache.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/common/CMakeFiles/common_prioritycache_obj.dir/PriorityCache.cc.o -MF CMakeFiles/common_prioritycache_obj.dir/PriorityCache.cc.o.d -o CMakeFiles/common_prioritycache_obj.dir/PriorityCache.cc.o -c /build/ceph/src/ceph-15.2.14/src/common/PriorityCache.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_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]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::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]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required 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]’ /build/ceph/src/ceph-15.2.14/src/osd/OSDMap.cc:455:9: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, mempool::pool_allocator > > >, int, unsigned int, std::less, mempool::pool_allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/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 /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::less, mempool::pool_allocator > > > >; Ts = {long int, std::__cxx11::basic_string, std::allocator >, std::less, mempool::pool_allocator, std::allocator > > >}; container = std::map, std::less, mempool::pool_allocator > > >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details, std::less, mempool::pool_allocator > > > >; Ts = {long int, std::__cxx11::basic_string, std::allocator >, std::less, mempool::pool_allocator, std::allocator > > >}; container = std::map, std::less, mempool::pool_allocator > > >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::less, mempool::pool_allocator > > >; traits = denc_traits, std::less, mempool::pool_allocator > > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/OSDMap.cc:488:9: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::less, mempool::pool_allocator > > > >, long int, std::__cxx11::basic_string, std::allocator >, std::less, mempool::pool_allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::less, mempool::pool_allocator > > > >, long int, std::__cxx11::basic_string, std::allocator >, std::less, mempool::pool_allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::less, mempool::pool_allocator > > > >; Ts = {int, std::pair, std::less, mempool::pool_allocator > >}; container = std::map, std::less, mempool::pool_allocator > > >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details, std::less, mempool::pool_allocator > > > >; Ts = {int, std::pair, std::less, mempool::pool_allocator > >}; container = std::map, std::less, mempool::pool_allocator > > >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::less, mempool::pool_allocator > > >; traits = denc_traits, std::less, mempool::pool_allocator > > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/OSDMap.cc:517:9: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::less, mempool::pool_allocator > > > >, int, std::pair, std::less, mempool::pool_allocator > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::less, mempool::pool_allocator > > > >, int, std::pair, std::less, mempool::pool_allocator > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::map, std::__cxx11::basic_string >, std::less >, mempool::pool_allocator, std::map, std::__cxx11::basic_string > > > > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >, std::less, std::allocator > >, mempool::pool_allocator, std::allocator >, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > > > >}; container = std::map, std::map, std::__cxx11::basic_string >, std::less >, mempool::pool_allocator, std::map, std::__cxx11::basic_string > > > >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::map, std::__cxx11::basic_string > >; C = std::map; Details = _denc::maplike_details, std::map, std::__cxx11::basic_string >, std::less >, mempool::pool_allocator, std::map, std::__cxx11::basic_string > > > > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >, std::less, std::allocator > >, mempool::pool_allocator, std::allocator >, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > > > >}; container = std::map, std::map, std::__cxx11::basic_string >, std::less >, mempool::pool_allocator, std::map, std::__cxx11::basic_string > > > >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::map, std::__cxx11::basic_string >, std::less >, mempool::pool_allocator, std::map, std::__cxx11::basic_string > > > >; traits = denc_traits, std::map, std::__cxx11::basic_string >, std::less >, mempool::pool_allocator, std::map, std::__cxx11::basic_string > > > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/OSDMap.cc:631:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::map, std::__cxx11::basic_string >, std::less >, mempool::pool_allocator, std::map, std::__cxx11::basic_string > > > > >, std::__cxx11::basic_string, std::allocator >, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >, std::less, std::allocator > >, mempool::pool_allocator, std::allocator >, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > > > > >::T&’ {aka ‘const std::pair, std::map, std::__cxx11::basic_string > >&’} binds to a temporary constructed from type ‘const std::pair, std::map, std::__cxx11::basic_string > >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::map, std::__cxx11::basic_string >, std::less >, mempool::pool_allocator, std::map, std::__cxx11::basic_string > > > > >, std::__cxx11::basic_string, std::allocator >, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >, std::less, std::allocator > >, mempool::pool_allocator, std::allocator >, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > > > > >::T’ {aka ‘const std::pair, std::map, std::__cxx11::basic_string > >’} to make the copy explicit or ‘const std::pair, std::map, std::__cxx11::basic_string > >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_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]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: 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]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required 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]’ /build/ceph/src/ceph-15.2.14/src/osd/OSDMap.cc:640:13: required from here /build/ceph/src/ceph-15.2.14/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] /build/ceph/src/ceph-15.2.14/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 /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/CompatSet.h:85:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {snapid_t, interval_set, std::allocator > > >, std::less, std::allocator, std::allocator > > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.cc:5576:9: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, snapid_t, interval_set, std::allocator > > >, std::less, std::allocator, std::allocator > > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, snapid_t, interval_set, std::allocator > > >, std::less, std::allocator, std::allocator > > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {snapid_t, std::vector >, std::less, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.cc:5578:9: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, snapid_t, std::vector >, std::less, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, snapid_t, std::vector >, std::less, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/msg/msg_types.h:23, from /build/ceph/src/ceph-15.2.14/src/msg/async/PosixStack.h:22, from /build/ceph/src/ceph-15.2.14/src/msg/async/PosixStack.cc:25: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/CompatSet.h:85:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:3809:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&’ {aka ‘const std::pair, std::optional >&’} binds to a temporary constructed from type ‘const std::pair, std::optional >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T’ {aka ‘const std::pair, std::optional >’} to make the copy explicit or ‘const std::pair, std::optional >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:3809:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&’ {aka ‘const std::pair, std::optional >&’} binds to a temporary constructed from type ‘const std::pair, std::optional >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T’ {aka ‘const std::pair, std::optional >’} to make the copy explicit or ‘const std::pair, std::optional >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const 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]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::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]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::ptr>; traits = denc_traits, buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/os/Transaction.h:922:11: required from here /build/ceph/src/ceph-15.2.14/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] /build/ceph/src/ceph-15.2.14/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 /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > > >; Ts = {int, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >, std::less, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > > > >}; container = std::map, std::__cxx11::basic_string > >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string > >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > > >; Ts = {int, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >, std::less, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > > > >}; container = std::map, std::__cxx11::basic_string > >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string > >; traits = denc_traits, std::__cxx11::basic_string > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.cc:528:9: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string > > >, int, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >, std::less, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string > >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string > >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string > > >, int, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >, std::less, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string > >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string > >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::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]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: 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]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h: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]’ /build/ceph/src/ceph-15.2.14/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]’ /build/ceph/src/ceph-15.2.14/src/mon/health_check.h:115:3: required from here /build/ceph/src/ceph-15.2.14/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] /build/ceph/src/ceph-15.2.14/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 /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.cc:1909:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::map, std::__cxx11::basic_string > > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >, std::less, std::allocator > >, std::allocator, std::allocator >, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > > > >}; container = std::map, std::map, std::__cxx11::basic_string > >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::map, std::__cxx11::basic_string > >; C = std::map; Details = _denc::maplike_details, std::map, std::__cxx11::basic_string > > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >, std::less, std::allocator > >, std::allocator, std::allocator >, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > > > >}; container = std::map, std::map, std::__cxx11::basic_string > >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::map, std::__cxx11::basic_string > >; traits = denc_traits, std::map, std::__cxx11::basic_string > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.cc:2011:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::map, std::__cxx11::basic_string > > >, std::__cxx11::basic_string, std::allocator >, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >, std::less, std::allocator > >, std::allocator, std::allocator >, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > > > > >::T&’ {aka ‘const std::pair, std::map, std::__cxx11::basic_string > >&’} binds to a temporary constructed from type ‘const std::pair, std::map, std::__cxx11::basic_string > >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::map, std::__cxx11::basic_string > > >, std::__cxx11::basic_string, std::allocator >, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >, std::less, std::allocator > >, std::allocator, std::allocator >, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > > > > >::T’ {aka ‘const std::pair, std::map, std::__cxx11::basic_string > >’} to make the copy explicit or ‘const std::pair, std::map, std::__cxx11::basic_string > >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {unsigned int, int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {unsigned int, int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required 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]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.cc:4677:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, mempool::pool_allocator > > >, unsigned int, int, std::less, mempool::pool_allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, mempool::pool_allocator > > >, unsigned int, int, std::less, mempool::pool_allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {snapid_t, interval_set, std::allocator > > >, std::less, std::allocator, std::allocator > > > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {snapid_t, interval_set, std::allocator > > >, std::less, std::allocator, std::allocator > > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.cc:5576:9: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, snapid_t, interval_set, std::allocator > > >, std::less, std::allocator, std::allocator > > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, snapid_t, interval_set, std::allocator > > >, std::less, std::allocator, std::allocator > > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {snapid_t, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {snapid_t, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.cc:5577:9: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, snapid_t, long unsigned int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, snapid_t, long unsigned int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {snapid_t, std::vector >, std::less, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {snapid_t, std::vector >, std::less, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.cc:5578:9: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, snapid_t, std::vector >, std::less, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, snapid_t, std::vector >, std::less, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:906:11: required from ‘static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1005:15: required from ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {snapid_t, snapid_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:364:36: required from ‘void interval_set::encode_nohead(ceph::buffer::v15_2_0::list::contiguous_appender&) const [with T = snapid_t; Map = std::map, std::allocator > >]’ /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:758:20: required from ‘static void denc_traits >::encode_nohead(const interval_set&, ceph::buffer::v15_2_0::list::contiguous_appender&) [with T = snapid_t; Map = std::map, std::allocator > >]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1627:24: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode_nohead(const T&, buffer::v15_2_0::list&) [with T = interval_set; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.cc:1849:18: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::allocator > > >, snapid_t, snapid_t, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::allocator > > >, snapid_t, snapid_t, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:654:25: required from ‘std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:895:11: required from ‘static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::bound_encode(const std::pair<_T1, _T2>&, size_t&, uint64_t) [with A = std::__cxx11::basic_string; B = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:654:25: required from ‘std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::pair, std::map, std::__cxx11::basic_string > >; traits = denc_traits, std::map, std::__cxx11::basic_string > >, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:967:17: required from ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::map, std::__cxx11::basic_string > >; C = std::map; Details = _denc::maplike_details, std::map, std::__cxx11::basic_string >, std::less >, mempool::pool_allocator, std::map, std::__cxx11::basic_string > > > > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >, std::less, std::allocator > >, mempool::pool_allocator, std::allocator >, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > > > >}; container = std::map, std::map, std::__cxx11::basic_string >, std::less >, mempool::pool_allocator, std::map, std::__cxx11::basic_string > > > >; size_t = long unsigned int; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::map, std::__cxx11::basic_string >, std::less >, mempool::pool_allocator, std::map, std::__cxx11::basic_string > > > >; traits = denc_traits, std::map, std::__cxx11::basic_string >, std::less >, mempool::pool_allocator, std::map, std::__cxx11::basic_string > > > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/OSDMap.cc:631:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:906:11: required from ‘static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1005:15: required from ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, 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) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:906:11: required from ‘static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = std::__cxx11::basic_string; B = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair, std::map, std::__cxx11::basic_string > >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, std::map, std::__cxx11::basic_string > >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1005:15: required from ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::map, std::__cxx11::basic_string >, std::less >, mempool::pool_allocator, std::map, std::__cxx11::basic_string > > > > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >, std::less, std::allocator > >, mempool::pool_allocator, std::allocator >, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > > > >}; container = std::map, std::map, std::__cxx11::basic_string >, std::less >, mempool::pool_allocator, std::map, std::__cxx11::basic_string > > > >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::map, std::__cxx11::basic_string > >; C = std::map; Details = _denc::maplike_details, std::map, std::__cxx11::basic_string >, std::less >, mempool::pool_allocator, std::map, std::__cxx11::basic_string > > > > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >, std::less, std::allocator > >, mempool::pool_allocator, std::allocator >, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > > > >}; container = std::map, std::map, std::__cxx11::basic_string >, std::less >, mempool::pool_allocator, std::map, std::__cxx11::basic_string > > > >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::map, std::__cxx11::basic_string >, std::less >, mempool::pool_allocator, std::map, std::__cxx11::basic_string > > > >; traits = denc_traits, std::map, std::__cxx11::basic_string >, std::less >, mempool::pool_allocator, std::map, std::__cxx11::basic_string > > > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/OSDMap.cc:631:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying [ 9%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/async/Stack.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/msg && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/msg/CMakeFiles/common-msg-objs.dir/async/Stack.cc.o -MF CMakeFiles/common-msg-objs.dir/async/Stack.cc.o.d -o CMakeFiles/common-msg-objs.dir/async/Stack.cc.o -c /build/ceph/src/ceph-15.2.14/src/msg/async/Stack.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:346:9: required from ‘void interval_set::encode(ceph::buffer::v15_2_0::list::contiguous_appender&) const [with T = long unsigned int; Map = std::map]’ /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:746:13: required from ‘static void denc_traits >::encode(const interval_set&, ceph::buffer::v15_2_0::list::contiguous_appender&) [with T = long unsigned int; Map = std::map]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556: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]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.cc:4576:9: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, long unsigned int, 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 /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/btree_map.h:10, from /build/ceph/src/ceph-15.2.14/src/osd/OSDMap.h:34: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/CompatSet.h:85:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:906:11: required from ‘static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1005:15: required from ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:3809:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&’ {aka ‘const std::pair, std::optional >&’} binds to a temporary constructed from type ‘const std::pair, std::optional >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T’ {aka ‘const std::pair, std::optional >’} to make the copy explicit or ‘const std::pair, std::optional >&’ to prevent copying [ 3%] Building CXX object CMakeFiles/rocksdb.dir/db/compaction_job.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/db/compaction_job.cc.o -MF CMakeFiles/rocksdb.dir/db/compaction_job.cc.o.d -o CMakeFiles/rocksdb.dir/db/compaction_job.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/db/compaction_job.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying [ 9%] Building CXX object src/CMakeFiles/common-objs.dir/osd/osd_op_util.cc.o cd /build/ceph/src/ceph-15.2.14/build/src && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/CMakeFiles/common-objs.dir/osd/osd_op_util.cc.o -MF CMakeFiles/common-objs.dir/osd/osd_op_util.cc.o.d -o CMakeFiles/common-objs.dir/osd/osd_op_util.cc.o -c /build/ceph/src/ceph-15.2.14/src/osd/osd_op_util.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/CompatSet.h:85:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:3809:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&’ {aka ‘const std::pair, std::optional >&’} binds to a temporary constructed from type ‘const std::pair, std::optional >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T’ {aka ‘const std::pair, std::optional >’} to make the copy explicit or ‘const std::pair, std::optional >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying [ 9%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/SubProcess.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DCEPH_DATADIR=\"/usr/share/ceph\" -DCEPH_LIBDIR=\"/usr/lib\" -DCEPH_PKGLIBDIR=\"/usr/lib/ceph\" -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/common/CMakeFiles/common-common-objs.dir/SubProcess.cc.o -MF CMakeFiles/common-common-objs.dir/SubProcess.cc.o.d -o CMakeFiles/common-common-objs.dir/SubProcess.cc.o -c /build/ceph/src/ceph-15.2.14/src/common/SubProcess.cc [ 9%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/Thread.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DCEPH_DATADIR=\"/usr/share/ceph\" -DCEPH_LIBDIR=\"/usr/lib\" -DCEPH_PKGLIBDIR=\"/usr/lib/ceph\" -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/common/CMakeFiles/common-common-objs.dir/Thread.cc.o -MF CMakeFiles/common-common-objs.dir/Thread.cc.o.d -o CMakeFiles/common-common-objs.dir/Thread.cc.o -c /build/ceph/src/ceph-15.2.14/src/common/Thread.cc [ 9%] Building CXX object src/CMakeFiles/common-objs.dir/osdc/Striper.cc.o cd /build/ceph/src/ceph-15.2.14/build/src && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/CMakeFiles/common-objs.dir/osdc/Striper.cc.o -MF CMakeFiles/common-objs.dir/osdc/Striper.cc.o.d -o CMakeFiles/common-objs.dir/osdc/Striper.cc.o -c /build/ceph/src/ceph-15.2.14/src/osdc/Striper.cc [ 9%] Building CXX object src/CMakeFiles/common-objs.dir/osdc/Objecter.cc.o cd /build/ceph/src/ceph-15.2.14/build/src && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/CMakeFiles/common-objs.dir/osdc/Objecter.cc.o -MF CMakeFiles/common-objs.dir/osdc/Objecter.cc.o.d -o CMakeFiles/common-objs.dir/osdc/Objecter.cc.o -c /build/ceph/src/ceph-15.2.14/src/osdc/Objecter.cc [ 9%] Building CXX object src/CMakeFiles/common-objs.dir/librbd/Features.cc.o cd /build/ceph/src/ceph-15.2.14/build/src && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/CMakeFiles/common-objs.dir/librbd/Features.cc.o -MF CMakeFiles/common-objs.dir/librbd/Features.cc.o.d -o CMakeFiles/common-objs.dir/librbd/Features.cc.o -c /build/ceph/src/ceph-15.2.14/src/librbd/Features.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:906:11: required from ‘static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1005:15: required from ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned 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 -f src/mgr/CMakeFiles/mgr_cap_obj.dir/build.make src/mgr/CMakeFiles/mgr_cap_obj.dir/depend make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' cd /build/ceph/src/ceph-15.2.14/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/ceph/src/ceph-15.2.14 /build/ceph/src/ceph-15.2.14/src/mgr /build/ceph/src/ceph-15.2.14/build /build/ceph/src/ceph-15.2.14/build/src/mgr /build/ceph/src/ceph-15.2.14/build/src/mgr/CMakeFiles/mgr_cap_obj.dir/DependInfo.cmake --color= make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' make -f src/mgr/CMakeFiles/mgr_cap_obj.dir/build.make src/mgr/CMakeFiles/mgr_cap_obj.dir/build make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' [ 9%] Building CXX object src/mgr/CMakeFiles/mgr_cap_obj.dir/MgrCap.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/mgr && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/mgr/CMakeFiles/mgr_cap_obj.dir/MgrCap.cc.o -MF CMakeFiles/mgr_cap_obj.dir/MgrCap.cc.o.d -o CMakeFiles/mgr_cap_obj.dir/MgrCap.cc.o -c /build/ceph/src/ceph-15.2.14/src/mgr/MgrCap.cc [ 9%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/Throttle.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DCEPH_DATADIR=\"/usr/share/ceph\" -DCEPH_LIBDIR=\"/usr/lib\" -DCEPH_PKGLIBDIR=\"/usr/lib/ceph\" -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/common/CMakeFiles/common-common-objs.dir/Throttle.cc.o -MF CMakeFiles/common-common-objs.dir/Throttle.cc.o.d -o CMakeFiles/common-common-objs.dir/Throttle.cc.o -c /build/ceph/src/ceph-15.2.14/src/common/Throttle.cc [ 9%] Linking CXX static library ../../lib/libheap_profiler.a cd /build/ceph/src/ceph-15.2.14/build/src/perfglue && /usr/bin/cmake -P CMakeFiles/heap_profiler.dir/cmake_clean_target.cmake cd /build/ceph/src/ceph-15.2.14/build/src/perfglue && /usr/bin/cmake -E cmake_link_script CMakeFiles/heap_profiler.dir/link.txt --verbose=1 /usr/bin/ar qc ../../lib/libheap_profiler.a CMakeFiles/heap_profiler.dir/heap_profiler.cc.o /usr/bin/ranlib ../../lib/libheap_profiler.a make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' [ 9%] Built target heap_profiler [ 9%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/Timer.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DCEPH_DATADIR=\"/usr/share/ceph\" -DCEPH_LIBDIR=\"/usr/lib\" -DCEPH_PKGLIBDIR=\"/usr/lib/ceph\" -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/common/CMakeFiles/common-common-objs.dir/Timer.cc.o -MF CMakeFiles/common-common-objs.dir/Timer.cc.o.d -o CMakeFiles/common-common-objs.dir/Timer.cc.o -c /build/ceph/src/ceph-15.2.14/src/common/Timer.cc [ 3%] Building CXX object CMakeFiles/rocksdb.dir/db/compaction_picker.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/db/compaction_picker.cc.o -MF CMakeFiles/rocksdb.dir/db/compaction_picker.cc.o.d -o CMakeFiles/rocksdb.dir/db/compaction_picker.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/db/compaction_picker.cc [ 3%] Building CXX object CMakeFiles/rocksdb.dir/db/compaction_picker_fifo.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/db/compaction_picker_fifo.cc.o -MF CMakeFiles/rocksdb.dir/db/compaction_picker_fifo.cc.o.d -o CMakeFiles/rocksdb.dir/db/compaction_picker_fifo.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/db/compaction_picker_fifo.cc In file included from /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:41, from /build/ceph/src/ceph-15.2.14/src/osd/OSDMap.h:38, from /build/ceph/src/ceph-15.2.14/src/osd/osd_op_util.h:9, from /build/ceph/src/ceph-15.2.14/src/osd/osd_op_util.cc:4: /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:45:32: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/bits/stl_algobase.h:65, from /usr/include/c++/12.1.1/vector:60, from /build/ceph/src/ceph-15.2.14/src/osd/osd_op_util.h:6: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:109:38: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 9%] Building CXX object src/CMakeFiles/common-objs.dir/mds/MDSMap.cc.o cd /build/ceph/src/ceph-15.2.14/build/src && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/CMakeFiles/common-objs.dir/mds/MDSMap.cc.o -MF CMakeFiles/common-objs.dir/mds/MDSMap.cc.o.d -o CMakeFiles/common-objs.dir/mds/MDSMap.cc.o -c /build/ceph/src/ceph-15.2.14/src/mds/MDSMap.cc make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' [ 9%] Built target common_prioritycache_obj [ 9%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/async/crypto_onwire.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/msg && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/msg/CMakeFiles/common-msg-objs.dir/async/crypto_onwire.cc.o -MF CMakeFiles/common-msg-objs.dir/async/crypto_onwire.cc.o.d -o CMakeFiles/common-msg-objs.dir/async/crypto_onwire.cc.o -c /build/ceph/src/ceph-15.2.14/src/msg/async/crypto_onwire.cc In file included from /build/ceph/src/ceph-15.2.14/src/librados/ListObjectImpl.h:19, from /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:50: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 9%] Building CXX object src/CMakeFiles/common-objs.dir/mds/FSMap.cc.o cd /build/ceph/src/ceph-15.2.14/build/src && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/CMakeFiles/common-objs.dir/mds/FSMap.cc.o -MF CMakeFiles/common-objs.dir/mds/FSMap.cc.o.d -o CMakeFiles/common-objs.dir/mds/FSMap.cc.o -c /build/ceph/src/ceph-15.2.14/src/mds/FSMap.cc In file included from /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:41, from /build/ceph/src/ceph-15.2.14/src/osdc/Striper.h:20, from /build/ceph/src/ceph-15.2.14/src/osdc/Striper.cc:15: /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:45:32: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/bits/stl_algobase.h:65, from /usr/include/c++/12.1.1/bits/stl_tree.h:63, from /usr/include/c++/12.1.1/set:60, from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:17, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/osdc/Striper.h:19: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:109:38: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /usr/include/boost/smart_ptr/detail/sp_thread_sleep.hpp:22, from /usr/include/boost/smart_ptr/detail/yield_k.hpp:23, from /usr/include/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp:14, from /usr/include/boost/smart_ptr/detail/spinlock.hpp:42, from /usr/include/boost/smart_ptr/detail/spinlock_pool.hpp:25, from /usr/include/boost/smart_ptr/shared_ptr.hpp:29, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/spirit/home/qi/string/symbols.hpp:30, from /usr/include/boost/spirit/home/qi/string.hpp:15, from /usr/include/boost/spirit/home/qi.hpp:28, from /usr/include/boost/spirit/include/qi.hpp:16, from /build/ceph/src/ceph-15.2.14/src/mgr/MgrCap.cc:17: /usr/include/boost/spirit/include/phoenix.hpp:12:1: note: ‘#pragma message: This header is deprecated. Use instead.’ 12 | BOOST_HEADER_DEPRECATED("") | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/ceph/src/ceph-15.2.14/src/librados/ListObjectImpl.h:19, from /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:50: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:41, from /build/ceph/src/ceph-15.2.14/src/messages/MOSDFastDispatchOp.h:8, from /build/ceph/src/ceph-15.2.14/src/messages/MOSDOp.h:21, from /build/ceph/src/ceph-15.2.14/src/osdc/Objecter.h:43, from /build/ceph/src/ceph-15.2.14/src/osdc/Objecter.cc:17: /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:45:32: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/string:45, from /usr/include/c++/12.1.1/stdexcept:39, from /usr/include/c++/12.1.1/system_error:41, from /usr/include/c++/12.1.1/bits/std_mutex.h:39, from /usr/include/c++/12.1.1/condition_variable:39, from /build/ceph/src/ceph-15.2.14/src/osdc/Objecter.h:18: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:109:38: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 9%] Building CXX object src/CMakeFiles/common-objs.dir/mds/inode_backtrace.cc.o cd /build/ceph/src/ceph-15.2.14/build/src && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/CMakeFiles/common-objs.dir/mds/inode_backtrace.cc.o -MF CMakeFiles/common-objs.dir/mds/inode_backtrace.cc.o.d -o CMakeFiles/common-objs.dir/mds/inode_backtrace.cc.o -c /build/ceph/src/ceph-15.2.14/src/mds/inode_backtrace.cc [ 9%] Building CXX object src/CMakeFiles/common-objs.dir/mds/FSMapUser.cc.o cd /build/ceph/src/ceph-15.2.14/build/src && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/CMakeFiles/common-objs.dir/mds/FSMapUser.cc.o -MF CMakeFiles/common-objs.dir/mds/FSMapUser.cc.o.d -o CMakeFiles/common-objs.dir/mds/FSMapUser.cc.o -c /build/ceph/src/ceph-15.2.14/src/mds/FSMapUser.cc In file included from /build/ceph/src/ceph-15.2.14/src/librados/ListObjectImpl.h:19, from /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:50: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 3%] Building CXX object CMakeFiles/rocksdb.dir/db/compaction_picker_universal.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/db/compaction_picker_universal.cc.o -MF CMakeFiles/rocksdb.dir/db/compaction_picker_universal.cc.o.d -o CMakeFiles/rocksdb.dir/db/compaction_picker_universal.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/db/compaction_picker_universal.cc In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/btree_map.h:10, from /build/ceph/src/ceph-15.2.14/src/osd/OSDMap.h:34: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/CompatSet.h:85:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:3809:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&’ {aka ‘const std::pair, std::optional >&’} binds to a temporary constructed from type ‘const std::pair, std::optional >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T’ {aka ‘const std::pair, std::optional >’} to make the copy explicit or ‘const std::pair, std::optional >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/CompatSet.h:85:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying [ 3%] Building CXX object CMakeFiles/rocksdb.dir/db/convenience.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/db/convenience.cc.o -MF CMakeFiles/rocksdb.dir/db/convenience.cc.o.d -o CMakeFiles/rocksdb.dir/db/convenience.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/db/convenience.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:3809:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&’ {aka ‘const std::pair, std::optional >&’} binds to a temporary constructed from type ‘const std::pair, std::optional >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T’ {aka ‘const std::pair, std::optional >’} to make the copy explicit or ‘const std::pair, std::optional >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/CompatSet.h:85:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:3809:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&’ {aka ‘const std::pair, std::optional >&’} binds to a temporary constructed from type ‘const std::pair, std::optional >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T’ {aka ‘const std::pair, std::optional >’} to make the copy explicit or ‘const std::pair, std::optional >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying [ 6%] Building CXX object CMakeFiles/rocksdb.dir/db/db_filesnapshot.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/db/db_filesnapshot.cc.o -MF CMakeFiles/rocksdb.dir/db/db_filesnapshot.cc.o.d -o CMakeFiles/rocksdb.dir/db/db_filesnapshot.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/db/db_filesnapshot.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/CompatSet.h:85:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/mon/Session.h:22, from /build/ceph/src/ceph-15.2.14/src/messages/PaxosServiceMessage.h:7, from /build/ceph/src/ceph-15.2.14/src/messages/MPoolOp.h:18, from /build/ceph/src/ceph-15.2.14/src/osdc/Objecter.cc:32: /build/ceph/src/ceph-15.2.14/src/include/xlist.h:162:24: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/xlist.h:186:30: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:3809:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&’ {aka ‘const std::pair, std::optional >&’} binds to a temporary constructed from type ‘const std::pair, std::optional >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T’ {aka ‘const std::pair, std::optional >’} to make the copy explicit or ‘const std::pair, std::optional >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:906:11: required from ‘static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1005:15: required from ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying [ 9%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/TracepointProvider.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DCEPH_DATADIR=\"/usr/share/ceph\" -DCEPH_LIBDIR=\"/usr/lib\" -DCEPH_PKGLIBDIR=\"/usr/lib/ceph\" -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/common/CMakeFiles/common-common-objs.dir/TracepointProvider.cc.o -MF CMakeFiles/common-common-objs.dir/TracepointProvider.cc.o.d -o CMakeFiles/common-common-objs.dir/TracepointProvider.cc.o -c /build/ceph/src/ceph-15.2.14/src/common/TracepointProvider.cc [ 9%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/TrackedOp.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DCEPH_DATADIR=\"/usr/share/ceph\" -DCEPH_LIBDIR=\"/usr/lib\" -DCEPH_PKGLIBDIR=\"/usr/lib/ceph\" -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/common/CMakeFiles/common-common-objs.dir/TrackedOp.cc.o -MF CMakeFiles/common-common-objs.dir/TrackedOp.cc.o.d -o CMakeFiles/common-common-objs.dir/TrackedOp.cc.o -c /build/ceph/src/ceph-15.2.14/src/common/TrackedOp.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:906:11: required from ‘static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1005:15: required from ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned 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 /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/auth/Crypto.h:19, from /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:18, from /build/ceph/src/ceph-15.2.14/src/msg/async/crypto_onwire.h:22, from /build/ceph/src/ceph-15.2.14/src/msg/async/crypto_onwire.cc:7: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/mds/mdstypes.h:21, from /build/ceph/src/ceph-15.2.14/src/mds/MDSMap.h:37, from /build/ceph/src/ceph-15.2.14/src/mds/MDSMap.cc:18: /build/ceph/src/ceph-15.2.14/src/include/xlist.h:162:24: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/string:45, from /build/ceph/src/ceph-15.2.14/src/include/ceph_assert.h:5, from /build/ceph/src/ceph-15.2.14/src/common/dout.h:21, from /build/ceph/src/ceph-15.2.14/src/common/debug.h:18, from /build/ceph/src/ceph-15.2.14/src/mds/MDSMap.cc:15: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/xlist.h:186:30: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /build/ceph/src/ceph-15.2.14/src/mds/mdstypes.h:22: /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:45:32: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:109:38: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 9%] Building CXX object src/CMakeFiles/common-objs.dir/mds/mdstypes.cc.o cd /build/ceph/src/ceph-15.2.14/build/src && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/CMakeFiles/common-objs.dir/mds/mdstypes.cc.o -MF CMakeFiles/common-objs.dir/mds/mdstypes.cc.o.d -o CMakeFiles/common-objs.dir/mds/mdstypes.cc.o -c /build/ceph/src/ceph-15.2.14/src/mds/mdstypes.cc In file included from /build/ceph/src/ceph-15.2.14/src/mds/mdstypes.h:21, from /build/ceph/src/ceph-15.2.14/src/mds/MDSMap.h:37, from /build/ceph/src/ceph-15.2.14/src/mds/FSMap.h:29, from /build/ceph/src/ceph-15.2.14/src/mds/FSMap.cc:16: /build/ceph/src/ceph-15.2.14/src/include/xlist.h:162:24: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/bits/stl_algobase.h:65, from /usr/include/c++/12.1.1/bits/stl_tree.h:63, from /usr/include/c++/12.1.1/map:60, from /build/ceph/src/ceph-15.2.14/src/mds/FSMap.h:19: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/xlist.h:186:30: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /build/ceph/src/ceph-15.2.14/src/mds/mdstypes.h:22: /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:45:32: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:109:38: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 9%] Building CXX object src/CMakeFiles/common-objs.dir/mds/flock.cc.o cd /build/ceph/src/ceph-15.2.14/build/src && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/CMakeFiles/common-objs.dir/mds/flock.cc.o -MF CMakeFiles/common-objs.dir/mds/flock.cc.o.d -o CMakeFiles/common-objs.dir/mds/flock.cc.o -c /build/ceph/src/ceph-15.2.14/src/mds/flock.cc In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/osdc/Objecter.h:31: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/CompatSet.h:85:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:3809:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&’ {aka ‘const std::pair, std::optional >&’} binds to a temporary constructed from type ‘const std::pair, std::optional >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T’ {aka ‘const std::pair, std::optional >’} to make the copy explicit or ‘const std::pair, std::optional >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/mds/mdstypes.h:21, from /build/ceph/src/ceph-15.2.14/src/mds/FSMapUser.h:21, from /build/ceph/src/ceph-15.2.14/src/mds/FSMapUser.cc:1: /build/ceph/src/ceph-15.2.14/src/include/xlist.h:162:24: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/bits/stl_algobase.h:65, from /usr/include/c++/12.1.1/bits/stl_tree.h:63, from /usr/include/c++/12.1.1/map:60, from /build/ceph/src/ceph-15.2.14/src/mds/FSMapUser.h:17: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/xlist.h:186:30: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osdc/Objecter.h:710:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&’ {aka ‘const std::pair, std::pair >&’} binds to a temporary constructed from type ‘const std::pair, std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::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 /build/ceph/src/ceph-15.2.14/src/mds/mdstypes.h:22: /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:45:32: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:109:38: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/mon_types.h:100:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/mon_types.h:258:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/mon_types.h:259:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&’ {aka ‘const std::pair, long unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, long unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T’ {aka ‘const std::pair, long unsigned int>’} to make the copy explicit or ‘const std::pair, long unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::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]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/messages/MOSDMap.h:143:11: required from here /build/ceph/src/ceph-15.2.14/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] /build/ceph/src/ceph-15.2.14/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 [ 6%] Building CXX object CMakeFiles/rocksdb.dir/db/db_impl.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/db/db_impl.cc.o -MF CMakeFiles/rocksdb.dir/db/db_impl.cc.o.d -o CMakeFiles/rocksdb.dir/db/db_impl.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/db/db_impl.cc In file included from /build/ceph/src/ceph-15.2.14/src/mds/mdstypes.h:21, from /build/ceph/src/ceph-15.2.14/src/mds/inode_backtrace.h:8, from /build/ceph/src/ceph-15.2.14/src/mds/inode_backtrace.cc:4: /build/ceph/src/ceph-15.2.14/src/include/xlist.h:162:24: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/bits/stl_iterator.h:64, from /usr/include/c++/12.1.1/bits/range_access.h:38, from /usr/include/c++/12.1.1/string_view:44, from /build/ceph/src/ceph-15.2.14/src/mds/inode_backtrace.h:6: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/xlist.h:186:30: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /build/ceph/src/ceph-15.2.14/src/mds/mdstypes.h:22: /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:45:32: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:109:38: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 9%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/async/frames_v2.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/msg && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/msg/CMakeFiles/common-msg-objs.dir/async/frames_v2.cc.o -MF CMakeFiles/common-msg-objs.dir/async/frames_v2.cc.o.d -o CMakeFiles/common-msg-objs.dir/async/frames_v2.cc.o -c /build/ceph/src/ceph-15.2.14/src/msg/async/frames_v2.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/CompatSet.h:85:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:3809:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&’ {aka ‘const std::pair, std::optional >&’} binds to a temporary constructed from type ‘const std::pair, std::optional >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T’ {aka ‘const std::pair, std::optional >’} to make the copy explicit or ‘const std::pair, std::optional >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osdc/Objecter.h:710:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&’ {aka ‘const std::pair, std::pair >&’} binds to a temporary constructed from type ‘const std::pair, std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T’ {aka ‘const std::pair, std::pair >’} to make the copy explicit or ‘const std::pair, std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/mon_types.h:100:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/mon_types.h:258:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/mon_types.h:259:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&’ {aka ‘const std::pair, long unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, long unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T’ {aka ‘const std::pair, long unsigned int>’} to make the copy explicit or ‘const std::pair, long unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_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]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, 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]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/messages/MOSDMap.h:143:11: required from here /build/ceph/src/ceph-15.2.14/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] /build/ceph/src/ceph-15.2.14/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 [ 9%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/async/net_handler.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/msg && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/msg/CMakeFiles/common-msg-objs.dir/async/net_handler.cc.o -MF CMakeFiles/common-msg-objs.dir/async/net_handler.cc.o.d -o CMakeFiles/common-msg-objs.dir/async/net_handler.cc.o -c /build/ceph/src/ceph-15.2.14/src/msg/async/net_handler.cc In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/msg/msg_types.h:23, from /build/ceph/src/ceph-15.2.14/src/common/ceph_context.h:33, from /build/ceph/src/ceph-15.2.14/src/common/dout.h:29: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/CompatSet.h:85:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/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]’: /build/ceph/src/ceph-15.2.14/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]’ /build/ceph/src/ceph-15.2.14/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]’ /build/ceph/src/ceph-15.2.14/src/mon/health_check.h:115:3: required from here /build/ceph/src/ceph-15.2.14/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] /build/ceph/src/ceph-15.2.14/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 /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/CompatSet.h:85:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::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]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const 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]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mds/MDSMap.cc:672:11: required from here /build/ceph/src/ceph-15.2.14/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] /build/ceph/src/ceph-15.2.14/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 /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::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]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: 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]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h: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]’ /build/ceph/src/ceph-15.2.14/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]’ /build/ceph/src/ceph-15.2.14/src/mon/health_check.h:115:3: required from here /build/ceph/src/ceph-15.2.14/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] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T’ {aka ‘const std::pair, health_check_t>’} to make the copy explicit or ‘const std::pair, health_check_t>&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/mds/FSMap.h:27: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/CompatSet.h:85:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying [ 6%] Building CXX object CMakeFiles/rocksdb.dir/db/db_impl_write.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/db/db_impl_write.cc.o -MF CMakeFiles/rocksdb.dir/db/db_impl_write.cc.o.d -o CMakeFiles/rocksdb.dir/db/db_impl_write.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/db/db_impl_write.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:906:11: required from ‘static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1005:15: required from ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:906:11: required from ‘static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1005:15: required from ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/mon_types.h:100:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/CompatSet.h:85:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/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]’: /build/ceph/src/ceph-15.2.14/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]’ /build/ceph/src/ceph-15.2.14/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]’ /build/ceph/src/ceph-15.2.14/src/mon/health_check.h:115:3: required from here /build/ceph/src/ceph-15.2.14/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) { | ^ /build/ceph/src/ceph-15.2.14/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 [ 6%] Building CXX object CMakeFiles/rocksdb.dir/db/db_impl_compaction_flush.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/db/db_impl_compaction_flush.cc.o -MF CMakeFiles/rocksdb.dir/db/db_impl_compaction_flush.cc.o.d -o CMakeFiles/rocksdb.dir/db/db_impl_compaction_flush.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/db/db_impl_compaction_flush.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::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]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: 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]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h: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]’ /build/ceph/src/ceph-15.2.14/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]’ /build/ceph/src/ceph-15.2.14/src/mon/health_check.h:115:3: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T&’ {aka ‘const std::pair, health_check_t>&’} binds to a temporary constructed from type ‘const std::pair, health_check_t>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T’ {aka ‘const std::pair, health_check_t>’} to make the copy explicit or ‘const std::pair, health_check_t>&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/common/histogram.h:18, from /build/ceph/src/ceph-15.2.14/src/common/TrackedOp.h:19, from /build/ceph/src/ceph-15.2.14/src/common/TrackedOp.cc:13: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/msg/async/frames_v2.h:4, from /build/ceph/src/ceph-15.2.14/src/msg/async/frames_v2.cc:15: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying [ 6%] Building CXX object CMakeFiles/rocksdb.dir/db/db_impl_files.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/db/db_impl_files.cc.o -MF CMakeFiles/rocksdb.dir/db/db_impl_files.cc.o.d -o CMakeFiles/rocksdb.dir/db/db_impl_files.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/db/db_impl_files.cc [ 9%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/WorkQueue.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DCEPH_DATADIR=\"/usr/share/ceph\" -DCEPH_LIBDIR=\"/usr/lib\" -DCEPH_PKGLIBDIR=\"/usr/lib/ceph\" -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/common/CMakeFiles/common-common-objs.dir/WorkQueue.cc.o -MF CMakeFiles/common-common-objs.dir/WorkQueue.cc.o.d -o CMakeFiles/common-common-objs.dir/WorkQueue.cc.o -c /build/ceph/src/ceph-15.2.14/src/common/WorkQueue.cc [ 9%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/address_helper.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DCEPH_DATADIR=\"/usr/share/ceph\" -DCEPH_LIBDIR=\"/usr/lib\" -DCEPH_PKGLIBDIR=\"/usr/lib/ceph\" -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/common/CMakeFiles/common-common-objs.dir/address_helper.cc.o -MF CMakeFiles/common-common-objs.dir/address_helper.cc.o.d -o CMakeFiles/common-common-objs.dir/address_helper.cc.o -c /build/ceph/src/ceph-15.2.14/src/common/address_helper.cc In file included from /build/ceph/src/ceph-15.2.14/src/mds/mdstypes.h:21, from /build/ceph/src/ceph-15.2.14/src/mds/flock.cc:6: /build/ceph/src/ceph-15.2.14/src/include/xlist.h:162:24: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/string:45, from /build/ceph/src/ceph-15.2.14/src/include/ceph_assert.h:5, from /build/ceph/src/ceph-15.2.14/src/common/dout.h:21, from /build/ceph/src/ceph-15.2.14/src/common/debug.h:18, from /build/ceph/src/ceph-15.2.14/src/mds/flock.cc:5: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/xlist.h:186:30: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /build/ceph/src/ceph-15.2.14/src/mds/mdstypes.h:22: /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:45:32: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:109:38: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /build/ceph/src/ceph-15.2.14/src/mds/mdstypes.h:21, from /build/ceph/src/ceph-15.2.14/src/mds/mdstypes.cc:4: /build/ceph/src/ceph-15.2.14/src/include/xlist.h:162:24: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/bits/stl_algobase.h:65, from /usr/include/c++/12.1.1/bits/specfun.h:45, from /usr/include/c++/12.1.1/cmath:1935, from /usr/include/c++/12.1.1/math.h:36, from /build/ceph/src/ceph-15.2.14/src/mds/mdstypes.h:8: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/xlist.h:186:30: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /build/ceph/src/ceph-15.2.14/src/mds/mdstypes.h:22: /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:45:32: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:109:38: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/rocksdb/db/db_impl_compaction_flush.cc: In member function ‘rocksdb::Status rocksdb::DBImpl::CompactFilesImpl(const rocksdb::CompactionOptions&, rocksdb::ColumnFamilyData*, rocksdb::Version*, const std::vector >&, std::vector >*, int, int, rocksdb::JobContext*, rocksdb::LogBuffer*, rocksdb::CompactionJobInfo*)’: /build/ceph/src/ceph-15.2.14/src/rocksdb/db/db_impl_compaction_flush.cc:1018:21: warning: loop variable ‘newf’ creates a copy from type ‘const std::pair’ [-Wrange-loop-construct] 1018 | for (const auto newf : c->edit()->GetNewFiles()) { | ^~~~ /build/ceph/src/ceph-15.2.14/src/rocksdb/db/db_impl_compaction_flush.cc:1018:21: note: use reference type to prevent copying 1018 | for (const auto newf : c->edit()->GetNewFiles()) { | ^~~~ | & /build/ceph/src/ceph-15.2.14/src/rocksdb/db/db_impl_compaction_flush.cc: In member function ‘void rocksdb::DBImpl::NotifyOnCompactionBegin(rocksdb::ColumnFamilyData*, rocksdb::Compaction*, const rocksdb::Status&, const rocksdb::CompactionJobStats&, int)’: /build/ceph/src/ceph-15.2.14/src/rocksdb/db/db_impl_compaction_flush.cc:1110:21: warning: loop variable ‘newf’ creates a copy from type ‘const std::pair’ [-Wrange-loop-construct] 1110 | for (const auto newf : c->edit()->GetNewFiles()) { | ^~~~ /build/ceph/src/ceph-15.2.14/src/rocksdb/db/db_impl_compaction_flush.cc:1110:21: note: use reference type to prevent copying 1110 | for (const auto newf : c->edit()->GetNewFiles()) { | ^~~~ | & /build/ceph/src/ceph-15.2.14/src/common/TrackedOp.cc: In constructor ‘OpTracker::OpTracker(ceph::common::CephContext*, bool, uint32_t)’: /build/ceph/src/ceph-15.2.14/src/common/TrackedOp.cc:155:46: warning: ‘%u’ directive output may be truncated writing between 1 and 10 bytes into a region of size 9 [-Wformat-truncation=] 155 | snprintf(lock_name, sizeof(lock_name), "%s:%" PRIu32, "OpTracker::ShardedLock", i); | ^ /build/ceph/src/ceph-15.2.14/src/common/TrackedOp.cc:155:46: note: directive argument in the range [0, 4294967294] In file included from /usr/include/stdio.h:906, from /usr/include/c++/12.1.1/cstdio:42, from /usr/include/c++/12.1.1/ext/string_conversions.h:43, from /usr/include/c++/12.1.1/bits/basic_string.h:3959, from /usr/include/c++/12.1.1/string:53, from /usr/include/c++/12.1.1/stdexcept:39, from /usr/include/c++/12.1.1/system_error:41, from /usr/include/c++/12.1.1/bits/std_mutex.h:39, from /usr/include/c++/12.1.1/condition_variable:39, from /build/ceph/src/ceph-15.2.14/src/common/ceph_mutex.h:116, from /build/ceph/src/ceph-15.2.14/src/common/TrackedOp.h:18: In function ‘int snprintf(char*, size_t, const char*, ...)’, inlined from ‘OpTracker::OpTracker(ceph::common::CephContext*, bool, uint32_t)’ at /build/ceph/src/ceph-15.2.14/src/common/TrackedOp.cc:155:15: /usr/include/bits/stdio2.h:54:35: note: ‘__builtin___snprintf_chk’ output between 25 and 34 bytes into a destination of size 32 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ [ 9%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/admin_socket.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DCEPH_DATADIR=\"/usr/share/ceph\" -DCEPH_LIBDIR=\"/usr/lib\" -DCEPH_PKGLIBDIR=\"/usr/lib/ceph\" -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/common/CMakeFiles/common-common-objs.dir/admin_socket.cc.o -MF CMakeFiles/common-common-objs.dir/admin_socket.cc.o.d -o CMakeFiles/common-common-objs.dir/admin_socket.cc.o -c /build/ceph/src/ceph-15.2.14/src/common/admin_socket.cc [ 9%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/admin_socket_client.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DCEPH_DATADIR=\"/usr/share/ceph\" -DCEPH_LIBDIR=\"/usr/lib\" -DCEPH_PKGLIBDIR=\"/usr/lib/ceph\" -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/common/CMakeFiles/common-common-objs.dir/admin_socket_client.cc.o -MF CMakeFiles/common-common-objs.dir/admin_socket_client.cc.o.d -o CMakeFiles/common-common-objs.dir/admin_socket_client.cc.o -c /build/ceph/src/ceph-15.2.14/src/common/admin_socket_client.cc [ 9%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/async/EventEpoll.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/msg && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/msg/CMakeFiles/common-msg-objs.dir/async/EventEpoll.cc.o -MF CMakeFiles/common-msg-objs.dir/async/EventEpoll.cc.o.d -o CMakeFiles/common-msg-objs.dir/async/EventEpoll.cc.o -c /build/ceph/src/ceph-15.2.14/src/msg/async/EventEpoll.cc In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/msg/msg_types.h:23, from /build/ceph/src/ceph-15.2.14/src/common/options.h:11, from /build/ceph/src/ceph-15.2.14/src/common/config.h:24, from /build/ceph/src/ceph-15.2.14/src/mds/mdstypes.h:14: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mds/mdstypes.cc:483:9: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying [ 6%] Building CXX object CMakeFiles/rocksdb.dir/db/db_impl_open.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/db/db_impl_open.cc.o -MF CMakeFiles/rocksdb.dir/db/db_impl_open.cc.o.d -o CMakeFiles/rocksdb.dir/db/db_impl_open.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/db/db_impl_open.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mds/mdstypes.cc:483:9: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, inodeno_t, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, inodeno_t, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mds/mdstypes.cc:516:9: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, long unsigned int, inodeno_t, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, long unsigned int, inodeno_t, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_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]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::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]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h: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]’ /build/ceph/src/ceph-15.2.14/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 > >]’ /build/ceph/src/ceph-15.2.14/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 > >]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556: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]’ /build/ceph/src/ceph-15.2.14/src/mds/mdstypes.cc:517:9: required from here /build/ceph/src/ceph-15.2.14/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] /build/ceph/src/ceph-15.2.14/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 [ 6%] Building CXX object CMakeFiles/rocksdb.dir/db/db_impl_debug.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/db/db_impl_debug.cc.o -MF CMakeFiles/rocksdb.dir/db/db_impl_debug.cc.o.d -o CMakeFiles/rocksdb.dir/db/db_impl_debug.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/db/db_impl_debug.cc [ 9%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/assert.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DCEPH_DATADIR=\"/usr/share/ceph\" -DCEPH_LIBDIR=\"/usr/lib\" -DCEPH_PKGLIBDIR=\"/usr/lib/ceph\" -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/common/CMakeFiles/common-common-objs.dir/assert.cc.o -MF CMakeFiles/common-common-objs.dir/assert.cc.o.d -o CMakeFiles/common-common-objs.dir/assert.cc.o -c /build/ceph/src/ceph-15.2.14/src/common/assert.cc [ 9%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/bit_str.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DCEPH_DATADIR=\"/usr/share/ceph\" -DCEPH_LIBDIR=\"/usr/lib\" -DCEPH_PKGLIBDIR=\"/usr/lib/ceph\" -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/common/CMakeFiles/common-common-objs.dir/bit_str.cc.o -MF CMakeFiles/common-common-objs.dir/bit_str.cc.o.d -o CMakeFiles/common-common-objs.dir/bit_str.cc.o -c /build/ceph/src/ceph-15.2.14/src/common/bit_str.cc make -f src/crypto/openssl/CMakeFiles/ceph_crypto_openssl.dir/build.make src/crypto/openssl/CMakeFiles/ceph_crypto_openssl.dir/depend make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' cd /build/ceph/src/ceph-15.2.14/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/ceph/src/ceph-15.2.14 /build/ceph/src/ceph-15.2.14/src/crypto/openssl /build/ceph/src/ceph-15.2.14/build /build/ceph/src/ceph-15.2.14/build/src/crypto/openssl /build/ceph/src/ceph-15.2.14/build/src/crypto/openssl/CMakeFiles/ceph_crypto_openssl.dir/DependInfo.cmake --color= make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' make -f src/crypto/openssl/CMakeFiles/ceph_crypto_openssl.dir/build.make src/crypto/openssl/CMakeFiles/ceph_crypto_openssl.dir/build make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' [ 9%] Building CXX object src/crypto/openssl/CMakeFiles/ceph_crypto_openssl.dir/openssl_crypto_accel.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/crypto/openssl && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -Dceph_crypto_openssl_EXPORTS -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/crypto/openssl/CMakeFiles/ceph_crypto_openssl.dir/openssl_crypto_accel.cc.o -MF CMakeFiles/ceph_crypto_openssl.dir/openssl_crypto_accel.cc.o.d -o CMakeFiles/ceph_crypto_openssl.dir/openssl_crypto_accel.cc.o -c /build/ceph/src/ceph-15.2.14/src/crypto/openssl/openssl_crypto_accel.cc [ 9%] Building CXX object src/crypto/openssl/CMakeFiles/ceph_crypto_openssl.dir/openssl_crypto_plugin.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/crypto/openssl && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -Dceph_crypto_openssl_EXPORTS -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/crypto/openssl/CMakeFiles/ceph_crypto_openssl.dir/openssl_crypto_plugin.cc.o -MF CMakeFiles/ceph_crypto_openssl.dir/openssl_crypto_plugin.cc.o.d -o CMakeFiles/ceph_crypto_openssl.dir/openssl_crypto_plugin.cc.o -c /build/ceph/src/ceph-15.2.14/src/crypto/openssl/openssl_crypto_plugin.cc [ 9%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/blkdev.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DCEPH_DATADIR=\"/usr/share/ceph\" -DCEPH_LIBDIR=\"/usr/lib\" -DCEPH_PKGLIBDIR=\"/usr/lib/ceph\" -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/common/CMakeFiles/common-common-objs.dir/blkdev.cc.o -MF CMakeFiles/common-common-objs.dir/blkdev.cc.o.d -o CMakeFiles/common-common-objs.dir/blkdev.cc.o -c /build/ceph/src/ceph-15.2.14/src/common/blkdev.cc [ 9%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/bloom_filter.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DCEPH_DATADIR=\"/usr/share/ceph\" -DCEPH_LIBDIR=\"/usr/lib\" -DCEPH_PKGLIBDIR=\"/usr/lib/ceph\" -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/common/CMakeFiles/common-common-objs.dir/bloom_filter.cc.o -MF CMakeFiles/common-common-objs.dir/bloom_filter.cc.o.d -o CMakeFiles/common-common-objs.dir/bloom_filter.cc.o -c /build/ceph/src/ceph-15.2.14/src/common/bloom_filter.cc In file included from /build/ceph/src/ceph-15.2.14/src/mon/Session.h:22, from /build/ceph/src/ceph-15.2.14/src/messages/PaxosServiceMessage.h:7, from /build/ceph/src/ceph-15.2.14/src/messages/MMonCommand.h:18, from /build/ceph/src/ceph-15.2.14/src/common/admin_socket.cc:32: /build/ceph/src/ceph-15.2.14/src/include/xlist.h:162:24: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/string:45, from /usr/include/c++/12.1.1/stdexcept:39, from /usr/include/c++/12.1.1/system_error:41, from /usr/include/c++/12.1.1/bits/std_mutex.h:39, from /usr/include/c++/12.1.1/condition_variable:39, from /build/ceph/src/ceph-15.2.14/src/common/admin_socket.h:22, from /build/ceph/src/ceph-15.2.14/src/common/admin_socket.cc:17: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/xlist.h:186:30: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:41, from /build/ceph/src/ceph-15.2.14/src/osd/OSDMap.h:38, from /build/ceph/src/ceph-15.2.14/src/mon/Session.h:29: /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:45:32: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:109:38: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /build/ceph/src/ceph-15.2.14/src/librados/ListObjectImpl.h:19, from /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:50: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 9%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/ceph_argparse.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DCEPH_DATADIR=\"/usr/share/ceph\" -DCEPH_LIBDIR=\"/usr/lib\" -DCEPH_PKGLIBDIR=\"/usr/lib/ceph\" -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/common/CMakeFiles/common-common-objs.dir/ceph_argparse.cc.o -MF CMakeFiles/common-common-objs.dir/ceph_argparse.cc.o.d -o CMakeFiles/common-common-objs.dir/ceph_argparse.cc.o -c /build/ceph/src/ceph-15.2.14/src/common/ceph_argparse.cc [ 6%] Building CXX object CMakeFiles/rocksdb.dir/db/db_impl_experimental.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/db/db_impl_experimental.cc.o -MF CMakeFiles/rocksdb.dir/db/db_impl_experimental.cc.o.d -o CMakeFiles/rocksdb.dir/db/db_impl_experimental.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/db/db_impl_experimental.cc make -f src/compressor/lz4/CMakeFiles/ceph_lz4.dir/build.make src/compressor/lz4/CMakeFiles/ceph_lz4.dir/depend make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' cd /build/ceph/src/ceph-15.2.14/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/ceph/src/ceph-15.2.14 /build/ceph/src/ceph-15.2.14/src/compressor/lz4 /build/ceph/src/ceph-15.2.14/build /build/ceph/src/ceph-15.2.14/build/src/compressor/lz4 /build/ceph/src/ceph-15.2.14/build/src/compressor/lz4/CMakeFiles/ceph_lz4.dir/DependInfo.cmake --color= make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' make -f src/compressor/lz4/CMakeFiles/ceph_lz4.dir/build.make src/compressor/lz4/CMakeFiles/ceph_lz4.dir/build make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' [ 9%] Building CXX object src/compressor/lz4/CMakeFiles/ceph_lz4.dir/CompressionPluginLZ4.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/compressor/lz4 && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -Dceph_lz4_EXPORTS -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/compressor/lz4/CMakeFiles/ceph_lz4.dir/CompressionPluginLZ4.cc.o -MF CMakeFiles/ceph_lz4.dir/CompressionPluginLZ4.cc.o.d -o CMakeFiles/ceph_lz4.dir/CompressionPluginLZ4.cc.o -c /build/ceph/src/ceph-15.2.14/src/compressor/lz4/CompressionPluginLZ4.cc make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' [ 9%] Built target common-msg-objs [ 9%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/ceph_context.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DCEPH_DATADIR=\"/usr/share/ceph\" -DCEPH_LIBDIR=\"/usr/lib\" -DCEPH_PKGLIBDIR=\"/usr/lib/ceph\" -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/common/CMakeFiles/common-common-objs.dir/ceph_context.cc.o -MF CMakeFiles/common-common-objs.dir/ceph_context.cc.o.d -o CMakeFiles/common-common-objs.dir/ceph_context.cc.o -c /build/ceph/src/ceph-15.2.14/src/common/ceph_context.cc [ 9%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/ceph_crypto.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DCEPH_DATADIR=\"/usr/share/ceph\" -DCEPH_LIBDIR=\"/usr/lib\" -DCEPH_PKGLIBDIR=\"/usr/lib/ceph\" -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/common/CMakeFiles/common-common-objs.dir/ceph_crypto.cc.o -MF CMakeFiles/common-common-objs.dir/ceph_crypto.cc.o.d -o CMakeFiles/common-common-objs.dir/ceph_crypto.cc.o -c /build/ceph/src/ceph-15.2.14/src/common/ceph_crypto.cc [ 9%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/ceph_frag.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DCEPH_DATADIR=\"/usr/share/ceph\" -DCEPH_LIBDIR=\"/usr/lib\" -DCEPH_PKGLIBDIR=\"/usr/lib/ceph\" -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/common/CMakeFiles/common-common-objs.dir/ceph_frag.cc.o -MF CMakeFiles/common-common-objs.dir/ceph_frag.cc.o.d -o CMakeFiles/common-common-objs.dir/ceph_frag.cc.o -c /build/ceph/src/ceph-15.2.14/src/common/ceph_frag.cc In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/msg/msg_types.h:23, from /build/ceph/src/ceph-15.2.14/src/common/ceph_context.h:33, from /build/ceph/src/ceph-15.2.14/src/common/dout.h:29, from /build/ceph/src/ceph-15.2.14/src/common/admin_socket.cc:19: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/mon_types.h:100:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/mon_types.h:258:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/mon_types.h:259:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&’ {aka ‘const std::pair, long unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, long unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T’ {aka ‘const std::pair, long unsigned int>’} to make the copy explicit or ‘const std::pair, long unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/CompatSet.h:85:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying [ 10%] Building CXX object CMakeFiles/rocksdb.dir/db/db_impl_readonly.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/db/db_impl_readonly.cc.o -MF CMakeFiles/rocksdb.dir/db/db_impl_readonly.cc.o.d -o CMakeFiles/rocksdb.dir/db/db_impl_readonly.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/db/db_impl_readonly.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:3809:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&’ {aka ‘const std::pair, std::optional >&’} binds to a temporary constructed from type ‘const std::pair, std::optional >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T’ {aka ‘const std::pair, std::optional >’} to make the copy explicit or ‘const std::pair, std::optional >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/mon_types.h:100:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/mon_types.h:258:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/mon_types.h:259:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&’ {aka ‘const std::pair, long unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, long unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T’ {aka ‘const std::pair, long unsigned int>’} to make the copy explicit or ‘const std::pair, long unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/CompatSet.h:85:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:3809:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&’ {aka ‘const std::pair, std::optional >&’} binds to a temporary constructed from type ‘const std::pair, std::optional >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T’ {aka ‘const std::pair, std::optional >’} to make the copy explicit or ‘const std::pair, std::optional >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying [ 9%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/ceph_fs.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DCEPH_DATADIR=\"/usr/share/ceph\" -DCEPH_LIBDIR=\"/usr/lib\" -DCEPH_PKGLIBDIR=\"/usr/lib/ceph\" -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/common/CMakeFiles/common-common-objs.dir/ceph_fs.cc.o -MF CMakeFiles/common-common-objs.dir/ceph_fs.cc.o.d -o CMakeFiles/common-common-objs.dir/ceph_fs.cc.o -c /build/ceph/src/ceph-15.2.14/src/common/ceph_fs.cc In file included from /build/ceph/src/ceph-15.2.14/src/include/btree_map.h:7, from /build/ceph/src/ceph-15.2.14/src/osd/OSDMap.h:34, from /build/ceph/src/ceph-15.2.14/src/osdc/Objecter.h:46: In member function ‘btree::internal::btree_node*& btree::internal::btree_node::mutable_child(int) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]’, inlined from ‘void btree::internal::btree_node::swap(btree::internal::btree_node*, allocator_type*) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]’ at /build/ceph/src/ceph-15.2.14/src/include/cpp-btree/btree.h:1697:45, inlined from ‘btree::internal::btree::iterator btree::internal::btree::internal_emplace(iterator, Args&& ...) [with Args = {const std::pair*>&}; Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]’ at /build/ceph/src/ceph-15.2.14/src/include/cpp-btree/btree.h:2418:22: /build/ceph/src/ceph-15.2.14/src/include/cpp-btree/btree.h:515:84: warning: array subscript 32 is outside array bounds of ‘btree::internal::AlignedAlloc<8, std::allocator*> > >::M [32]’ [-Warray-bounds] 515 | btree_node*& mutable_child(int i) { return GetField<&internal_fields::children>()[i]; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ In file included from /usr/include/c++/12.1.1/riscv64-unknown-linux-gnu/bits/c++allocator.h:33, from /usr/include/c++/12.1.1/bits/allocator.h:46, from /usr/include/c++/12.1.1/string:41: In member function ‘_Tp* std::__new_allocator<_Tp>::allocate(size_type, const void*) [with _Tp = btree::internal::AlignedAlloc<8, std::allocator*> > >::M]’, inlined from ‘static _Tp* std::allocator_traits >::allocate(allocator_type&, size_type) [with _Tp = btree::internal::AlignedAlloc<8, std::allocator*> > >::M]’ at /usr/include/c++/12.1.1/bits/alloc_traits.h:464:28, inlined from ‘static void* btree::internal::AlignedAlloc::allocate(Alloc*, size_t) [with long unsigned int Alignment = 8; Alloc = std::allocator*> >]’ at /build/ceph/src/ceph-15.2.14/src/include/cpp-btree/btree.h:879:33, inlined from ‘btree::internal::btree::node_type* btree::internal::btree::allocate(size_type) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]’ at /build/ceph/src/ceph-15.2.14/src/include/cpp-btree/btree.h:1289:32, inlined from ‘btree::internal::btree::node_type* btree::internal::btree::new_leaf_root_node(int) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]’ at /build/ceph/src/ceph-15.2.14/src/include/cpp-btree/btree.h:1302:28, inlined from ‘btree::internal::btree::iterator btree::internal::btree::internal_emplace(iterator, Args&& ...) [with Args = {const std::pair*>&}; Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]’ at /build/ceph/src/ceph-15.2.14/src/include/cpp-btree/btree.h:2417:29: /usr/include/c++/12.1.1/bits/new_allocator.h:137:55: note: at offset 256 into object of size [64, 256] allocated by ‘operator new’ 137 | return static_cast<_Tp*>(_GLIBCXX_OPERATOR_NEW(__n * sizeof(_Tp))); | ^ In member function ‘btree::internal::btree_node*& btree::internal::btree_node::mutable_child(int) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]’, inlined from ‘void btree::internal::btree_node::swap(btree::internal::btree_node*, allocator_type*) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]’ at /build/ceph/src/ceph-15.2.14/src/include/cpp-btree/btree.h:1698:45, inlined from ‘btree::internal::btree::iterator btree::internal::btree::internal_emplace(iterator, Args&& ...) [with Args = {const std::pair*>&}; Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]’ at /build/ceph/src/ceph-15.2.14/src/include/cpp-btree/btree.h:2418:22: /build/ceph/src/ceph-15.2.14/src/include/cpp-btree/btree.h:515:84: warning: array subscript 32 is outside array bounds of ‘btree::internal::AlignedAlloc<8, std::allocator*> > >::M [32]’ [-Warray-bounds] 515 | btree_node*& mutable_child(int i) { return GetField<&internal_fields::children>()[i]; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ In member function ‘_Tp* std::__new_allocator<_Tp>::allocate(size_type, const void*) [with _Tp = btree::internal::AlignedAlloc<8, std::allocator*> > >::M]’, inlined from ‘static _Tp* std::allocator_traits >::allocate(allocator_type&, size_type) [with _Tp = btree::internal::AlignedAlloc<8, std::allocator*> > >::M]’ at /usr/include/c++/12.1.1/bits/alloc_traits.h:464:28, inlined from ‘static void* btree::internal::AlignedAlloc::allocate(Alloc*, size_t) [with long unsigned int Alignment = 8; Alloc = std::allocator*> >]’ at /build/ceph/src/ceph-15.2.14/src/include/cpp-btree/btree.h:879:33, inlined from ‘btree::internal::btree::node_type* btree::internal::btree::allocate(size_type) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]’ at /build/ceph/src/ceph-15.2.14/src/include/cpp-btree/btree.h:1289:32, inlined from ‘btree::internal::btree::node_type* btree::internal::btree::new_leaf_root_node(int) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]’ at /build/ceph/src/ceph-15.2.14/src/include/cpp-btree/btree.h:1302:28, inlined from ‘btree::internal::btree::iterator btree::internal::btree::internal_emplace(iterator, Args&& ...) [with Args = {const std::pair*>&}; Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]’ at /build/ceph/src/ceph-15.2.14/src/include/cpp-btree/btree.h:2417:29: /usr/include/c++/12.1.1/bits/new_allocator.h:137:55: note: at offset 256 into object of size [64, 256] allocated by ‘operator new’ 137 | return static_cast<_Tp*>(_GLIBCXX_OPERATOR_NEW(__n * sizeof(_Tp))); | ^ In member function ‘void btree::internal::btree_node::set_child(int, btree::internal::btree_node*) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]’, inlined from ‘void btree::internal::btree_node::init_child(int, btree::internal::btree_node*) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]’ at /build/ceph/src/ceph-15.2.14/src/include/cpp-btree/btree.h:526:14, inlined from ‘void btree::internal::btree_node::swap(btree::internal::btree_node*, allocator_type*) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]’ at /build/ceph/src/ceph-15.2.14/src/include/cpp-btree/btree.h:1708:26, inlined from ‘btree::internal::btree::iterator btree::internal::btree::internal_emplace(iterator, Args&& ...) [with Args = {const std::pair*>&}; Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]’ at /build/ceph/src/ceph-15.2.14/src/include/cpp-btree/btree.h:2418:22: /build/ceph/src/ceph-15.2.14/src/include/cpp-btree/btree.h:522:22: warning: array subscript 32 is outside array bounds of ‘btree::internal::AlignedAlloc<8, std::allocator*> > >::M [32]’ [-Warray-bounds] 522 | mutable_child(i) = c; | ~~~~~~~~~~~~~~~~~^~~ In member function ‘_Tp* std::__new_allocator<_Tp>::allocate(size_type, const void*) [with _Tp = btree::internal::AlignedAlloc<8, std::allocator*> > >::M]’, inlined from ‘static _Tp* std::allocator_traits >::allocate(allocator_type&, size_type) [with _Tp = btree::internal::AlignedAlloc<8, std::allocator*> > >::M]’ at /usr/include/c++/12.1.1/bits/alloc_traits.h:464:28, inlined from ‘static void* btree::internal::AlignedAlloc::allocate(Alloc*, size_t) [with long unsigned int Alignment = 8; Alloc = std::allocator*> >]’ at /build/ceph/src/ceph-15.2.14/src/include/cpp-btree/btree.h:879:33, inlined from ‘btree::internal::btree::node_type* btree::internal::btree::allocate(size_type) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]’ at /build/ceph/src/ceph-15.2.14/src/include/cpp-btree/btree.h:1289:32, inlined from ‘btree::internal::btree::node_type* btree::internal::btree::new_leaf_root_node(int) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]’ at /build/ceph/src/ceph-15.2.14/src/include/cpp-btree/btree.h:1302:28, inlined from ‘btree::internal::btree::iterator btree::internal::btree::internal_emplace(iterator, Args&& ...) [with Args = {const std::pair*>&}; Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]’ at /build/ceph/src/ceph-15.2.14/src/include/cpp-btree/btree.h:2417:29: /usr/include/c++/12.1.1/bits/new_allocator.h:137:55: note: at offset 256 into object of size [64, 256] allocated by ‘operator new’ 137 | return static_cast<_Tp*>(_GLIBCXX_OPERATOR_NEW(__n * sizeof(_Tp))); | ^ In member function ‘btree::internal::btree_node* btree::internal::btree_node::child(int) const [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]’, inlined from ‘void btree::internal::btree_node::swap(btree::internal::btree_node*, allocator_type*) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]’ at /build/ceph/src/ceph-15.2.14/src/include/cpp-btree/btree.h:1703:36, inlined from ‘btree::internal::btree::iterator btree::internal::btree::internal_emplace(iterator, Args&& ...) [with Args = {const std::pair*>&}; Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]’ at /build/ceph/src/ceph-15.2.14/src/include/cpp-btree/btree.h:2418:22: /build/ceph/src/ceph-15.2.14/src/include/cpp-btree/btree.h:514:83: warning: array subscript 32 is outside array bounds of ‘btree::internal::AlignedAlloc<8, std::allocator*> > >::M [32]’ [-Warray-bounds] 514 | btree_node* child(int i) const { return GetField<&internal_fields::children>()[i]; } | ^ In member function ‘_Tp* std::__new_allocator<_Tp>::allocate(size_type, const void*) [with _Tp = btree::internal::AlignedAlloc<8, std::allocator*> > >::M]’, inlined from ‘static _Tp* std::allocator_traits >::allocate(allocator_type&, size_type) [with _Tp = btree::internal::AlignedAlloc<8, std::allocator*> > >::M]’ at /usr/include/c++/12.1.1/bits/alloc_traits.h:464:28, inlined from ‘static void* btree::internal::AlignedAlloc::allocate(Alloc*, size_t) [with long unsigned int Alignment = 8; Alloc = std::allocator*> >]’ at /build/ceph/src/ceph-15.2.14/src/include/cpp-btree/btree.h:879:33, inlined from ‘btree::internal::btree::node_type* btree::internal::btree::allocate(size_type) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]’ at /build/ceph/src/ceph-15.2.14/src/include/cpp-btree/btree.h:1289:32, inlined from ‘btree::internal::btree::node_type* btree::internal::btree::new_leaf_root_node(int) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]’ at /build/ceph/src/ceph-15.2.14/src/include/cpp-btree/btree.h:1302:28, inlined from ‘btree::internal::btree::iterator btree::internal::btree::internal_emplace(iterator, Args&& ...) [with Args = {const std::pair*>&}; Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]’ at /build/ceph/src/ceph-15.2.14/src/include/cpp-btree/btree.h:2417:29: /usr/include/c++/12.1.1/bits/new_allocator.h:137:55: note: at offset 256 into object of size [64, 256] allocated by ‘operator new’ 137 | return static_cast<_Tp*>(_GLIBCXX_OPERATOR_NEW(__n * sizeof(_Tp))); | ^ [ 10%] Building CXX object CMakeFiles/rocksdb.dir/db/db_impl_secondary.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/db/db_impl_secondary.cc.o -MF CMakeFiles/rocksdb.dir/db/db_impl_secondary.cc.o.d -o CMakeFiles/rocksdb.dir/db/db_impl_secondary.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/db/db_impl_secondary.cc In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/auth/Crypto.h:19, from /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:18, from /build/ceph/src/ceph-15.2.14/src/common/ceph_argparse.cc:16: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:906:11: required from ‘static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1005:15: required from ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/mon_types.h:100:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:906:11: required from ‘static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1005:15: required from ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying [ 10%] Building CXX object CMakeFiles/rocksdb.dir/db/db_info_dumper.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/db/db_info_dumper.cc.o -MF CMakeFiles/rocksdb.dir/db/db_info_dumper.cc.o.d -o CMakeFiles/rocksdb.dir/db/db_info_dumper.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/db/db_info_dumper.cc [ 9%] Linking CXX shared library ../../../lib/libceph_crypto_openssl.so cd /build/ceph/src/ceph-15.2.14/build/src/crypto/openssl && /usr/bin/cmake -E cmake_link_script CMakeFiles/ceph_crypto_openssl.dir/link.txt --verbose=1 /usr/bin/c++ -fPIC -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -shared -Wl,-soname,libceph_crypto_openssl.so -o ../../../lib/libceph_crypto_openssl.so CMakeFiles/ceph_crypto_openssl.dir/openssl_crypto_accel.cc.o CMakeFiles/ceph_crypto_openssl.dir/openssl_crypto_plugin.cc.o -lcrypto [ 10%] Building CXX object CMakeFiles/rocksdb.dir/db/db_iter.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/db/db_iter.cc.o -MF CMakeFiles/rocksdb.dir/db/db_iter.cc.o.d -o CMakeFiles/rocksdb.dir/db/db_iter.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/db/db_iter.cc make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' [ 9%] Built target ceph_crypto_openssl In file included from /build/ceph/src/ceph-15.2.14/src/compressor/lz4/LZ4Compressor.h:24, from /build/ceph/src/ceph-15.2.14/src/compressor/lz4/CompressionPluginLZ4.h:21, from /build/ceph/src/ceph-15.2.14/src/compressor/lz4/CompressionPluginLZ4.cc:18: /build/ceph/src/ceph-15.2.14/src/common/Tub.h: In instantiation of ‘ElementType* Tub::construct(Args&& ...) [with Args = {long unsigned int&}; ElementType = ceph::buffer::v15_2_0::ptr]’: /build/ceph/src/ceph-15.2.14/src/compressor/lz4/LZ4Compressor.h:120:28: required from here /build/ceph/src/ceph-15.2.14/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)...); | ^~~~~~ /build/ceph/src/ceph-15.2.14/src/common/Tub.h:274:15: note: ‘Tub::object’ declared here 274 | ElementType object[0]; | ^~~~~~ [ 10%] Building CXX object CMakeFiles/rocksdb.dir/db/dbformat.cc.o [ 10%] Building CXX object CMakeFiles/rocksdb.dir/db/error_handler.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/db/error_handler.cc.o -MF CMakeFiles/rocksdb.dir/db/error_handler.cc.o.d -o CMakeFiles/rocksdb.dir/db/error_handler.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/db/error_handler.cc /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/db/dbformat.cc.o -MF CMakeFiles/rocksdb.dir/db/dbformat.cc.o.d -o CMakeFiles/rocksdb.dir/db/dbformat.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/db/dbformat.cc [ 10%] Building CXX object CMakeFiles/rocksdb.dir/db/event_helpers.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/db/event_helpers.cc.o -MF CMakeFiles/rocksdb.dir/db/event_helpers.cc.o.d -o CMakeFiles/rocksdb.dir/db/event_helpers.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/db/event_helpers.cc [ 10%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/ceph_hash.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DCEPH_DATADIR=\"/usr/share/ceph\" -DCEPH_LIBDIR=\"/usr/lib\" -DCEPH_PKGLIBDIR=\"/usr/lib/ceph\" -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/common/CMakeFiles/common-common-objs.dir/ceph_hash.cc.o -MF CMakeFiles/common-common-objs.dir/ceph_hash.cc.o.d -o CMakeFiles/common-common-objs.dir/ceph_hash.cc.o -c /build/ceph/src/ceph-15.2.14/src/common/ceph_hash.cc [ 13%] Building CXX object CMakeFiles/rocksdb.dir/db/experimental.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/db/experimental.cc.o -MF CMakeFiles/rocksdb.dir/db/experimental.cc.o.d -o CMakeFiles/rocksdb.dir/db/experimental.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/db/experimental.cc [ 10%] Linking CXX shared library ../../../lib/libceph_lz4.so cd /build/ceph/src/ceph-15.2.14/build/src/compressor/lz4 && /usr/bin/cmake -E cmake_link_script CMakeFiles/ceph_lz4.dir/link.txt --verbose=1 /usr/bin/c++ -fPIC -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -shared -Wl,-soname,libceph_lz4.so.2 -o ../../../lib/libceph_lz4.so.2.0.0 CMakeFiles/ceph_lz4.dir/CompressionPluginLZ4.cc.o /usr/lib/liblz4.so [ 10%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/ceph_json.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DCEPH_DATADIR=\"/usr/share/ceph\" -DCEPH_LIBDIR=\"/usr/lib\" -DCEPH_PKGLIBDIR=\"/usr/lib/ceph\" -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/common/CMakeFiles/common-common-objs.dir/ceph_json.cc.o -MF CMakeFiles/common-common-objs.dir/ceph_json.cc.o.d -o CMakeFiles/common-common-objs.dir/ceph_json.cc.o -c /build/ceph/src/ceph-15.2.14/src/common/ceph_json.cc cd /build/ceph/src/ceph-15.2.14/build/src/compressor/lz4 && /usr/bin/cmake -E cmake_symlink_library ../../../lib/libceph_lz4.so.2.0.0 ../../../lib/libceph_lz4.so.2 ../../../lib/libceph_lz4.so make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' [ 10%] Built target ceph_lz4 [ 10%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/ceph_strings.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DCEPH_DATADIR=\"/usr/share/ceph\" -DCEPH_LIBDIR=\"/usr/lib\" -DCEPH_PKGLIBDIR=\"/usr/lib/ceph\" -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/common/CMakeFiles/common-common-objs.dir/ceph_strings.cc.o -MF CMakeFiles/common-common-objs.dir/ceph_strings.cc.o.d -o CMakeFiles/common-common-objs.dir/ceph_strings.cc.o -c /build/ceph/src/ceph-15.2.14/src/common/ceph_strings.cc make -f src/compressor/snappy/CMakeFiles/ceph_snappy.dir/build.make src/compressor/snappy/CMakeFiles/ceph_snappy.dir/depend make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' cd /build/ceph/src/ceph-15.2.14/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/ceph/src/ceph-15.2.14 /build/ceph/src/ceph-15.2.14/src/compressor/snappy /build/ceph/src/ceph-15.2.14/build /build/ceph/src/ceph-15.2.14/build/src/compressor/snappy /build/ceph/src/ceph-15.2.14/build/src/compressor/snappy/CMakeFiles/ceph_snappy.dir/DependInfo.cmake --color= make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' make -f src/compressor/snappy/CMakeFiles/ceph_snappy.dir/build.make src/compressor/snappy/CMakeFiles/ceph_snappy.dir/build make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' make -f src/compressor/zlib/CMakeFiles/ceph_zlib.dir/build.make src/compressor/zlib/CMakeFiles/ceph_zlib.dir/depend [ 10%] Building CXX object src/compressor/snappy/CMakeFiles/ceph_snappy.dir/CompressionPluginSnappy.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/compressor/snappy && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -Dceph_snappy_EXPORTS -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/compressor/snappy/CMakeFiles/ceph_snappy.dir/CompressionPluginSnappy.cc.o -MF CMakeFiles/ceph_snappy.dir/CompressionPluginSnappy.cc.o.d -o CMakeFiles/ceph_snappy.dir/CompressionPluginSnappy.cc.o -c /build/ceph/src/ceph-15.2.14/src/compressor/snappy/CompressionPluginSnappy.cc make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' cd /build/ceph/src/ceph-15.2.14/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/ceph/src/ceph-15.2.14 /build/ceph/src/ceph-15.2.14/src/compressor/zlib /build/ceph/src/ceph-15.2.14/build /build/ceph/src/ceph-15.2.14/build/src/compressor/zlib /build/ceph/src/ceph-15.2.14/build/src/compressor/zlib/CMakeFiles/ceph_zlib.dir/DependInfo.cmake --color= make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' make -f src/compressor/zlib/CMakeFiles/ceph_zlib.dir/build.make src/compressor/zlib/CMakeFiles/ceph_zlib.dir/build make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' [ 10%] Building CXX object src/compressor/zlib/CMakeFiles/ceph_zlib.dir/CompressionPluginZlib.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/compressor/zlib && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -Dceph_zlib_EXPORTS -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/isa-l/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/compressor/zlib/CMakeFiles/ceph_zlib.dir/CompressionPluginZlib.cc.o -MF CMakeFiles/ceph_zlib.dir/CompressionPluginZlib.cc.o.d -o CMakeFiles/ceph_zlib.dir/CompressionPluginZlib.cc.o -c /build/ceph/src/ceph-15.2.14/src/compressor/zlib/CompressionPluginZlib.cc [ 10%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/ceph_releases.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DCEPH_DATADIR=\"/usr/share/ceph\" -DCEPH_LIBDIR=\"/usr/lib\" -DCEPH_PKGLIBDIR=\"/usr/lib/ceph\" -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/common/CMakeFiles/common-common-objs.dir/ceph_releases.cc.o -MF CMakeFiles/common-common-objs.dir/ceph_releases.cc.o.d -o CMakeFiles/common-common-objs.dir/ceph_releases.cc.o -c /build/ceph/src/ceph-15.2.14/src/common/ceph_releases.cc [ 10%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/ceph_time.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DCEPH_DATADIR=\"/usr/share/ceph\" -DCEPH_LIBDIR=\"/usr/lib\" -DCEPH_PKGLIBDIR=\"/usr/lib/ceph\" -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/common/CMakeFiles/common-common-objs.dir/ceph_time.cc.o -MF CMakeFiles/common-common-objs.dir/ceph_time.cc.o.d -o CMakeFiles/common-common-objs.dir/ceph_time.cc.o -c /build/ceph/src/ceph-15.2.14/src/common/ceph_time.cc [ 13%] Building CXX object CMakeFiles/rocksdb.dir/db/external_sst_file_ingestion_job.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/db/external_sst_file_ingestion_job.cc.o -MF CMakeFiles/rocksdb.dir/db/external_sst_file_ingestion_job.cc.o.d -o CMakeFiles/rocksdb.dir/db/external_sst_file_ingestion_job.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/db/external_sst_file_ingestion_job.cc [ 10%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/cmdparse.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DCEPH_DATADIR=\"/usr/share/ceph\" -DCEPH_LIBDIR=\"/usr/lib\" -DCEPH_PKGLIBDIR=\"/usr/lib/ceph\" -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/common/CMakeFiles/common-common-objs.dir/cmdparse.cc.o -MF CMakeFiles/common-common-objs.dir/cmdparse.cc.o.d -o CMakeFiles/common-common-objs.dir/cmdparse.cc.o -c /build/ceph/src/ceph-15.2.14/src/common/cmdparse.cc [ 13%] Building CXX object CMakeFiles/rocksdb.dir/db/file_indexer.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/db/file_indexer.cc.o -MF CMakeFiles/rocksdb.dir/db/file_indexer.cc.o.d -o CMakeFiles/rocksdb.dir/db/file_indexer.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/db/file_indexer.cc In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/msg/msg_types.h:23, from /build/ceph/src/ceph-15.2.14/src/common/ceph_context.h:33, from /build/ceph/src/ceph-15.2.14/src/common/ceph_context.cc:16: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/mon_types.h:100:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/mon_types.h:258:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/mon_types.h:259:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&’ {aka ‘const std::pair, long unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, long unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T’ {aka ‘const std::pair, long unsigned int>’} to make the copy explicit or ‘const std::pair, long unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/mon_types.h:100:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/mon_types.h:258:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/mon_types.h:259:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&’ {aka ‘const std::pair, long unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, long unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T’ {aka ‘const std::pair, long unsigned int>’} to make the copy explicit or ‘const std::pair, long unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying [ 10%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/code_environment.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DCEPH_DATADIR=\"/usr/share/ceph\" -DCEPH_LIBDIR=\"/usr/lib\" -DCEPH_PKGLIBDIR=\"/usr/lib/ceph\" -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/common/CMakeFiles/common-common-objs.dir/code_environment.cc.o -MF CMakeFiles/common-common-objs.dir/code_environment.cc.o.d -o CMakeFiles/common-common-objs.dir/code_environment.cc.o -c /build/ceph/src/ceph-15.2.14/src/common/code_environment.cc [ 13%] Building CXX object CMakeFiles/rocksdb.dir/db/flush_job.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/db/flush_job.cc.o -MF CMakeFiles/rocksdb.dir/db/flush_job.cc.o.d -o CMakeFiles/rocksdb.dir/db/flush_job.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/db/flush_job.cc [ 10%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/common_init.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DCEPH_DATADIR=\"/usr/share/ceph\" -DCEPH_LIBDIR=\"/usr/lib\" -DCEPH_PKGLIBDIR=\"/usr/lib/ceph\" -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/common/CMakeFiles/common-common-objs.dir/common_init.cc.o -MF CMakeFiles/common-common-objs.dir/common_init.cc.o.d -o CMakeFiles/common-common-objs.dir/common_init.cc.o -c /build/ceph/src/ceph-15.2.14/src/common/common_init.cc make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' [ 10%] Built target mgr_cap_obj [ 13%] Building CXX object CMakeFiles/rocksdb.dir/db/flush_scheduler.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/db/flush_scheduler.cc.o -MF CMakeFiles/rocksdb.dir/db/flush_scheduler.cc.o.d -o CMakeFiles/rocksdb.dir/db/flush_scheduler.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/db/flush_scheduler.cc [ 10%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/compat.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DCEPH_DATADIR=\"/usr/share/ceph\" -DCEPH_LIBDIR=\"/usr/lib\" -DCEPH_PKGLIBDIR=\"/usr/lib/ceph\" -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/common/CMakeFiles/common-common-objs.dir/compat.cc.o -MF CMakeFiles/common-common-objs.dir/compat.cc.o.d -o CMakeFiles/common-common-objs.dir/compat.cc.o -c /build/ceph/src/ceph-15.2.14/src/common/compat.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:906:11: required from ‘static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1005:15: required from ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/mon_types.h:100:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying [ 10%] Building CXX object src/compressor/zlib/CMakeFiles/ceph_zlib.dir/ZlibCompressor.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/compressor/zlib && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -Dceph_zlib_EXPORTS -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/isa-l/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/compressor/zlib/CMakeFiles/ceph_zlib.dir/ZlibCompressor.cc.o -MF CMakeFiles/ceph_zlib.dir/ZlibCompressor.cc.o.d -o CMakeFiles/ceph_zlib.dir/ZlibCompressor.cc.o -c /build/ceph/src/ceph-15.2.14/src/compressor/zlib/ZlibCompressor.cc [ 10%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/condition_variable_debug.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DCEPH_DATADIR=\"/usr/share/ceph\" -DCEPH_LIBDIR=\"/usr/lib\" -DCEPH_PKGLIBDIR=\"/usr/lib/ceph\" -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/common/CMakeFiles/common-common-objs.dir/condition_variable_debug.cc.o -MF CMakeFiles/common-common-objs.dir/condition_variable_debug.cc.o.d -o CMakeFiles/common-common-objs.dir/condition_variable_debug.cc.o -c /build/ceph/src/ceph-15.2.14/src/common/condition_variable_debug.cc make -f src/compressor/zstd/CMakeFiles/zstd_ext.dir/build.make src/compressor/zstd/CMakeFiles/zstd_ext.dir/depend make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' cd /build/ceph/src/ceph-15.2.14/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/ceph/src/ceph-15.2.14 /build/ceph/src/ceph-15.2.14/src/compressor/zstd /build/ceph/src/ceph-15.2.14/build /build/ceph/src/ceph-15.2.14/build/src/compressor/zstd /build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/CMakeFiles/zstd_ext.dir/DependInfo.cmake --color= make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' make -f src/compressor/zstd/CMakeFiles/zstd_ext.dir/build.make src/compressor/zstd/CMakeFiles/zstd_ext.dir/build make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' [ 10%] Creating directories for 'zstd_ext' cd /build/ceph/src/ceph-15.2.14/build/src/compressor/zstd && /usr/bin/cmake -Dcfgdir= -P /build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/zstd_ext-prefix/tmp/zstd_ext-mkdirs.cmake cd /build/ceph/src/ceph-15.2.14/build/src/compressor/zstd && /usr/bin/cmake -E touch /build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/zstd_ext-prefix/src/zstd_ext-stamp/zstd_ext-mkdir [ 10%] No download step for 'zstd_ext' cd /build/ceph/src/ceph-15.2.14/build/src/compressor/zstd && /usr/bin/cmake -E echo_append cd /build/ceph/src/ceph-15.2.14/build/src/compressor/zstd && /usr/bin/cmake -E touch /build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/zstd_ext-prefix/src/zstd_ext-stamp/zstd_ext-download [ 11%] No update step for 'zstd_ext' cd /build/ceph/src/ceph-15.2.14/build/src/compressor/zstd && /usr/bin/cmake -E echo_append cd /build/ceph/src/ceph-15.2.14/build/src/compressor/zstd && /usr/bin/cmake -E touch /build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/zstd_ext-prefix/src/zstd_ext-stamp/zstd_ext-update [ 11%] No patch step for 'zstd_ext' cd /build/ceph/src/ceph-15.2.14/build/src/compressor/zstd && /usr/bin/cmake -E echo_append cd /build/ceph/src/ceph-15.2.14/build/src/compressor/zstd && /usr/bin/cmake -E touch /build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/zstd_ext-prefix/src/zstd_ext-stamp/zstd_ext-patch make -f src/dmclock/src/CMakeFiles/dmclock.dir/build.make src/dmclock/src/CMakeFiles/dmclock.dir/depend [ 11%] Performing configure step for 'zstd_ext' cd /build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/libzstd && /usr/bin/cmake -DCMAKE_CXX_COMPILER=/usr/bin/c++ -DCMAKE_C_COMPILER=/usr/bin/cc "-DCMAKE_C_FLAGS=-fPIC -Wno-unused-variable -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -O3" -DCMAKE_AR=/usr/bin/ar -DCMAKE_POSITION_INDEPENDENT_CODE=ON "-GUnix Makefiles" "-GUnix Makefiles" /build/ceph/src/ceph-15.2.14/src/zstd/build/cmake make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' cd /build/ceph/src/ceph-15.2.14/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/ceph/src/ceph-15.2.14 /build/ceph/src/ceph-15.2.14/src/dmclock/src /build/ceph/src/ceph-15.2.14/build /build/ceph/src/ceph-15.2.14/build/src/dmclock/src /build/ceph/src/ceph-15.2.14/build/src/dmclock/src/CMakeFiles/dmclock.dir/DependInfo.cmake --color= Re-run cmake no build system arguments make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' make -f src/dmclock/src/CMakeFiles/dmclock.dir/build.make src/dmclock/src/CMakeFiles/dmclock.dir/build make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' [ 11%] Building CXX object src/dmclock/src/CMakeFiles/dmclock.dir/dmclock_util.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/dmclock/src && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -Wno-write-strings -Wall -std=c++17 -MD -MT src/dmclock/src/CMakeFiles/dmclock.dir/dmclock_util.cc.o -MF CMakeFiles/dmclock.dir/dmclock_util.cc.o.d -o CMakeFiles/dmclock.dir/dmclock_util.cc.o -c /build/ceph/src/ceph-15.2.14/src/dmclock/src/dmclock_util.cc [ 11%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/config.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DCEPH_DATADIR=\"/usr/share/ceph\" -DCEPH_LIBDIR=\"/usr/lib\" -DCEPH_PKGLIBDIR=\"/usr/lib/ceph\" -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -fno-var-tracking-assignments -MD -MT src/common/CMakeFiles/common-common-objs.dir/config.cc.o -MF CMakeFiles/common-common-objs.dir/config.cc.o.d -o CMakeFiles/common-common-objs.dir/config.cc.o -c /build/ceph/src/ceph-15.2.14/src/common/config.cc -- The C compiler identification is GNU 12.1.1 [ 13%] Building CXX object CMakeFiles/rocksdb.dir/db/forward_iterator.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/db/forward_iterator.cc.o -MF CMakeFiles/rocksdb.dir/db/forward_iterator.cc.o.d -o CMakeFiles/rocksdb.dir/db/forward_iterator.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/db/forward_iterator.cc -- The CXX compiler identification is GNU 12.1.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done [ 11%] Building CXX object src/dmclock/src/CMakeFiles/dmclock.dir/__/support/src/run_every.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/dmclock/src && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -Wno-write-strings -Wall -std=c++17 -MD -MT src/dmclock/src/CMakeFiles/dmclock.dir/__/support/src/run_every.cc.o -MF CMakeFiles/dmclock.dir/__/support/src/run_every.cc.o.d -o CMakeFiles/dmclock.dir/__/support/src/run_every.cc.o -c /build/ceph/src/ceph-15.2.14/src/dmclock/support/src/run_every.cc -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- ZSTD VERSION: 1.5.2 -- Performing Test CXX_FLAG_STD_CPLUSPLUS11 [ 11%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/config_values.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DCEPH_DATADIR=\"/usr/share/ceph\" -DCEPH_LIBDIR=\"/usr/lib\" -DCEPH_PKGLIBDIR=\"/usr/lib/ceph\" -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/common/CMakeFiles/common-common-objs.dir/config_values.cc.o -MF CMakeFiles/common-common-objs.dir/config_values.cc.o.d -o CMakeFiles/common-common-objs.dir/config_values.cc.o -c /build/ceph/src/ceph-15.2.14/src/common/config_values.cc make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' [ 11%] Built target common-objs [ 11%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/dns_resolve.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DCEPH_DATADIR=\"/usr/share/ceph\" -DCEPH_LIBDIR=\"/usr/lib\" -DCEPH_PKGLIBDIR=\"/usr/lib/ceph\" -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/common/CMakeFiles/common-common-objs.dir/dns_resolve.cc.o -MF CMakeFiles/common-common-objs.dir/dns_resolve.cc.o.d -o CMakeFiles/common-common-objs.dir/dns_resolve.cc.o -c /build/ceph/src/ceph-15.2.14/src/common/dns_resolve.cc -- Performing Test CXX_FLAG_STD_CPLUSPLUS11 - Success -- Performing Test C_FLAG_STD_C99 [ 11%] Linking CXX shared library ../../../lib/libceph_snappy.so cd /build/ceph/src/ceph-15.2.14/build/src/compressor/snappy && /usr/bin/cmake -E cmake_link_script CMakeFiles/ceph_snappy.dir/link.txt --verbose=1 /usr/bin/c++ -fPIC -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -shared -Wl,-soname,libceph_snappy.so.2 -o ../../../lib/libceph_snappy.so.2.0.0 CMakeFiles/ceph_snappy.dir/CompressionPluginSnappy.cc.o /usr/lib/libsnappy.so cd /build/ceph/src/ceph-15.2.14/build/src/compressor/snappy && /usr/bin/cmake -E cmake_symlink_library ../../../lib/libceph_snappy.so.2.0.0 ../../../lib/libceph_snappy.so.2 ../../../lib/libceph_snappy.so make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' [ 11%] Built target ceph_snappy [ 13%] Building CXX object CMakeFiles/rocksdb.dir/db/internal_stats.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/db/internal_stats.cc.o -MF CMakeFiles/rocksdb.dir/db/internal_stats.cc.o.d -o CMakeFiles/rocksdb.dir/db/internal_stats.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/db/internal_stats.cc -- Performing Test C_FLAG_STD_C99 - Success -- Performing Test C_FLAG_WALL [ 13%] Building CXX object CMakeFiles/rocksdb.dir/db/in_memory_stats_history.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/db/in_memory_stats_history.cc.o -MF CMakeFiles/rocksdb.dir/db/in_memory_stats_history.cc.o.d -o CMakeFiles/rocksdb.dir/db/in_memory_stats_history.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/db/in_memory_stats_history.cc [ 17%] Building CXX object CMakeFiles/rocksdb.dir/db/logs_with_prep_tracker.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/db/logs_with_prep_tracker.cc.o -MF CMakeFiles/rocksdb.dir/db/logs_with_prep_tracker.cc.o.d -o CMakeFiles/rocksdb.dir/db/logs_with_prep_tracker.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/db/logs_with_prep_tracker.cc -- Performing Test C_FLAG_WALL - Success -- Performing Test CXX_FLAG_WALL [ 11%] Linking CXX static library ../../../lib/libdmclock.a cd /build/ceph/src/ceph-15.2.14/build/src/dmclock/src && /usr/bin/cmake -P CMakeFiles/dmclock.dir/cmake_clean_target.cmake cd /build/ceph/src/ceph-15.2.14/build/src/dmclock/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/dmclock.dir/link.txt --verbose=1 -- Performing Test CXX_FLAG_WALL - Success /usr/bin/ar qc ../../../lib/libdmclock.a CMakeFiles/dmclock.dir/dmclock_util.cc.o CMakeFiles/dmclock.dir/__/support/src/run_every.cc.o -- Performing Test C_FLAG_WEXTRA /usr/bin/ranlib ../../../lib/libdmclock.a make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' [ 11%] Built target dmclock make -f src/perfglue/CMakeFiles/cpu_profiler.dir/build.make src/perfglue/CMakeFiles/cpu_profiler.dir/depend make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' cd /build/ceph/src/ceph-15.2.14/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/ceph/src/ceph-15.2.14 /build/ceph/src/ceph-15.2.14/src/perfglue /build/ceph/src/ceph-15.2.14/build /build/ceph/src/ceph-15.2.14/build/src/perfglue /build/ceph/src/ceph-15.2.14/build/src/perfglue/CMakeFiles/cpu_profiler.dir/DependInfo.cmake --color= [ 17%] Building CXX object CMakeFiles/rocksdb.dir/db/log_reader.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/db/log_reader.cc.o -MF CMakeFiles/rocksdb.dir/db/log_reader.cc.o.d -o CMakeFiles/rocksdb.dir/db/log_reader.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/db/log_reader.cc make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' make -f src/perfglue/CMakeFiles/cpu_profiler.dir/build.make src/perfglue/CMakeFiles/cpu_profiler.dir/build make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' [ 11%] Building CXX object src/perfglue/CMakeFiles/cpu_profiler.dir/disabled_stubs.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/perfglue && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/perfglue/CMakeFiles/cpu_profiler.dir/disabled_stubs.cc.o -MF CMakeFiles/cpu_profiler.dir/disabled_stubs.cc.o.d -o CMakeFiles/cpu_profiler.dir/disabled_stubs.cc.o -c /build/ceph/src/ceph-15.2.14/src/perfglue/disabled_stubs.cc -- Performing Test C_FLAG_WEXTRA - Success -- Performing Test CXX_FLAG_WEXTRA -- Performing Test CXX_FLAG_WEXTRA - Success -- Performing Test C_FLAG_WUNDEF [ 17%] Building CXX object CMakeFiles/rocksdb.dir/db/log_writer.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/db/log_writer.cc.o -MF CMakeFiles/rocksdb.dir/db/log_writer.cc.o.d -o CMakeFiles/rocksdb.dir/db/log_writer.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/db/log_writer.cc -- Performing Test C_FLAG_WUNDEF - Success -- Performing Test CXX_FLAG_WUNDEF -- Performing Test CXX_FLAG_WUNDEF - Success -- Performing Test C_FLAG_WSHADOW -- Performing Test C_FLAG_WSHADOW - Success -- Performing Test CXX_FLAG_WSHADOW -- Performing Test CXX_FLAG_WSHADOW - Success -- Performing Test C_FLAG_WCAST_ALIGN [ 17%] Building CXX object CMakeFiles/rocksdb.dir/db/malloc_stats.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/db/malloc_stats.cc.o -MF CMakeFiles/rocksdb.dir/db/malloc_stats.cc.o.d -o CMakeFiles/rocksdb.dir/db/malloc_stats.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/db/malloc_stats.cc In file included from /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:41, from /build/ceph/src/ceph-15.2.14/src/compressor/zlib/ZlibCompressor.cc:18: /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:45:32: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/string:45, from /build/ceph/src/ceph-15.2.14/src/include/ceph_assert.h:5, from /build/ceph/src/ceph-15.2.14/src/common/dout.h:21, from /build/ceph/src/ceph-15.2.14/src/common/debug.h:18, from /build/ceph/src/ceph-15.2.14/src/compressor/zlib/ZlibCompressor.cc:16: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:109:38: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ -- Performing Test C_FLAG_WCAST_ALIGN - Success -- Performing Test CXX_FLAG_WCAST_ALIGN [ 17%] Building CXX object CMakeFiles/rocksdb.dir/db/memtable.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/db/memtable.cc.o -MF CMakeFiles/rocksdb.dir/db/memtable.cc.o.d -o CMakeFiles/rocksdb.dir/db/memtable.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/db/memtable.cc [ 17%] Building CXX object CMakeFiles/rocksdb.dir/db/memtable_list.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/db/memtable_list.cc.o -MF CMakeFiles/rocksdb.dir/db/memtable_list.cc.o.d -o CMakeFiles/rocksdb.dir/db/memtable_list.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/db/memtable_list.cc -- Performing Test CXX_FLAG_WCAST_ALIGN - Success -- Performing Test C_FLAG_WCAST_QUAL In file included from /build/ceph/src/ceph-15.2.14/src/librados/ListObjectImpl.h:19, from /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:50: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 17%] Building CXX object CMakeFiles/rocksdb.dir/db/merge_helper.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/db/merge_helper.cc.o -MF CMakeFiles/rocksdb.dir/db/merge_helper.cc.o.d -o CMakeFiles/rocksdb.dir/db/merge_helper.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/db/merge_helper.cc -- Performing Test C_FLAG_WCAST_QUAL - Success -- Performing Test CXX_FLAG_WCAST_QUAL -- Performing Test CXX_FLAG_WCAST_QUAL - Success -- Performing Test C_FLAG_WSTRICT_PROTOTYPES In file included from /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:41, from /build/ceph/src/ceph-15.2.14/src/common/config.cc:23: /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:45:32: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/bits/stl_algobase.h:65, from /usr/include/c++/12.1.1/bits/specfun.h:45, from /usr/include/c++/12.1.1/cmath:1935, from /usr/include/c++/12.1.1/complex:44, from /usr/include/boost/type_traits/is_complex.hpp:12, from /usr/include/boost/type_traits.hpp:98, from /build/ceph/src/ceph-15.2.14/src/common/config.cc:15: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:109:38: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ -- Performing Test C_FLAG_WSTRICT_PROTOTYPES - Success -- CMAKE_INSTALL_PREFIX: /usr/local -- CMAKE_INSTALL_LIBDIR: lib -- ZSTD_LEGACY_SUPPORT not defined! -- ZSTD_MULTITHREAD_SUPPORT is enabled -- Performing Test CMAKE_HAVE_LIBC_PTHREAD [ 11%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/dout.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DCEPH_DATADIR=\"/usr/share/ceph\" -DCEPH_LIBDIR=\"/usr/lib\" -DCEPH_PKGLIBDIR=\"/usr/lib/ceph\" -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/common/CMakeFiles/common-common-objs.dir/dout.cc.o -MF CMakeFiles/common-common-objs.dir/dout.cc.o.d -o CMakeFiles/common-common-objs.dir/dout.cc.o -c /build/ceph/src/ceph-15.2.14/src/common/dout.cc [ 20%] Building CXX object CMakeFiles/rocksdb.dir/db/merge_operator.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/db/merge_operator.cc.o -MF CMakeFiles/rocksdb.dir/db/merge_operator.cc.o.d -o CMakeFiles/rocksdb.dir/db/merge_operator.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/db/merge_operator.cc [ 11%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/entity_name.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DCEPH_DATADIR=\"/usr/share/ceph\" -DCEPH_LIBDIR=\"/usr/lib\" -DCEPH_PKGLIBDIR=\"/usr/lib/ceph\" -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/common/CMakeFiles/common-common-objs.dir/entity_name.cc.o -MF CMakeFiles/common-common-objs.dir/entity_name.cc.o.d -o CMakeFiles/common-common-objs.dir/entity_name.cc.o -c /build/ceph/src/ceph-15.2.14/src/common/entity_name.cc -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- The ASM compiler identification is GNU -- Found assembler: /usr/bin/cc -- Configuring done -- Generating done -- Build files have been written to: /build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/libzstd cd /build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/libzstd && /usr/bin/cmake -E touch /build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/zstd_ext-prefix/src/zstd_ext-stamp/zstd_ext-configure [ 11%] Performing build step for 'zstd_ext' cd /build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/libzstd && /usr/bin/cmake --build /build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/libzstd --target libzstd_static In file included from /build/ceph/src/ceph-15.2.14/src/librados/ListObjectImpl.h:19, from /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:50: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ make[3]: Entering directory '/build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/libzstd' /usr/bin/cmake -S/build/ceph/src/ceph-15.2.14/src/zstd/build/cmake -B/build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/libzstd --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/make -f CMakeFiles/Makefile2 libzstd_static make[4]: Entering directory '/build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/libzstd' /usr/bin/cmake -S/build/ceph/src/ceph-15.2.14/src/zstd/build/cmake -B/build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/libzstd --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/libzstd/CMakeFiles 31 /usr/bin/make -f CMakeFiles/Makefile2 lib/CMakeFiles/libzstd_static.dir/all make[5]: Entering directory '/build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/libzstd' /usr/bin/make -f lib/CMakeFiles/libzstd_static.dir/build.make lib/CMakeFiles/libzstd_static.dir/depend make[6]: Entering directory '/build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/libzstd' cd /build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/libzstd && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/ceph/src/ceph-15.2.14/src/zstd/build/cmake /build/ceph/src/ceph-15.2.14/src/zstd/build/cmake/lib /build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/libzstd /build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/libzstd/lib /build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/libzstd/lib/CMakeFiles/libzstd_static.dir/DependInfo.cmake --color= Dependee "/build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/libzstd/lib/CMakeFiles/libzstd_static.dir/DependInfo.cmake" is newer than depender "/build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/libzstd/lib/CMakeFiles/libzstd_static.dir/depend.internal". Dependee "/build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/libzstd/lib/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/libzstd/lib/CMakeFiles/libzstd_static.dir/depend.internal". Scanning dependencies of target libzstd_static make[6]: Leaving directory '/build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/libzstd' /usr/bin/make -f lib/CMakeFiles/libzstd_static.dir/build.make lib/CMakeFiles/libzstd_static.dir/build [ 20%] Building CXX object CMakeFiles/rocksdb.dir/db/range_del_aggregator.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/db/range_del_aggregator.cc.o -MF CMakeFiles/rocksdb.dir/db/range_del_aggregator.cc.o.d -o CMakeFiles/rocksdb.dir/db/range_del_aggregator.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/db/range_del_aggregator.cc make[6]: Entering directory '/build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/libzstd' [ 3%] Building C object lib/CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/common/debug.c.o cd /build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/libzstd/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_LEGACY_SUPPORT=0 -DZSTD_MULTITHREAD -I/build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/libzstd/lib -I/build/ceph/src/ceph-15.2.14/src/zstd/build/cmake/lib -I/build/ceph/src/ceph-15.2.14/src/zstd/build/cmake/../../lib -I/build/ceph/src/ceph-15.2.14/src/zstd/build/cmake/../../lib/common -fPIC -Wno-unused-variable -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -O3 -std=c99 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -O2 -g -DNDEBUG -fPIC -MD -MT lib/CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/common/debug.c.o -MF CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/common/debug.c.o.d -o CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/common/debug.c.o -c /build/ceph/src/ceph-15.2.14/src/zstd/lib/common/debug.c [ 11%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/environment.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DCEPH_DATADIR=\"/usr/share/ceph\" -DCEPH_LIBDIR=\"/usr/lib\" -DCEPH_PKGLIBDIR=\"/usr/lib/ceph\" -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/common/CMakeFiles/common-common-objs.dir/environment.cc.o -MF CMakeFiles/common-common-objs.dir/environment.cc.o.d -o CMakeFiles/common-common-objs.dir/environment.cc.o -c /build/ceph/src/ceph-15.2.14/src/common/environment.cc In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/msg/msg_types.h:23, from /build/ceph/src/ceph-15.2.14/src/common/ceph_context.h:33, from /build/ceph/src/ceph-15.2.14/src/common/dout.h:29: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/CompatSet.h:85:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying [ 6%] Building C object lib/CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/common/entropy_common.c.o cd /build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/libzstd/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_LEGACY_SUPPORT=0 -DZSTD_MULTITHREAD -I/build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/libzstd/lib -I/build/ceph/src/ceph-15.2.14/src/zstd/build/cmake/lib -I/build/ceph/src/ceph-15.2.14/src/zstd/build/cmake/../../lib -I/build/ceph/src/ceph-15.2.14/src/zstd/build/cmake/../../lib/common -fPIC -Wno-unused-variable -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -O3 -std=c99 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -O2 -g -DNDEBUG -fPIC -MD -MT lib/CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/common/entropy_common.c.o -MF CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/common/entropy_common.c.o.d -o CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/common/entropy_common.c.o -c /build/ceph/src/ceph-15.2.14/src/zstd/lib/common/entropy_common.c /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:3809:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&’ {aka ‘const std::pair, std::optional >&’} binds to a temporary constructed from type ‘const std::pair, std::optional >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T’ {aka ‘const std::pair, std::optional >’} to make the copy explicit or ‘const std::pair, std::optional >&’ to prevent copying [ 11%] Linking CXX static library ../../lib/libcpu_profiler.a cd /build/ceph/src/ceph-15.2.14/build/src/perfglue && /usr/bin/cmake -P CMakeFiles/cpu_profiler.dir/cmake_clean_target.cmake cd /build/ceph/src/ceph-15.2.14/build/src/perfglue && /usr/bin/cmake -E cmake_link_script CMakeFiles/cpu_profiler.dir/link.txt --verbose=1 /usr/bin/ar qc ../../lib/libcpu_profiler.a CMakeFiles/cpu_profiler.dir/disabled_stubs.cc.o make -f src/cls/CMakeFiles/cls_hello.dir/build.make src/cls/CMakeFiles/cls_hello.dir/depend /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying [ 9%] Building C object lib/CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/common/error_private.c.o /usr/bin/ranlib ../../lib/libcpu_profiler.a cd /build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/libzstd/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_LEGACY_SUPPORT=0 -DZSTD_MULTITHREAD -I/build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/libzstd/lib -I/build/ceph/src/ceph-15.2.14/src/zstd/build/cmake/lib -I/build/ceph/src/ceph-15.2.14/src/zstd/build/cmake/../../lib -I/build/ceph/src/ceph-15.2.14/src/zstd/build/cmake/../../lib/common -fPIC -Wno-unused-variable -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -O3 -std=c99 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -O2 -g -DNDEBUG -fPIC -MD -MT lib/CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/common/error_private.c.o -MF CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/common/error_private.c.o.d -o CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/common/error_private.c.o -c /build/ceph/src/ceph-15.2.14/src/zstd/lib/common/error_private.c make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' cd /build/ceph/src/ceph-15.2.14/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/ceph/src/ceph-15.2.14 /build/ceph/src/ceph-15.2.14/src/cls /build/ceph/src/ceph-15.2.14/build /build/ceph/src/ceph-15.2.14/build/src/cls /build/ceph/src/ceph-15.2.14/build/src/cls/CMakeFiles/cls_hello.dir/DependInfo.cmake --color= make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' make -f src/cls/CMakeFiles/cls_hello.dir/build.make src/cls/CMakeFiles/cls_hello.dir/build make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' [ 11%] Built target cpu_profiler [ 11%] Building CXX object src/cls/CMakeFiles/cls_hello.dir/hello/cls_hello.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -Dcls_hello_EXPORTS -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -fvisibility=hidden -std=c++17 -MD -MT src/cls/CMakeFiles/cls_hello.dir/hello/cls_hello.cc.o -MF CMakeFiles/cls_hello.dir/hello/cls_hello.cc.o.d -o CMakeFiles/cls_hello.dir/hello/cls_hello.cc.o -c /build/ceph/src/ceph-15.2.14/src/cls/hello/cls_hello.cc [ 12%] Building C object lib/CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/common/fse_decompress.c.o cd /build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/libzstd/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_LEGACY_SUPPORT=0 -DZSTD_MULTITHREAD -I/build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/libzstd/lib -I/build/ceph/src/ceph-15.2.14/src/zstd/build/cmake/lib -I/build/ceph/src/ceph-15.2.14/src/zstd/build/cmake/../../lib -I/build/ceph/src/ceph-15.2.14/src/zstd/build/cmake/../../lib/common -fPIC -Wno-unused-variable -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -O3 -std=c99 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -O2 -g -DNDEBUG -fPIC -MD -MT lib/CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/common/fse_decompress.c.o -MF CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/common/fse_decompress.c.o.d -o CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/common/fse_decompress.c.o -c /build/ceph/src/ceph-15.2.14/src/zstd/lib/common/fse_decompress.c make -f src/cls/CMakeFiles/cls_numops.dir/build.make src/cls/CMakeFiles/cls_numops.dir/depend make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' cd /build/ceph/src/ceph-15.2.14/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/ceph/src/ceph-15.2.14 /build/ceph/src/ceph-15.2.14/src/cls /build/ceph/src/ceph-15.2.14/build /build/ceph/src/ceph-15.2.14/build/src/cls /build/ceph/src/ceph-15.2.14/build/src/cls/CMakeFiles/cls_numops.dir/DependInfo.cmake --color= /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/CompatSet.h:85:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::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]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' make -f src/cls/CMakeFiles/cls_numops.dir/build.make src/cls/CMakeFiles/cls_numops.dir/build /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, 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]: Entering directory '/build/ceph/src/ceph-15.2.14/build' make -f src/cls/CMakeFiles/cls_rbd.dir/build.make src/cls/CMakeFiles/cls_rbd.dir/depend [ 11%] Building CXX object src/cls/CMakeFiles/cls_numops.dir/numops/cls_numops.cc.o make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' cd /build/ceph/src/ceph-15.2.14/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/ceph/src/ceph-15.2.14 /build/ceph/src/ceph-15.2.14/src/cls /build/ceph/src/ceph-15.2.14/build /build/ceph/src/ceph-15.2.14/build/src/cls /build/ceph/src/ceph-15.2.14/build/src/cls/CMakeFiles/cls_rbd.dir/DependInfo.cmake --color= cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -Dcls_numops_EXPORTS -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -fvisibility=hidden -std=c++17 -MD -MT src/cls/CMakeFiles/cls_numops.dir/numops/cls_numops.cc.o -MF CMakeFiles/cls_numops.dir/numops/cls_numops.cc.o.d -o CMakeFiles/cls_numops.dir/numops/cls_numops.cc.o -c /build/ceph/src/ceph-15.2.14/src/cls/numops/cls_numops.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:3809:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&’ {aka ‘const std::pair, std::optional >&’} binds to a temporary constructed from type ‘const std::pair, std::optional >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' make -f src/cls/CMakeFiles/cls_rbd.dir/build.make src/cls/CMakeFiles/cls_rbd.dir/build make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' [ 11%] Building CXX object src/cls/CMakeFiles/cls_rbd.dir/rbd/cls_rbd.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -Dcls_rbd_EXPORTS -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -fvisibility=hidden -std=c++17 -MD -MT src/cls/CMakeFiles/cls_rbd.dir/rbd/cls_rbd.cc.o -MF CMakeFiles/cls_rbd.dir/rbd/cls_rbd.cc.o.d -o CMakeFiles/cls_rbd.dir/rbd/cls_rbd.cc.o -c /build/ceph/src/ceph-15.2.14/src/cls/rbd/cls_rbd.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying [ 16%] Building C object lib/CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/common/pool.c.o cd /build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/libzstd/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_LEGACY_SUPPORT=0 -DZSTD_MULTITHREAD -I/build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/libzstd/lib -I/build/ceph/src/ceph-15.2.14/src/zstd/build/cmake/lib -I/build/ceph/src/ceph-15.2.14/src/zstd/build/cmake/../../lib -I/build/ceph/src/ceph-15.2.14/src/zstd/build/cmake/../../lib/common -fPIC -Wno-unused-variable -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -O3 -std=c99 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -O2 -g -DNDEBUG -fPIC -MD -MT lib/CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/common/pool.c.o -MF CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/common/pool.c.o.d -o CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/common/pool.c.o -c /build/ceph/src/ceph-15.2.14/src/zstd/lib/common/pool.c /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:906:11: required from ‘static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1005:15: required from ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying [ 20%] Building CXX object CMakeFiles/rocksdb.dir/db/range_tombstone_fragmenter.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/db/range_tombstone_fragmenter.cc.o -MF CMakeFiles/rocksdb.dir/db/range_tombstone_fragmenter.cc.o.d -o CMakeFiles/rocksdb.dir/db/range_tombstone_fragmenter.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/db/range_tombstone_fragmenter.cc [ 19%] Building C object lib/CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/common/threading.c.o cd /build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/libzstd/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_LEGACY_SUPPORT=0 -DZSTD_MULTITHREAD -I/build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/libzstd/lib -I/build/ceph/src/ceph-15.2.14/src/zstd/build/cmake/lib -I/build/ceph/src/ceph-15.2.14/src/zstd/build/cmake/../../lib -I/build/ceph/src/ceph-15.2.14/src/zstd/build/cmake/../../lib/common -fPIC -Wno-unused-variable -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -O3 -std=c99 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -O2 -g -DNDEBUG -fPIC -MD -MT lib/CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/common/threading.c.o -MF CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/common/threading.c.o.d -o CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/common/threading.c.o -c /build/ceph/src/ceph-15.2.14/src/zstd/lib/common/threading.c [ 22%] Building C object lib/CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/common/xxhash.c.o cd /build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/libzstd/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_LEGACY_SUPPORT=0 -DZSTD_MULTITHREAD -I/build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/libzstd/lib -I/build/ceph/src/ceph-15.2.14/src/zstd/build/cmake/lib -I/build/ceph/src/ceph-15.2.14/src/zstd/build/cmake/../../lib -I/build/ceph/src/ceph-15.2.14/src/zstd/build/cmake/../../lib/common -fPIC -Wno-unused-variable -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -O3 -std=c99 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -O2 -g -DNDEBUG -fPIC -MD -MT lib/CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/common/xxhash.c.o -MF CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/common/xxhash.c.o.d -o CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/common/xxhash.c.o -c /build/ceph/src/ceph-15.2.14/src/zstd/lib/common/xxhash.c [ 20%] Building CXX object CMakeFiles/rocksdb.dir/db/repair.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/db/repair.cc.o -MF CMakeFiles/rocksdb.dir/db/repair.cc.o.d -o CMakeFiles/rocksdb.dir/db/repair.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/db/repair.cc [ 11%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/errno.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DCEPH_DATADIR=\"/usr/share/ceph\" -DCEPH_LIBDIR=\"/usr/lib\" -DCEPH_PKGLIBDIR=\"/usr/lib/ceph\" -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/common/CMakeFiles/common-common-objs.dir/errno.cc.o -MF CMakeFiles/common-common-objs.dir/errno.cc.o.d -o CMakeFiles/common-common-objs.dir/errno.cc.o -c /build/ceph/src/ceph-15.2.14/src/common/errno.cc [ 25%] Building C object lib/CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/common/zstd_common.c.o cd /build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/libzstd/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_LEGACY_SUPPORT=0 -DZSTD_MULTITHREAD -I/build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/libzstd/lib -I/build/ceph/src/ceph-15.2.14/src/zstd/build/cmake/lib -I/build/ceph/src/ceph-15.2.14/src/zstd/build/cmake/../../lib -I/build/ceph/src/ceph-15.2.14/src/zstd/build/cmake/../../lib/common -fPIC -Wno-unused-variable -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -O3 -std=c99 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -O2 -g -DNDEBUG -fPIC -MD -MT lib/CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/common/zstd_common.c.o -MF CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/common/zstd_common.c.o.d -o CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/common/zstd_common.c.o -c /build/ceph/src/ceph-15.2.14/src/zstd/lib/common/zstd_common.c [ 29%] Building C object lib/CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/compress/fse_compress.c.o cd /build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/libzstd/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_LEGACY_SUPPORT=0 -DZSTD_MULTITHREAD -I/build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/libzstd/lib -I/build/ceph/src/ceph-15.2.14/src/zstd/build/cmake/lib -I/build/ceph/src/ceph-15.2.14/src/zstd/build/cmake/../../lib -I/build/ceph/src/ceph-15.2.14/src/zstd/build/cmake/../../lib/common -fPIC -Wno-unused-variable -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -O3 -std=c99 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -O2 -g -DNDEBUG -fPIC -MD -MT lib/CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/compress/fse_compress.c.o -MF CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/compress/fse_compress.c.o.d -o CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/compress/fse_compress.c.o -c /build/ceph/src/ceph-15.2.14/src/zstd/lib/compress/fse_compress.c [ 32%] Building C object lib/CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/compress/hist.c.o cd /build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/libzstd/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_LEGACY_SUPPORT=0 -DZSTD_MULTITHREAD -I/build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/libzstd/lib -I/build/ceph/src/ceph-15.2.14/src/zstd/build/cmake/lib -I/build/ceph/src/ceph-15.2.14/src/zstd/build/cmake/../../lib -I/build/ceph/src/ceph-15.2.14/src/zstd/build/cmake/../../lib/common -fPIC -Wno-unused-variable -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -O3 -std=c99 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -O2 -g -DNDEBUG -fPIC -MD -MT lib/CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/compress/hist.c.o -MF CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/compress/hist.c.o.d -o CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/compress/hist.c.o -c /build/ceph/src/ceph-15.2.14/src/zstd/lib/compress/hist.c [ 11%] Linking CXX shared library ../../../lib/libceph_zlib.so cd /build/ceph/src/ceph-15.2.14/build/src/compressor/zlib && /usr/bin/cmake -E cmake_link_script CMakeFiles/ceph_zlib.dir/link.txt --verbose=1 [ 35%] Building C object lib/CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/compress/huf_compress.c.o /usr/bin/c++ -fPIC -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -shared -Wl,-soname,libceph_zlib.so.2 -o ../../../lib/libceph_zlib.so.2.0.0 CMakeFiles/ceph_zlib.dir/CompressionPluginZlib.cc.o CMakeFiles/ceph_zlib.dir/ZlibCompressor.cc.o /usr/lib/libz.so cd /build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/libzstd/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_LEGACY_SUPPORT=0 -DZSTD_MULTITHREAD -I/build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/libzstd/lib -I/build/ceph/src/ceph-15.2.14/src/zstd/build/cmake/lib -I/build/ceph/src/ceph-15.2.14/src/zstd/build/cmake/../../lib -I/build/ceph/src/ceph-15.2.14/src/zstd/build/cmake/../../lib/common -fPIC -Wno-unused-variable -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -O3 -std=c99 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -O2 -g -DNDEBUG -fPIC -MD -MT lib/CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/compress/huf_compress.c.o -MF CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/compress/huf_compress.c.o.d -o CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/compress/huf_compress.c.o -c /build/ceph/src/ceph-15.2.14/src/zstd/lib/compress/huf_compress.c [ 38%] Building C object lib/CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/compress/zstd_compress.c.o cd /build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/libzstd/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_LEGACY_SUPPORT=0 -DZSTD_MULTITHREAD -I/build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/libzstd/lib -I/build/ceph/src/ceph-15.2.14/src/zstd/build/cmake/lib -I/build/ceph/src/ceph-15.2.14/src/zstd/build/cmake/../../lib -I/build/ceph/src/ceph-15.2.14/src/zstd/build/cmake/../../lib/common -fPIC -Wno-unused-variable -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -O3 -std=c99 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -O2 -g -DNDEBUG -fPIC -MD -MT lib/CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/compress/zstd_compress.c.o -MF CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/compress/zstd_compress.c.o.d -o CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/compress/zstd_compress.c.o -c /build/ceph/src/ceph-15.2.14/src/zstd/lib/compress/zstd_compress.c cd /build/ceph/src/ceph-15.2.14/build/src/compressor/zlib && /usr/bin/cmake -E cmake_symlink_library ../../../lib/libceph_zlib.so.2.0.0 ../../../lib/libceph_zlib.so.2 ../../../lib/libceph_zlib.so make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' [ 20%] Building CXX object CMakeFiles/rocksdb.dir/db/snapshot_impl.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/db/snapshot_impl.cc.o -MF CMakeFiles/rocksdb.dir/db/snapshot_impl.cc.o.d -o CMakeFiles/rocksdb.dir/db/snapshot_impl.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/db/snapshot_impl.cc [ 11%] Built target ceph_zlib make -f src/cls/CMakeFiles/cls_lock.dir/build.make src/cls/CMakeFiles/cls_lock.dir/depend make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' cd /build/ceph/src/ceph-15.2.14/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/ceph/src/ceph-15.2.14 /build/ceph/src/ceph-15.2.14/src/cls /build/ceph/src/ceph-15.2.14/build /build/ceph/src/ceph-15.2.14/build/src/cls /build/ceph/src/ceph-15.2.14/build/src/cls/CMakeFiles/cls_lock.dir/DependInfo.cmake --color= [ 11%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/escape.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DCEPH_DATADIR=\"/usr/share/ceph\" -DCEPH_LIBDIR=\"/usr/lib\" -DCEPH_PKGLIBDIR=\"/usr/lib/ceph\" -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/common/CMakeFiles/common-common-objs.dir/escape.cc.o -MF CMakeFiles/common-common-objs.dir/escape.cc.o.d -o CMakeFiles/common-common-objs.dir/escape.cc.o -c /build/ceph/src/ceph-15.2.14/src/common/escape.cc make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' make -f src/cls/CMakeFiles/cls_lock.dir/build.make src/cls/CMakeFiles/cls_lock.dir/build make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' make -f src/cls/CMakeFiles/cls_otp.dir/build.make src/cls/CMakeFiles/cls_otp.dir/depend [ 41%] Building C object lib/CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/compress/zstd_compress_literals.c.o cd /build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/libzstd/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_LEGACY_SUPPORT=0 -DZSTD_MULTITHREAD -I/build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/libzstd/lib -I/build/ceph/src/ceph-15.2.14/src/zstd/build/cmake/lib -I/build/ceph/src/ceph-15.2.14/src/zstd/build/cmake/../../lib -I/build/ceph/src/ceph-15.2.14/src/zstd/build/cmake/../../lib/common -fPIC -Wno-unused-variable -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -O3 -std=c99 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -O2 -g -DNDEBUG -fPIC -MD -MT lib/CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/compress/zstd_compress_literals.c.o -MF CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/compress/zstd_compress_literals.c.o.d -o CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/compress/zstd_compress_literals.c.o -c /build/ceph/src/ceph-15.2.14/src/zstd/lib/compress/zstd_compress_literals.c make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' cd /build/ceph/src/ceph-15.2.14/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/ceph/src/ceph-15.2.14 /build/ceph/src/ceph-15.2.14/src/cls /build/ceph/src/ceph-15.2.14/build /build/ceph/src/ceph-15.2.14/build/src/cls /build/ceph/src/ceph-15.2.14/build/src/cls/CMakeFiles/cls_otp.dir/DependInfo.cmake --color= [ 12%] Building CXX object src/cls/CMakeFiles/cls_lock.dir/lock/cls_lock.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -Dcls_lock_EXPORTS -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -fvisibility=hidden -std=c++17 -MD -MT src/cls/CMakeFiles/cls_lock.dir/lock/cls_lock.cc.o -MF CMakeFiles/cls_lock.dir/lock/cls_lock.cc.o.d -o CMakeFiles/cls_lock.dir/lock/cls_lock.cc.o -c /build/ceph/src/ceph-15.2.14/src/cls/lock/cls_lock.cc make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' make -f src/cls/CMakeFiles/cls_otp.dir/build.make src/cls/CMakeFiles/cls_otp.dir/build make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' [ 12%] Building CXX object src/cls/CMakeFiles/cls_otp.dir/otp/cls_otp.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -Dcls_otp_EXPORTS -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -fvisibility=hidden -std=c++17 -MD -MT src/cls/CMakeFiles/cls_otp.dir/otp/cls_otp.cc.o -MF CMakeFiles/cls_otp.dir/otp/cls_otp.cc.o.d -o CMakeFiles/cls_otp.dir/otp/cls_otp.cc.o -c /build/ceph/src/ceph-15.2.14/src/cls/otp/cls_otp.cc [ 45%] Building C object lib/CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/compress/zstd_compress_sequences.c.o cd /build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/libzstd/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_LEGACY_SUPPORT=0 -DZSTD_MULTITHREAD -I/build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/libzstd/lib -I/build/ceph/src/ceph-15.2.14/src/zstd/build/cmake/lib -I/build/ceph/src/ceph-15.2.14/src/zstd/build/cmake/../../lib -I/build/ceph/src/ceph-15.2.14/src/zstd/build/cmake/../../lib/common -fPIC -Wno-unused-variable -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -O3 -std=c99 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -O2 -g -DNDEBUG -fPIC -MD -MT lib/CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/compress/zstd_compress_sequences.c.o -MF CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/compress/zstd_compress_sequences.c.o.d -o CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/compress/zstd_compress_sequences.c.o -c /build/ceph/src/ceph-15.2.14/src/zstd/lib/compress/zstd_compress_sequences.c make -f src/cls/CMakeFiles/cls_version.dir/build.make src/cls/CMakeFiles/cls_version.dir/depend make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' cd /build/ceph/src/ceph-15.2.14/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/ceph/src/ceph-15.2.14 /build/ceph/src/ceph-15.2.14/src/cls /build/ceph/src/ceph-15.2.14/build /build/ceph/src/ceph-15.2.14/build/src/cls /build/ceph/src/ceph-15.2.14/build/src/cls/CMakeFiles/cls_version.dir/DependInfo.cmake --color= make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' make -f src/cls/CMakeFiles/cls_version.dir/build.make src/cls/CMakeFiles/cls_version.dir/build make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' [ 12%] Building CXX object src/cls/CMakeFiles/cls_version.dir/version/cls_version.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -Dcls_version_EXPORTS -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -fvisibility=hidden -std=c++17 -MD -MT src/cls/CMakeFiles/cls_version.dir/version/cls_version.cc.o -MF CMakeFiles/cls_version.dir/version/cls_version.cc.o.d -o CMakeFiles/cls_version.dir/version/cls_version.cc.o -c /build/ceph/src/ceph-15.2.14/src/cls/version/cls_version.cc [ 12%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/fd.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DCEPH_DATADIR=\"/usr/share/ceph\" -DCEPH_LIBDIR=\"/usr/lib\" -DCEPH_PKGLIBDIR=\"/usr/lib/ceph\" -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/common/CMakeFiles/common-common-objs.dir/fd.cc.o -MF CMakeFiles/common-common-objs.dir/fd.cc.o.d -o CMakeFiles/common-common-objs.dir/fd.cc.o -c /build/ceph/src/ceph-15.2.14/src/common/fd.cc In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/msg/msg_types.h:23, from /build/ceph/src/ceph-15.2.14/src/common/entity_name.h:20, from /build/ceph/src/ceph-15.2.14/src/common/ceph_argparse.h:29, from /build/ceph/src/ceph-15.2.14/src/common/config.cc:17: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/CompatSet.h:85:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, 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%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/fs_types.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DCEPH_DATADIR=\"/usr/share/ceph\" -DCEPH_LIBDIR=\"/usr/lib\" -DCEPH_PKGLIBDIR=\"/usr/lib/ceph\" -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/common/CMakeFiles/common-common-objs.dir/fs_types.cc.o -MF CMakeFiles/common-common-objs.dir/fs_types.cc.o.d -o CMakeFiles/common-common-objs.dir/fs_types.cc.o -c /build/ceph/src/ceph-15.2.14/src/common/fs_types.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:3809:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&’ {aka ‘const std::pair, std::optional >&’} binds to a temporary constructed from type ‘const std::pair, std::optional >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T’ {aka ‘const std::pair, std::optional >’} to make the copy explicit or ‘const std::pair, std::optional >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/common/config.cc:1004:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying [ 13%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/hex.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DCEPH_DATADIR=\"/usr/share/ceph\" -DCEPH_LIBDIR=\"/usr/lib\" -DCEPH_PKGLIBDIR=\"/usr/lib/ceph\" -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/common/CMakeFiles/common-common-objs.dir/hex.cc.o -MF CMakeFiles/common-common-objs.dir/hex.cc.o.d -o CMakeFiles/common-common-objs.dir/hex.cc.o -c /build/ceph/src/ceph-15.2.14/src/common/hex.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/CompatSet.h:85:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying [ 13%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/histogram.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DCEPH_DATADIR=\"/usr/share/ceph\" -DCEPH_LIBDIR=\"/usr/lib\" -DCEPH_PKGLIBDIR=\"/usr/lib/ceph\" -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/common/CMakeFiles/common-common-objs.dir/histogram.cc.o -MF CMakeFiles/common-common-objs.dir/histogram.cc.o.d -o CMakeFiles/common-common-objs.dir/histogram.cc.o -c /build/ceph/src/ceph-15.2.14/src/common/histogram.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:3809:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&’ {aka ‘const std::pair, std::optional >&’} binds to a temporary constructed from type ‘const std::pair, std::optional >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T’ {aka ‘const std::pair, std::optional >’} to make the copy explicit or ‘const std::pair, std::optional >&’ to prevent copying [ 20%] Building CXX object CMakeFiles/rocksdb.dir/db/table_cache.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/db/table_cache.cc.o -MF CMakeFiles/rocksdb.dir/db/table_cache.cc.o.d -o CMakeFiles/rocksdb.dir/db/table_cache.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/db/table_cache.cc [ 13%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/hobject.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DCEPH_DATADIR=\"/usr/share/ceph\" -DCEPH_LIBDIR=\"/usr/lib\" -DCEPH_PKGLIBDIR=\"/usr/lib/ceph\" -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/common/CMakeFiles/common-common-objs.dir/hobject.cc.o -MF CMakeFiles/common-common-objs.dir/hobject.cc.o.d -o CMakeFiles/common-common-objs.dir/hobject.cc.o -c /build/ceph/src/ceph-15.2.14/src/common/hobject.cc [ 48%] Building C object lib/CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/compress/zstd_compress_superblock.c.o cd /build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/libzstd/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_LEGACY_SUPPORT=0 -DZSTD_MULTITHREAD -I/build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/libzstd/lib -I/build/ceph/src/ceph-15.2.14/src/zstd/build/cmake/lib -I/build/ceph/src/ceph-15.2.14/src/zstd/build/cmake/../../lib -I/build/ceph/src/ceph-15.2.14/src/zstd/build/cmake/../../lib/common -fPIC -Wno-unused-variable -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -O3 -std=c99 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -O2 -g -DNDEBUG -fPIC -MD -MT lib/CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/compress/zstd_compress_superblock.c.o -MF CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/compress/zstd_compress_superblock.c.o.d -o CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/compress/zstd_compress_superblock.c.o -c /build/ceph/src/ceph-15.2.14/src/zstd/lib/compress/zstd_compress_superblock.c [ 13%] Linking CXX shared library ../../lib/libcls_numops.so cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/cmake -E cmake_link_script CMakeFiles/cls_numops.dir/link.txt --verbose=1 /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /usr/bin/c++ -fPIC -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -shared -Wl,-soname,libcls_numops.so.1 -o ../../lib/libcls_numops.so.1.0.0 CMakeFiles/cls_numops.dir/numops/cls_numops.cc.o /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/common/config.cc:1004:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/cmake -E cmake_symlink_library ../../lib/libcls_numops.so.1.0.0 ../../lib/libcls_numops.so.1 ../../lib/libcls_numops.so make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' [ 13%] Built target cls_numops [ 51%] Building C object lib/CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/compress/zstd_double_fast.c.o cd /build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/libzstd/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_LEGACY_SUPPORT=0 -DZSTD_MULTITHREAD -I/build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/libzstd/lib -I/build/ceph/src/ceph-15.2.14/src/zstd/build/cmake/lib -I/build/ceph/src/ceph-15.2.14/src/zstd/build/cmake/../../lib -I/build/ceph/src/ceph-15.2.14/src/zstd/build/cmake/../../lib/common -fPIC -Wno-unused-variable -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -O3 -std=c99 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -O2 -g -DNDEBUG -fPIC -MD -MT lib/CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/compress/zstd_double_fast.c.o -MF CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/compress/zstd_double_fast.c.o.d -o CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/compress/zstd_double_fast.c.o -c /build/ceph/src/ceph-15.2.14/src/zstd/lib/compress/zstd_double_fast.c [ 13%] Building CXX object src/cls/CMakeFiles/cls_rbd.dir/rbd/cls_rbd_types.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -Dcls_rbd_EXPORTS -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -fvisibility=hidden -std=c++17 -MD -MT src/cls/CMakeFiles/cls_rbd.dir/rbd/cls_rbd_types.cc.o -MF CMakeFiles/cls_rbd.dir/rbd/cls_rbd_types.cc.o.d -o CMakeFiles/cls_rbd.dir/rbd/cls_rbd_types.cc.o -c /build/ceph/src/ceph-15.2.14/src/cls/rbd/cls_rbd_types.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:906:11: required from ‘static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1005:15: required from ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned 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 -f src/cls/CMakeFiles/cls_log.dir/build.make src/cls/CMakeFiles/cls_log.dir/depend In file included from /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:41, from /build/ceph/src/ceph-15.2.14/src/cls/hello/cls_hello.cc:38: /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:45:32: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/bits/stl_algobase.h:65, from /usr/include/c++/12.1.1/algorithm:60, from /build/ceph/src/ceph-15.2.14/src/cls/hello/cls_hello.cc:32: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:109:38: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' cd /build/ceph/src/ceph-15.2.14/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/ceph/src/ceph-15.2.14 /build/ceph/src/ceph-15.2.14/src/cls /build/ceph/src/ceph-15.2.14/build /build/ceph/src/ceph-15.2.14/build/src/cls /build/ceph/src/ceph-15.2.14/build/src/cls/CMakeFiles/cls_log.dir/DependInfo.cmake --color= make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' make -f src/cls/CMakeFiles/cls_log.dir/build.make src/cls/CMakeFiles/cls_log.dir/build make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' [ 13%] Building CXX object src/cls/CMakeFiles/cls_log.dir/log/cls_log.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -Dcls_log_EXPORTS -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -fvisibility=hidden -std=c++17 -MD -MT src/cls/CMakeFiles/cls_log.dir/log/cls_log.cc.o -MF CMakeFiles/cls_log.dir/log/cls_log.cc.o.d -o CMakeFiles/cls_log.dir/log/cls_log.cc.o -c /build/ceph/src/ceph-15.2.14/src/cls/log/cls_log.cc make -f src/cls/CMakeFiles/cls_timeindex.dir/build.make src/cls/CMakeFiles/cls_timeindex.dir/depend make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' cd /build/ceph/src/ceph-15.2.14/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/ceph/src/ceph-15.2.14 /build/ceph/src/ceph-15.2.14/src/cls /build/ceph/src/ceph-15.2.14/build /build/ceph/src/ceph-15.2.14/build/src/cls /build/ceph/src/ceph-15.2.14/build/src/cls/CMakeFiles/cls_timeindex.dir/DependInfo.cmake --color= make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' make -f src/cls/CMakeFiles/cls_timeindex.dir/build.make src/cls/CMakeFiles/cls_timeindex.dir/build make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' [ 13%] Building CXX object src/cls/CMakeFiles/cls_timeindex.dir/timeindex/cls_timeindex.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -Dcls_timeindex_EXPORTS -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -fvisibility=hidden -std=c++17 -MD -MT src/cls/CMakeFiles/cls_timeindex.dir/timeindex/cls_timeindex.cc.o -MF CMakeFiles/cls_timeindex.dir/timeindex/cls_timeindex.cc.o.d -o CMakeFiles/cls_timeindex.dir/timeindex/cls_timeindex.cc.o -c /build/ceph/src/ceph-15.2.14/src/cls/timeindex/cls_timeindex.cc In file included from /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:41, from /build/ceph/src/ceph-15.2.14/src/cls/rbd/cls_rbd.cc:38: /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:45:32: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/bits/stl_algobase.h:65, from /usr/include/c++/12.1.1/bits/stl_tree.h:63, from /usr/include/c++/12.1.1/set:60, from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:17, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/cls/rbd/cls_rbd.cc:28: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:109:38: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /build/ceph/src/ceph-15.2.14/src/librados/ListObjectImpl.h:19, from /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:50: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /build/ceph/src/ceph-15.2.14/src/librados/ListObjectImpl.h:19, from /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:50: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ make -f src/cls/CMakeFiles/cls_user.dir/build.make src/cls/CMakeFiles/cls_user.dir/depend make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' cd /build/ceph/src/ceph-15.2.14/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/ceph/src/ceph-15.2.14 /build/ceph/src/ceph-15.2.14/src/cls /build/ceph/src/ceph-15.2.14/build /build/ceph/src/ceph-15.2.14/build/src/cls /build/ceph/src/ceph-15.2.14/build/src/cls/CMakeFiles/cls_user.dir/DependInfo.cmake --color= make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' make -f src/cls/CMakeFiles/cls_user.dir/build.make src/cls/CMakeFiles/cls_user.dir/build make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' [ 13%] Building CXX object src/cls/CMakeFiles/cls_user.dir/user/cls_user.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -Dcls_user_EXPORTS -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -fvisibility=hidden -std=c++17 -MD -MT src/cls/CMakeFiles/cls_user.dir/user/cls_user.cc.o -MF CMakeFiles/cls_user.dir/user/cls_user.cc.o.d -o CMakeFiles/cls_user.dir/user/cls_user.cc.o -c /build/ceph/src/ceph-15.2.14/src/cls/user/cls_user.cc In file included from /build/ceph/src/ceph-15.2.14/src/objclass/../include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/objclass/../include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/objclass/../include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/objclass/objclass.h:9, from /build/ceph/src/ceph-15.2.14/src/cls/hello/cls_hello.cc:37: /build/ceph/src/ceph-15.2.14/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]’: /build/ceph/src/ceph-15.2.14/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]’ /build/ceph/src/ceph-15.2.14/src/include/CompatSet.h:85:13: required from here /build/ceph/src/ceph-15.2.14/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) { | ^ /build/ceph/src/ceph-15.2.14/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 [ 20%] Building CXX object CMakeFiles/rocksdb.dir/db/table_properties_collector.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/db/table_properties_collector.cc.o -MF CMakeFiles/rocksdb.dir/db/table_properties_collector.cc.o.d -o CMakeFiles/rocksdb.dir/db/table_properties_collector.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/db/table_properties_collector.cc make -f src/cls/CMakeFiles/cls_journal.dir/build.make src/cls/CMakeFiles/cls_journal.dir/depend make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' cd /build/ceph/src/ceph-15.2.14/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/ceph/src/ceph-15.2.14 /build/ceph/src/ceph-15.2.14/src/cls /build/ceph/src/ceph-15.2.14/build /build/ceph/src/ceph-15.2.14/build/src/cls /build/ceph/src/ceph-15.2.14/build/src/cls/CMakeFiles/cls_journal.dir/DependInfo.cmake --color= /build/ceph/src/ceph-15.2.14/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]’: /build/ceph/src/ceph-15.2.14/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]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/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] /build/ceph/src/ceph-15.2.14/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 make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' make -f src/cls/CMakeFiles/cls_journal.dir/build.make src/cls/CMakeFiles/cls_journal.dir/build make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' [ 13%] Building CXX object src/cls/CMakeFiles/cls_journal.dir/journal/cls_journal.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -Dcls_journal_EXPORTS -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -fvisibility=hidden -std=c++17 -MD -MT src/cls/CMakeFiles/cls_journal.dir/journal/cls_journal.cc.o -MF CMakeFiles/cls_journal.dir/journal/cls_journal.cc.o.d -o CMakeFiles/cls_journal.dir/journal/cls_journal.cc.o -c /build/ceph/src/ceph-15.2.14/src/cls/journal/cls_journal.cc /build/ceph/src/ceph-15.2.14/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]’: /build/ceph/src/ceph-15.2.14/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]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:3809:11: required from here /build/ceph/src/ceph-15.2.14/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] /build/ceph/src/ceph-15.2.14/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 /build/ceph/src/ceph-15.2.14/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]’: /build/ceph/src/ceph-15.2.14/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]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/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] /build/ceph/src/ceph-15.2.14/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 /build/ceph/src/ceph-15.2.14/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]’: /build/ceph/src/ceph-15.2.14/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]’ /build/ceph/src/ceph-15.2.14/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]’ /build/ceph/src/ceph-15.2.14/src/include/CompatSet.h:85:13: required from here /build/ceph/src/ceph-15.2.14/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) { | ^ /build/ceph/src/ceph-15.2.14/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 [ 13%] Linking CXX shared library ../../lib/libcls_version.so cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/cmake -E cmake_link_script CMakeFiles/cls_version.dir/link.txt --verbose=1 [ 54%] Building C object lib/CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/compress/zstd_fast.c.o cd /build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/libzstd/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_LEGACY_SUPPORT=0 -DZSTD_MULTITHREAD -I/build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/libzstd/lib -I/build/ceph/src/ceph-15.2.14/src/zstd/build/cmake/lib -I/build/ceph/src/ceph-15.2.14/src/zstd/build/cmake/../../lib -I/build/ceph/src/ceph-15.2.14/src/zstd/build/cmake/../../lib/common -fPIC -Wno-unused-variable -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -O3 -std=c99 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -O2 -g -DNDEBUG -fPIC -MD -MT lib/CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/compress/zstd_fast.c.o -MF CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/compress/zstd_fast.c.o.d -o CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/compress/zstd_fast.c.o -c /build/ceph/src/ceph-15.2.14/src/zstd/lib/compress/zstd_fast.c /usr/bin/c++ -fPIC -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -shared -Wl,-soname,libcls_version.so.1 -o ../../lib/libcls_version.so.1.0.0 CMakeFiles/cls_version.dir/version/cls_version.cc.o /build/ceph/src/ceph-15.2.14/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]’: /build/ceph/src/ceph-15.2.14/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]’ /build/ceph/src/ceph-15.2.14/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]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/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] /build/ceph/src/ceph-15.2.14/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 cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/cmake -E cmake_symlink_library ../../lib/libcls_version.so.1.0.0 ../../lib/libcls_version.so.1 ../../lib/libcls_version.so /build/ceph/src/ceph-15.2.14/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]’: /build/ceph/src/ceph-15.2.14/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]’ /build/ceph/src/ceph-15.2.14/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]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:3809:11: required from here /build/ceph/src/ceph-15.2.14/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] /build/ceph/src/ceph-15.2.14/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 make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' [ 13%] Built target cls_version [ 13%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/hostname.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DCEPH_DATADIR=\"/usr/share/ceph\" -DCEPH_LIBDIR=\"/usr/lib\" -DCEPH_PKGLIBDIR=\"/usr/lib/ceph\" -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/common/CMakeFiles/common-common-objs.dir/hostname.cc.o -MF CMakeFiles/common-common-objs.dir/hostname.cc.o.d -o CMakeFiles/common-common-objs.dir/hostname.cc.o -c /build/ceph/src/ceph-15.2.14/src/common/hostname.cc /build/ceph/src/ceph-15.2.14/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]’: /build/ceph/src/ceph-15.2.14/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]’ /build/ceph/src/ceph-15.2.14/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]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/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] /build/ceph/src/ceph-15.2.14/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 /build/ceph/src/ceph-15.2.14/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]’: /build/ceph/src/ceph-15.2.14/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]’ /build/ceph/src/ceph-15.2.14/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]’ /build/ceph/src/ceph-15.2.14/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]’ /build/ceph/src/ceph-15.2.14/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]’ /build/ceph/src/ceph-15.2.14/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]’ /build/ceph/src/ceph-15.2.14/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]’ /build/ceph/src/ceph-15.2.14/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]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/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] /build/ceph/src/ceph-15.2.14/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 make -f src/cls/CMakeFiles/cls_cephfs.dir/build.make src/cls/CMakeFiles/cls_cephfs.dir/depend make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' cd /build/ceph/src/ceph-15.2.14/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/ceph/src/ceph-15.2.14 /build/ceph/src/ceph-15.2.14/src/cls /build/ceph/src/ceph-15.2.14/build /build/ceph/src/ceph-15.2.14/build/src/cls /build/ceph/src/ceph-15.2.14/build/src/cls/CMakeFiles/cls_cephfs.dir/DependInfo.cmake --color= make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' make -f src/cls/CMakeFiles/cls_cephfs.dir/build.make src/cls/CMakeFiles/cls_cephfs.dir/build make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' [ 13%] Building CXX object src/cls/CMakeFiles/cls_cephfs.dir/cephfs/cls_cephfs.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -Dcls_cephfs_EXPORTS -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -fvisibility=hidden -std=c++17 -MD -MT src/cls/CMakeFiles/cls_cephfs.dir/cephfs/cls_cephfs.cc.o -MF CMakeFiles/cls_cephfs.dir/cephfs/cls_cephfs.cc.o.d -o CMakeFiles/cls_cephfs.dir/cephfs/cls_cephfs.cc.o -c /build/ceph/src/ceph-15.2.14/src/cls/cephfs/cls_cephfs.cc In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/cls/rbd/cls_rbd_types.h:10, from /build/ceph/src/ceph-15.2.14/src/cls/rbd/cls_rbd_types.cc:5: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/cls/rbd/cls_rbd_types.cc:748:9: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, long unsigned int, long 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) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, long unsigned int, 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 /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/CompatSet.h:85:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying [ 13%] Linking CXX shared library ../../lib/libcls_lock.so cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/cmake -E cmake_link_script CMakeFiles/cls_lock.dir/link.txt --verbose=1 /usr/bin/c++ -fPIC -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -shared -Wl,-soname,libcls_lock.so.1 -o ../../lib/libcls_lock.so.1.0.0 CMakeFiles/cls_lock.dir/lock/cls_lock.cc.o /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:3809:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&’ {aka ‘const std::pair, std::optional >&’} binds to a temporary constructed from type ‘const std::pair, std::optional >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T’ {aka ‘const std::pair, std::optional >’} to make the copy explicit or ‘const std::pair, std::optional >&’ to prevent copying [ 13%] Linking CXX shared library ../../lib/libcls_otp.so cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/cmake -E cmake_link_script CMakeFiles/cls_otp.dir/link.txt --verbose=1 cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/cmake -E cmake_symlink_library ../../lib/libcls_lock.so.1.0.0 ../../lib/libcls_lock.so.1 ../../lib/libcls_lock.so /usr/bin/c++ -fPIC -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -shared -Wl,-soname,libcls_otp.so.1 -o ../../lib/libcls_otp.so.1.0.0 CMakeFiles/cls_otp.dir/otp/cls_otp.cc.o /usr/lib/liboath.so make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying [ 13%] Built target cls_lock [ 13%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/ipaddr.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DCEPH_DATADIR=\"/usr/share/ceph\" -DCEPH_LIBDIR=\"/usr/lib\" -DCEPH_PKGLIBDIR=\"/usr/lib/ceph\" -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/common/CMakeFiles/common-common-objs.dir/ipaddr.cc.o -MF CMakeFiles/common-common-objs.dir/ipaddr.cc.o.d -o CMakeFiles/common-common-objs.dir/ipaddr.cc.o -c /build/ceph/src/ceph-15.2.14/src/common/ipaddr.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/cls/rbd/cls_rbd.cc:3159:9: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/cmake -E cmake_symlink_library ../../lib/libcls_otp.so.1.0.0 ../../lib/libcls_otp.so.1 ../../lib/libcls_otp.so make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' [ 13%] Built target cls_otp [ 13%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/iso_8601.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DCEPH_DATADIR=\"/usr/share/ceph\" -DCEPH_LIBDIR=\"/usr/lib\" -DCEPH_PKGLIBDIR=\"/usr/lib/ceph\" -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/common/CMakeFiles/common-common-objs.dir/iso_8601.cc.o -MF CMakeFiles/common-common-objs.dir/iso_8601.cc.o.d -o CMakeFiles/common-common-objs.dir/iso_8601.cc.o -c /build/ceph/src/ceph-15.2.14/src/common/iso_8601.cc [ 13%] Building C object src/common/CMakeFiles/common-common-objs.dir/linux_version.c.o cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/cc -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DCEPH_DATADIR=\"/usr/share/ceph\" -DCEPH_LIBDIR=\"/usr/lib\" -DCEPH_PKGLIBDIR=\"/usr/lib/ceph\" -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -O2 -g -DNDEBUG -fPIC -std=gnu99 -MD -MT src/common/CMakeFiles/common-common-objs.dir/linux_version.c.o -MF CMakeFiles/common-common-objs.dir/linux_version.c.o.d -o CMakeFiles/common-common-objs.dir/linux_version.c.o -c /build/ceph/src/ceph-15.2.14/src/common/linux_version.c /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/CompatSet.h:85:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying [ 20%] Building CXX object CMakeFiles/rocksdb.dir/db/transaction_log_impl.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/db/transaction_log_impl.cc.o -MF CMakeFiles/rocksdb.dir/db/transaction_log_impl.cc.o.d -o CMakeFiles/rocksdb.dir/db/transaction_log_impl.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/db/transaction_log_impl.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, 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 -f src/cls/CMakeFiles/cls_cas.dir/build.make src/cls/CMakeFiles/cls_cas.dir/depend make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' cd /build/ceph/src/ceph-15.2.14/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/ceph/src/ceph-15.2.14 /build/ceph/src/ceph-15.2.14/src/cls /build/ceph/src/ceph-15.2.14/build /build/ceph/src/ceph-15.2.14/build/src/cls /build/ceph/src/ceph-15.2.14/build/src/cls/CMakeFiles/cls_cas.dir/DependInfo.cmake --color= /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:3809:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&’ {aka ‘const std::pair, std::optional >&’} binds to a temporary constructed from type ‘const std::pair, std::optional >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' make -f src/cls/CMakeFiles/cls_cas.dir/build.make src/cls/CMakeFiles/cls_cas.dir/build make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' [ 13%] Building CXX object src/cls/CMakeFiles/cls_cas.dir/cas/cls_cas.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -Dcls_cas_EXPORTS -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -fvisibility=hidden -std=c++17 -MD -MT src/cls/CMakeFiles/cls_cas.dir/cas/cls_cas.cc.o -MF CMakeFiles/cls_cas.dir/cas/cls_cas.cc.o.d -o CMakeFiles/cls_cas.dir/cas/cls_cas.cc.o -c /build/ceph/src/ceph-15.2.14/src/cls/cas/cls_cas.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/cls/rbd/cls_rbd.cc:3159:9: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying make -f src/cls/CMakeFiles/cls_queue.dir/build.make src/cls/CMakeFiles/cls_queue.dir/depend make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' cd /build/ceph/src/ceph-15.2.14/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/ceph/src/ceph-15.2.14 /build/ceph/src/ceph-15.2.14/src/cls /build/ceph/src/ceph-15.2.14/build /build/ceph/src/ceph-15.2.14/build/src/cls /build/ceph/src/ceph-15.2.14/build/src/cls/CMakeFiles/cls_queue.dir/DependInfo.cmake --color= make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' make -f src/cls/CMakeFiles/cls_queue.dir/build.make src/cls/CMakeFiles/cls_queue.dir/build make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' [ 13%] Building CXX object src/cls/CMakeFiles/cls_queue.dir/queue/cls_queue.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -Dcls_queue_EXPORTS -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -fvisibility=hidden -std=c++17 -MD -MT src/cls/CMakeFiles/cls_queue.dir/queue/cls_queue.cc.o -MF CMakeFiles/cls_queue.dir/queue/cls_queue.cc.o.d -o CMakeFiles/cls_queue.dir/queue/cls_queue.cc.o -c /build/ceph/src/ceph-15.2.14/src/cls/queue/cls_queue.cc [ 13%] Linking CXX shared library ../../lib/libcls_hello.so cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/cmake -E cmake_link_script CMakeFiles/cls_hello.dir/link.txt --verbose=1 [ 13%] Linking CXX shared library ../../lib/libcls_timeindex.so cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/cmake -E cmake_link_script CMakeFiles/cls_timeindex.dir/link.txt --verbose=1 /usr/bin/c++ -fPIC -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -shared -Wl,-soname,libcls_hello.so.1 -o ../../lib/libcls_hello.so.1.0.0 CMakeFiles/cls_hello.dir/hello/cls_hello.cc.o /usr/bin/c++ -fPIC -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -shared -Wl,-soname,libcls_timeindex.so.1 -o ../../lib/libcls_timeindex.so.1.0.0 CMakeFiles/cls_timeindex.dir/timeindex/cls_timeindex.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/cmake -E cmake_symlink_library ../../lib/libcls_hello.so.1.0.0 ../../lib/libcls_hello.so.1 ../../lib/libcls_hello.so cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/cmake -E cmake_symlink_library ../../lib/libcls_timeindex.so.1.0.0 ../../lib/libcls_timeindex.so.1 ../../lib/libcls_timeindex.so make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' [ 13%] Built target cls_hello make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' [ 24%] Building CXX object CMakeFiles/rocksdb.dir/db/version_builder.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/db/version_builder.cc.o -MF CMakeFiles/rocksdb.dir/db/version_builder.cc.o.d -o CMakeFiles/rocksdb.dir/db/version_builder.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/db/version_builder.cc [ 13%] Built target cls_timeindex [ 13%] Building CXX object src/cls/CMakeFiles/cls_journal.dir/journal/cls_journal_types.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -Dcls_journal_EXPORTS -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -fvisibility=hidden -std=c++17 -MD -MT src/cls/CMakeFiles/cls_journal.dir/journal/cls_journal_types.cc.o -MF CMakeFiles/cls_journal.dir/journal/cls_journal_types.cc.o.d -o CMakeFiles/cls_journal.dir/journal/cls_journal_types.cc.o -c /build/ceph/src/ceph-15.2.14/src/cls/journal/cls_journal_types.cc [ 13%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/lockdep.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DCEPH_DATADIR=\"/usr/share/ceph\" -DCEPH_LIBDIR=\"/usr/lib\" -DCEPH_PKGLIBDIR=\"/usr/lib/ceph\" -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/common/CMakeFiles/common-common-objs.dir/lockdep.cc.o -MF CMakeFiles/common-common-objs.dir/lockdep.cc.o.d -o CMakeFiles/common-common-objs.dir/lockdep.cc.o -c /build/ceph/src/ceph-15.2.14/src/common/lockdep.cc [ 13%] Linking CXX shared library ../../lib/libcls_log.so cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/cmake -E cmake_link_script CMakeFiles/cls_log.dir/link.txt --verbose=1 /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:906:11: required from ‘static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1005:15: required from ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /usr/bin/c++ -fPIC -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -shared -Wl,-soname,libcls_log.so.1 -o ../../lib/libcls_log.so.1.0.0 CMakeFiles/cls_log.dir/log/cls_log.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/cmake -E cmake_symlink_library ../../lib/libcls_log.so.1.0.0 ../../lib/libcls_log.so.1 ../../lib/libcls_log.so make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' [ 13%] Built target cls_log [ 13%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/mempool.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DCEPH_DATADIR=\"/usr/share/ceph\" -DCEPH_LIBDIR=\"/usr/lib\" -DCEPH_PKGLIBDIR=\"/usr/lib/ceph\" -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/common/CMakeFiles/common-common-objs.dir/mempool.cc.o -MF CMakeFiles/common-common-objs.dir/mempool.cc.o.d -o CMakeFiles/common-common-objs.dir/mempool.cc.o -c /build/ceph/src/ceph-15.2.14/src/common/mempool.cc [ 58%] Building C object lib/CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/compress/zstd_lazy.c.o cd /build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/libzstd/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_LEGACY_SUPPORT=0 -DZSTD_MULTITHREAD -I/build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/libzstd/lib -I/build/ceph/src/ceph-15.2.14/src/zstd/build/cmake/lib -I/build/ceph/src/ceph-15.2.14/src/zstd/build/cmake/../../lib -I/build/ceph/src/ceph-15.2.14/src/zstd/build/cmake/../../lib/common -fPIC -Wno-unused-variable -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -O3 -std=c99 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -O2 -g -DNDEBUG -fPIC -MD -MT lib/CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/compress/zstd_lazy.c.o -MF CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/compress/zstd_lazy.c.o.d -o CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/compress/zstd_lazy.c.o -c /build/ceph/src/ceph-15.2.14/src/zstd/lib/compress/zstd_lazy.c make -f src/cls/CMakeFiles/cls_rgw_gc.dir/build.make src/cls/CMakeFiles/cls_rgw_gc.dir/depend make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' cd /build/ceph/src/ceph-15.2.14/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/ceph/src/ceph-15.2.14 /build/ceph/src/ceph-15.2.14/src/cls /build/ceph/src/ceph-15.2.14/build /build/ceph/src/ceph-15.2.14/build/src/cls /build/ceph/src/ceph-15.2.14/build/src/cls/CMakeFiles/cls_rgw_gc.dir/DependInfo.cmake --color= make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' make -f src/cls/CMakeFiles/cls_rgw_gc.dir/build.make src/cls/CMakeFiles/cls_rgw_gc.dir/build make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' [ 13%] Building CXX object src/cls/CMakeFiles/cls_rgw_gc.dir/rgw_gc/cls_rgw_gc.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -Dcls_rgw_gc_EXPORTS -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -fvisibility=hidden -std=c++17 -MD -MT src/cls/CMakeFiles/cls_rgw_gc.dir/rgw_gc/cls_rgw_gc.cc.o -MF CMakeFiles/cls_rgw_gc.dir/rgw_gc/cls_rgw_gc.cc.o.d -o CMakeFiles/cls_rgw_gc.dir/rgw_gc/cls_rgw_gc.cc.o -c /build/ceph/src/ceph-15.2.14/src/cls/rgw_gc/cls_rgw_gc.cc [ 13%] Linking CXX shared library ../../lib/libcls_user.so cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/cmake -E cmake_link_script CMakeFiles/cls_user.dir/link.txt --verbose=1 /usr/bin/c++ -fPIC -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -shared -Wl,-soname,libcls_user.so.1 -o ../../lib/libcls_user.so.1.0.0 CMakeFiles/cls_user.dir/user/cls_user.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/cmake -E cmake_symlink_library ../../lib/libcls_user.so.1.0.0 ../../lib/libcls_user.so.1 ../../lib/libcls_user.so make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' [ 13%] Built target cls_user [ 13%] Building CXX object src/cls/CMakeFiles/cls_queue.dir/queue/cls_queue_src.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -Dcls_queue_EXPORTS -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -fvisibility=hidden -std=c++17 -MD -MT src/cls/CMakeFiles/cls_queue.dir/queue/cls_queue_src.cc.o -MF CMakeFiles/cls_queue.dir/queue/cls_queue_src.cc.o.d -o CMakeFiles/cls_queue.dir/queue/cls_queue_src.cc.o -c /build/ceph/src/ceph-15.2.14/src/cls/queue/cls_queue_src.cc [ 13%] Building CXX object src/cls/CMakeFiles/cls_queue.dir/__/common/ceph_json.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -Dcls_queue_EXPORTS -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -fvisibility=hidden -std=c++17 -MD -MT src/cls/CMakeFiles/cls_queue.dir/__/common/ceph_json.cc.o -MF CMakeFiles/cls_queue.dir/__/common/ceph_json.cc.o.d -o CMakeFiles/cls_queue.dir/__/common/ceph_json.cc.o -c /build/ceph/src/ceph-15.2.14/src/common/ceph_json.cc [ 24%] Building CXX object CMakeFiles/rocksdb.dir/db/version_edit.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/db/version_edit.cc.o -MF CMakeFiles/rocksdb.dir/db/version_edit.cc.o.d -o CMakeFiles/rocksdb.dir/db/version_edit.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/db/version_edit.cc [ 13%] Building C object src/common/CMakeFiles/common-common-objs.dir/mime.c.o cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/cc -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DCEPH_DATADIR=\"/usr/share/ceph\" -DCEPH_LIBDIR=\"/usr/lib\" -DCEPH_PKGLIBDIR=\"/usr/lib/ceph\" -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -O2 -g -DNDEBUG -fPIC -std=gnu99 -MD -MT src/common/CMakeFiles/common-common-objs.dir/mime.c.o -MF CMakeFiles/common-common-objs.dir/mime.c.o.d -o CMakeFiles/common-common-objs.dir/mime.c.o -c /build/ceph/src/ceph-15.2.14/src/common/mime.c [ 13%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/mutex_debug.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DCEPH_DATADIR=\"/usr/share/ceph\" -DCEPH_LIBDIR=\"/usr/lib\" -DCEPH_PKGLIBDIR=\"/usr/lib/ceph\" -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/common/CMakeFiles/common-common-objs.dir/mutex_debug.cc.o -MF CMakeFiles/common-common-objs.dir/mutex_debug.cc.o.d -o CMakeFiles/common-common-objs.dir/mutex_debug.cc.o -c /build/ceph/src/ceph-15.2.14/src/common/mutex_debug.cc [ 13%] Building CXX object src/cls/CMakeFiles/cls_rgw_gc.dir/queue/cls_queue_src.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -Dcls_rgw_gc_EXPORTS -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -fvisibility=hidden -std=c++17 -MD -MT src/cls/CMakeFiles/cls_rgw_gc.dir/queue/cls_queue_src.cc.o -MF CMakeFiles/cls_rgw_gc.dir/queue/cls_queue_src.cc.o.d -o CMakeFiles/cls_rgw_gc.dir/queue/cls_queue_src.cc.o -c /build/ceph/src/ceph-15.2.14/src/cls/queue/cls_queue_src.cc [ 13%] Building CXX object src/cls/CMakeFiles/cls_rgw_gc.dir/__/common/ceph_json.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -Dcls_rgw_gc_EXPORTS -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -fvisibility=hidden -std=c++17 -MD -MT src/cls/CMakeFiles/cls_rgw_gc.dir/__/common/ceph_json.cc.o -MF CMakeFiles/cls_rgw_gc.dir/__/common/ceph_json.cc.o.d -o CMakeFiles/cls_rgw_gc.dir/__/common/ceph_json.cc.o -c /build/ceph/src/ceph-15.2.14/src/common/ceph_json.cc In file included from /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:41, from /build/ceph/src/ceph-15.2.14/src/cls/cephfs/cls_cephfs.cc:20: /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:45:32: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/string:45, from /build/ceph/src/ceph-15.2.14/src/cls/cephfs/cls_cephfs.cc:16: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:109:38: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /build/ceph/src/ceph-15.2.14/src/librados/ListObjectImpl.h:19, from /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:50: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 61%] Building C object lib/CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/compress/zstd_ldm.c.o cd /build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/libzstd/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_LEGACY_SUPPORT=0 -DZSTD_MULTITHREAD -I/build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/libzstd/lib -I/build/ceph/src/ceph-15.2.14/src/zstd/build/cmake/lib -I/build/ceph/src/ceph-15.2.14/src/zstd/build/cmake/../../lib -I/build/ceph/src/ceph-15.2.14/src/zstd/build/cmake/../../lib/common -fPIC -Wno-unused-variable -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -O3 -std=c99 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -O2 -g -DNDEBUG -fPIC -MD -MT lib/CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/compress/zstd_ldm.c.o -MF CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/compress/zstd_ldm.c.o.d -o CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/compress/zstd_ldm.c.o -c /build/ceph/src/ceph-15.2.14/src/zstd/lib/compress/zstd_ldm.c [ 13%] Linking CXX shared library ../../lib/libcls_journal.so cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/cmake -E cmake_link_script CMakeFiles/cls_journal.dir/link.txt --verbose=1 /usr/bin/c++ -fPIC -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -shared -Wl,-soname,libcls_journal.so.1 -o ../../lib/libcls_journal.so.1.0.0 CMakeFiles/cls_journal.dir/journal/cls_journal.cc.o CMakeFiles/cls_journal.dir/journal/cls_journal_types.cc.o In file included from /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:41, from /build/ceph/src/ceph-15.2.14/src/cls/cas/cls_cas.cc:10: /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:45:32: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/bits/stl_algobase.h:65, from /usr/include/c++/12.1.1/bits/stl_tree.h:63, from /usr/include/c++/12.1.1/set:60, from /build/ceph/src/ceph-15.2.14/src/objclass/../include/encoding.h:17, from /build/ceph/src/ceph-15.2.14/src/objclass/../include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/objclass/../include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/objclass/objclass.h:9, from /build/ceph/src/ceph-15.2.14/src/cls/cas/cls_cas.cc:6: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:109:38: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 64%] Building C object lib/CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/compress/zstd_opt.c.o cd /build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/libzstd/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_LEGACY_SUPPORT=0 -DZSTD_MULTITHREAD -I/build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/libzstd/lib -I/build/ceph/src/ceph-15.2.14/src/zstd/build/cmake/lib -I/build/ceph/src/ceph-15.2.14/src/zstd/build/cmake/../../lib -I/build/ceph/src/ceph-15.2.14/src/zstd/build/cmake/../../lib/common -fPIC -Wno-unused-variable -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -O3 -std=c99 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -O2 -g -DNDEBUG -fPIC -MD -MT lib/CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/compress/zstd_opt.c.o -MF CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/compress/zstd_opt.c.o.d -o CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/compress/zstd_opt.c.o -c /build/ceph/src/ceph-15.2.14/src/zstd/lib/compress/zstd_opt.c cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/cmake -E cmake_symlink_library ../../lib/libcls_journal.so.1.0.0 ../../lib/libcls_journal.so.1 ../../lib/libcls_journal.so make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' [ 13%] Built target cls_journal [ 67%] Building C object lib/CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/compress/zstdmt_compress.c.o cd /build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/libzstd/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_LEGACY_SUPPORT=0 -DZSTD_MULTITHREAD -I/build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/libzstd/lib -I/build/ceph/src/ceph-15.2.14/src/zstd/build/cmake/lib -I/build/ceph/src/ceph-15.2.14/src/zstd/build/cmake/../../lib -I/build/ceph/src/ceph-15.2.14/src/zstd/build/cmake/../../lib/common -fPIC -Wno-unused-variable -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -O3 -std=c99 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -O2 -g -DNDEBUG -fPIC -MD -MT lib/CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/compress/zstdmt_compress.c.o -MF CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/compress/zstdmt_compress.c.o.d -o CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/compress/zstdmt_compress.c.o -c /build/ceph/src/ceph-15.2.14/src/zstd/lib/compress/zstdmt_compress.c [ 13%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/numa.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DCEPH_DATADIR=\"/usr/share/ceph\" -DCEPH_LIBDIR=\"/usr/lib\" -DCEPH_PKGLIBDIR=\"/usr/lib/ceph\" -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/common/CMakeFiles/common-common-objs.dir/numa.cc.o -MF CMakeFiles/common-common-objs.dir/numa.cc.o.d -o CMakeFiles/common-common-objs.dir/numa.cc.o -c /build/ceph/src/ceph-15.2.14/src/common/numa.cc In file included from /build/ceph/src/ceph-15.2.14/src/librados/ListObjectImpl.h:19, from /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:50: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 13%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/options.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DCEPH_DATADIR=\"/usr/share/ceph\" -DCEPH_LIBDIR=\"/usr/lib\" -DCEPH_PKGLIBDIR=\"/usr/lib/ceph\" -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -fno-var-tracking-assignments -MD -MT src/common/CMakeFiles/common-common-objs.dir/options.cc.o -MF CMakeFiles/common-common-objs.dir/options.cc.o.d -o CMakeFiles/common-common-objs.dir/options.cc.o -c /build/ceph/src/ceph-15.2.14/src/common/options.cc In file included from /build/ceph/src/ceph-15.2.14/src/objclass/../include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/objclass/../include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/objclass/../include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/objclass/objclass.h:9, from /build/ceph/src/ceph-15.2.14/src/cls/cephfs/cls_cephfs.cc:19: /build/ceph/src/ceph-15.2.14/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]’: /build/ceph/src/ceph-15.2.14/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]’ /build/ceph/src/ceph-15.2.14/src/include/CompatSet.h:85:13: required from here /build/ceph/src/ceph-15.2.14/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) { | ^ /build/ceph/src/ceph-15.2.14/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 /build/ceph/src/ceph-15.2.14/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]’: /build/ceph/src/ceph-15.2.14/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]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/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] /build/ceph/src/ceph-15.2.14/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 /build/ceph/src/ceph-15.2.14/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]’: /build/ceph/src/ceph-15.2.14/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]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:3809:11: required from here /build/ceph/src/ceph-15.2.14/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] /build/ceph/src/ceph-15.2.14/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 /build/ceph/src/ceph-15.2.14/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]’: /build/ceph/src/ceph-15.2.14/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]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/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] /build/ceph/src/ceph-15.2.14/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 /build/ceph/src/ceph-15.2.14/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]’: /build/ceph/src/ceph-15.2.14/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]’ /build/ceph/src/ceph-15.2.14/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]’ /build/ceph/src/ceph-15.2.14/src/include/CompatSet.h:85:13: required from here /build/ceph/src/ceph-15.2.14/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) { | ^ /build/ceph/src/ceph-15.2.14/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 /build/ceph/src/ceph-15.2.14/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]’: /build/ceph/src/ceph-15.2.14/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]’ /build/ceph/src/ceph-15.2.14/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]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/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] /build/ceph/src/ceph-15.2.14/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 /build/ceph/src/ceph-15.2.14/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]’: /build/ceph/src/ceph-15.2.14/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]’ /build/ceph/src/ceph-15.2.14/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]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:3809:11: required from here /build/ceph/src/ceph-15.2.14/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] /build/ceph/src/ceph-15.2.14/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 /build/ceph/src/ceph-15.2.14/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]’: /build/ceph/src/ceph-15.2.14/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]’ /build/ceph/src/ceph-15.2.14/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]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/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] /build/ceph/src/ceph-15.2.14/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 /build/ceph/src/ceph-15.2.14/src/objclass/../include/encoding.h:41: /build/ceph/src/ceph-15.2.14/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]’: /build/ceph/src/ceph-15.2.14/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]’ /build/ceph/src/ceph-15.2.14/src/cls/cas/cls_cas_ops.h:126:11: required from here /build/ceph/src/ceph-15.2.14/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) { | ^ /build/ceph/src/ceph-15.2.14/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 /build/ceph/src/ceph-15.2.14/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]’: /build/ceph/src/ceph-15.2.14/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]’ /build/ceph/src/ceph-15.2.14/src/include/CompatSet.h:85:13: required from here /build/ceph/src/ceph-15.2.14/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] /build/ceph/src/ceph-15.2.14/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 [ 24%] Building CXX object CMakeFiles/rocksdb.dir/db/version_set.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/db/version_set.cc.o -MF CMakeFiles/rocksdb.dir/db/version_set.cc.o.d -o CMakeFiles/rocksdb.dir/db/version_set.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/db/version_set.cc make -f src/lua/CMakeFiles/liblua.dir/build.make src/lua/CMakeFiles/liblua.dir/depend make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' cd /build/ceph/src/ceph-15.2.14/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/ceph/src/ceph-15.2.14 /build/ceph/src/ceph-15.2.14/src/lua /build/ceph/src/ceph-15.2.14/build /build/ceph/src/ceph-15.2.14/build/src/lua /build/ceph/src/ceph-15.2.14/build/src/lua/CMakeFiles/liblua.dir/DependInfo.cmake --color= make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' make -f src/lua/CMakeFiles/liblua.dir/build.make src/lua/CMakeFiles/liblua.dir/build make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' /build/ceph/src/ceph-15.2.14/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]’: /build/ceph/src/ceph-15.2.14/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]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/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] /build/ceph/src/ceph-15.2.14/src/objclass/../include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying [ 13%] Building C object src/lua/CMakeFiles/liblua.dir/src/lapi.c.o cd /build/ceph/src/ceph-15.2.14/build/src/lua && /usr/bin/cc -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/lua/src -I/build/ceph/src/ceph-15.2.14/build/src/lua -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -O2 -g -DNDEBUG -fPIC -std=gnu99 -MD -MT src/lua/CMakeFiles/liblua.dir/src/lapi.c.o -MF CMakeFiles/liblua.dir/src/lapi.c.o.d -o CMakeFiles/liblua.dir/src/lapi.c.o -c /build/ceph/src/ceph-15.2.14/src/lua/src/lapi.c /build/ceph/src/ceph-15.2.14/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]’: /build/ceph/src/ceph-15.2.14/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]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:3809:11: required from here /build/ceph/src/ceph-15.2.14/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] /build/ceph/src/ceph-15.2.14/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 /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/cls/rgw_gc/cls_rgw_gc.cc:4: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/cls/rgw/cls_rgw_ops.h:1229:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/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]’: /build/ceph/src/ceph-15.2.14/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]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/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] /build/ceph/src/ceph-15.2.14/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 /build/ceph/src/ceph-15.2.14/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]’: /build/ceph/src/ceph-15.2.14/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]’ /build/ceph/src/ceph-15.2.14/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]’ /build/ceph/src/ceph-15.2.14/src/cls/cas/cls_cas_ops.h:126:11: required from here /build/ceph/src/ceph-15.2.14/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) { | ^ /build/ceph/src/ceph-15.2.14/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 /build/ceph/src/ceph-15.2.14/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]’: /build/ceph/src/ceph-15.2.14/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]’ /build/ceph/src/ceph-15.2.14/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]’ /build/ceph/src/ceph-15.2.14/src/include/CompatSet.h:85:13: required from here /build/ceph/src/ceph-15.2.14/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] /build/ceph/src/ceph-15.2.14/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 /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/cls/rgw/cls_rgw_ops.h:1229:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/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]’: /build/ceph/src/ceph-15.2.14/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]’ /build/ceph/src/ceph-15.2.14/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]’ /build/ceph/src/ceph-15.2.14/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]’ /build/ceph/src/ceph-15.2.14/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]’ /build/ceph/src/ceph-15.2.14/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]’ /build/ceph/src/ceph-15.2.14/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]’ /build/ceph/src/ceph-15.2.14/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]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/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] /build/ceph/src/ceph-15.2.14/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 /build/ceph/src/ceph-15.2.14/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]’: /build/ceph/src/ceph-15.2.14/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]’ /build/ceph/src/ceph-15.2.14/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]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/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] /build/ceph/src/ceph-15.2.14/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 /build/ceph/src/ceph-15.2.14/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]’: /build/ceph/src/ceph-15.2.14/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]’ /build/ceph/src/ceph-15.2.14/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]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:3809:11: required from here /build/ceph/src/ceph-15.2.14/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] /build/ceph/src/ceph-15.2.14/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 /build/ceph/src/ceph-15.2.14/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]’: /build/ceph/src/ceph-15.2.14/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]’ /build/ceph/src/ceph-15.2.14/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]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/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] /build/ceph/src/ceph-15.2.14/src/objclass/../include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying [ 13%] Building C object src/lua/CMakeFiles/liblua.dir/src/lcode.c.o cd /build/ceph/src/ceph-15.2.14/build/src/lua && /usr/bin/cc -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/lua/src -I/build/ceph/src/ceph-15.2.14/build/src/lua -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -O2 -g -DNDEBUG -fPIC -std=gnu99 -MD -MT src/lua/CMakeFiles/liblua.dir/src/lcode.c.o -MF CMakeFiles/liblua.dir/src/lcode.c.o.d -o CMakeFiles/liblua.dir/src/lcode.c.o -c /build/ceph/src/ceph-15.2.14/src/lua/src/lcode.c /build/ceph/src/ceph-15.2.14/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]’: /build/ceph/src/ceph-15.2.14/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]’ /build/ceph/src/ceph-15.2.14/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]’ /build/ceph/src/ceph-15.2.14/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]’ /build/ceph/src/ceph-15.2.14/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]’ /build/ceph/src/ceph-15.2.14/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]’ /build/ceph/src/ceph-15.2.14/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]’ /build/ceph/src/ceph-15.2.14/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]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/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] /build/ceph/src/ceph-15.2.14/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 make -f src/client/CMakeFiles/client.dir/build.make src/client/CMakeFiles/client.dir/depend make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' cd /build/ceph/src/ceph-15.2.14/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/ceph/src/ceph-15.2.14 /build/ceph/src/ceph-15.2.14/src/client /build/ceph/src/ceph-15.2.14/build /build/ceph/src/ceph-15.2.14/build/src/client /build/ceph/src/ceph-15.2.14/build/src/client/CMakeFiles/client.dir/DependInfo.cmake --color= make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' make -f src/client/CMakeFiles/client.dir/build.make src/client/CMakeFiles/client.dir/build [ 13%] Building C object src/lua/CMakeFiles/liblua.dir/src/lctype.c.o cd /build/ceph/src/ceph-15.2.14/build/src/lua && /usr/bin/cc -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/lua/src -I/build/ceph/src/ceph-15.2.14/build/src/lua -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -O2 -g -DNDEBUG -fPIC -std=gnu99 -MD -MT src/lua/CMakeFiles/liblua.dir/src/lctype.c.o -MF CMakeFiles/liblua.dir/src/lctype.c.o.d -o CMakeFiles/liblua.dir/src/lctype.c.o -c /build/ceph/src/ceph-15.2.14/src/lua/src/lctype.c make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' [ 70%] Building C object lib/CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/decompress/huf_decompress.c.o cd /build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/libzstd/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_LEGACY_SUPPORT=0 -DZSTD_MULTITHREAD -I/build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/libzstd/lib -I/build/ceph/src/ceph-15.2.14/src/zstd/build/cmake/lib -I/build/ceph/src/ceph-15.2.14/src/zstd/build/cmake/../../lib -I/build/ceph/src/ceph-15.2.14/src/zstd/build/cmake/../../lib/common -fPIC -Wno-unused-variable -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -O3 -std=c99 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -O2 -g -DNDEBUG -fPIC -MD -MT lib/CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/decompress/huf_decompress.c.o -MF CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/decompress/huf_decompress.c.o.d -o CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/decompress/huf_decompress.c.o -c /build/ceph/src/ceph-15.2.14/src/zstd/lib/decompress/huf_decompress.c [ 13%] Building CXX object src/client/CMakeFiles/client.dir/Client.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/client && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/client/CMakeFiles/client.dir/Client.cc.o -MF CMakeFiles/client.dir/Client.cc.o.d -o CMakeFiles/client.dir/Client.cc.o -c /build/ceph/src/ceph-15.2.14/src/client/Client.cc [ 13%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/page.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DCEPH_DATADIR=\"/usr/share/ceph\" -DCEPH_LIBDIR=\"/usr/lib\" -DCEPH_PKGLIBDIR=\"/usr/lib/ceph\" -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/common/CMakeFiles/common-common-objs.dir/page.cc.o -MF CMakeFiles/common-common-objs.dir/page.cc.o.d -o CMakeFiles/common-common-objs.dir/page.cc.o -c /build/ceph/src/ceph-15.2.14/src/common/page.cc [ 13%] Building C object src/lua/CMakeFiles/liblua.dir/src/ldebug.c.o cd /build/ceph/src/ceph-15.2.14/build/src/lua && /usr/bin/cc -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/lua/src -I/build/ceph/src/ceph-15.2.14/build/src/lua -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -O2 -g -DNDEBUG -fPIC -std=gnu99 -MD -MT src/lua/CMakeFiles/liblua.dir/src/ldebug.c.o -MF CMakeFiles/liblua.dir/src/ldebug.c.o.d -o CMakeFiles/liblua.dir/src/ldebug.c.o -c /build/ceph/src/ceph-15.2.14/src/lua/src/ldebug.c [ 13%] Building C object src/lua/CMakeFiles/liblua.dir/src/ldo.c.o cd /build/ceph/src/ceph-15.2.14/build/src/lua && /usr/bin/cc -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/lua/src -I/build/ceph/src/ceph-15.2.14/build/src/lua -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -O2 -g -DNDEBUG -fPIC -std=gnu99 -MD -MT src/lua/CMakeFiles/liblua.dir/src/ldo.c.o -MF CMakeFiles/liblua.dir/src/ldo.c.o.d -o CMakeFiles/liblua.dir/src/ldo.c.o -c /build/ceph/src/ceph-15.2.14/src/lua/src/ldo.c [ 13%] Building CXX object src/client/CMakeFiles/client.dir/Dentry.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/client && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/client/CMakeFiles/client.dir/Dentry.cc.o -MF CMakeFiles/client.dir/Dentry.cc.o.d -o CMakeFiles/client.dir/Dentry.cc.o -c /build/ceph/src/ceph-15.2.14/src/client/Dentry.cc [ 13%] Linking CXX shared library ../../lib/libcls_cephfs.so cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/cmake -E cmake_link_script CMakeFiles/cls_cephfs.dir/link.txt --verbose=1 /usr/bin/c++ -fPIC -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -shared -Wl,-soname,libcls_cephfs.so.1 -o ../../lib/libcls_cephfs.so.1.0.0 CMakeFiles/cls_cephfs.dir/cephfs/cls_cephfs.cc.o [ 13%] Building CXX object src/client/CMakeFiles/client.dir/Fh.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/client && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/client/CMakeFiles/client.dir/Fh.cc.o -MF CMakeFiles/client.dir/Fh.cc.o.d -o CMakeFiles/client.dir/Fh.cc.o -c /build/ceph/src/ceph-15.2.14/src/client/Fh.cc cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/cmake -E cmake_symlink_library ../../lib/libcls_cephfs.so.1.0.0 ../../lib/libcls_cephfs.so.1 ../../lib/libcls_cephfs.so make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' [ 13%] Built target cls_cephfs [ 13%] Building C object src/lua/CMakeFiles/liblua.dir/src/ldump.c.o cd /build/ceph/src/ceph-15.2.14/build/src/lua && /usr/bin/cc -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/lua/src -I/build/ceph/src/ceph-15.2.14/build/src/lua -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -O2 -g -DNDEBUG -fPIC -std=gnu99 -MD -MT src/lua/CMakeFiles/liblua.dir/src/ldump.c.o -MF CMakeFiles/liblua.dir/src/ldump.c.o.d -o CMakeFiles/liblua.dir/src/ldump.c.o -c /build/ceph/src/ceph-15.2.14/src/lua/src/ldump.c [ 24%] Building CXX object CMakeFiles/rocksdb.dir/db/wal_manager.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/db/wal_manager.cc.o -MF CMakeFiles/rocksdb.dir/db/wal_manager.cc.o.d -o CMakeFiles/rocksdb.dir/db/wal_manager.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/db/wal_manager.cc [ 13%] Building C object src/lua/CMakeFiles/liblua.dir/src/lfunc.c.o cd /build/ceph/src/ceph-15.2.14/build/src/lua && /usr/bin/cc -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/lua/src -I/build/ceph/src/ceph-15.2.14/build/src/lua -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -O2 -g -DNDEBUG -fPIC -std=gnu99 -MD -MT src/lua/CMakeFiles/liblua.dir/src/lfunc.c.o -MF CMakeFiles/liblua.dir/src/lfunc.c.o.d -o CMakeFiles/liblua.dir/src/lfunc.c.o -c /build/ceph/src/ceph-15.2.14/src/lua/src/lfunc.c [ 74%] Building ASM object lib/CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/decompress/huf_decompress_amd64.S.o cd /build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/libzstd/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_LEGACY_SUPPORT=0 -DZSTD_MULTITHREAD -I/build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/libzstd/lib -I/build/ceph/src/ceph-15.2.14/src/zstd/build/cmake/lib -I/build/ceph/src/ceph-15.2.14/src/zstd/build/cmake/../../lib -I/build/ceph/src/ceph-15.2.14/src/zstd/build/cmake/../../lib/common -O2 -g -DNDEBUG -fPIC -o CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/decompress/huf_decompress_amd64.S.o -c /build/ceph/src/ceph-15.2.14/src/zstd/lib/decompress/huf_decompress_amd64.S [ 13%] Building C object src/lua/CMakeFiles/liblua.dir/src/lgc.c.o cd /build/ceph/src/ceph-15.2.14/build/src/lua && /usr/bin/cc -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/lua/src -I/build/ceph/src/ceph-15.2.14/build/src/lua -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -O2 -g -DNDEBUG -fPIC -std=gnu99 -MD -MT src/lua/CMakeFiles/liblua.dir/src/lgc.c.o -MF CMakeFiles/liblua.dir/src/lgc.c.o.d -o CMakeFiles/liblua.dir/src/lgc.c.o -c /build/ceph/src/ceph-15.2.14/src/lua/src/lgc.c [ 77%] Building C object lib/CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/decompress/zstd_ddict.c.o cd /build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/libzstd/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_LEGACY_SUPPORT=0 -DZSTD_MULTITHREAD -I/build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/libzstd/lib -I/build/ceph/src/ceph-15.2.14/src/zstd/build/cmake/lib -I/build/ceph/src/ceph-15.2.14/src/zstd/build/cmake/../../lib -I/build/ceph/src/ceph-15.2.14/src/zstd/build/cmake/../../lib/common -fPIC -Wno-unused-variable -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -O3 -std=c99 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -O2 -g -DNDEBUG -fPIC -MD -MT lib/CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/decompress/zstd_ddict.c.o -MF CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/decompress/zstd_ddict.c.o.d -o CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/decompress/zstd_ddict.c.o -c /build/ceph/src/ceph-15.2.14/src/zstd/lib/decompress/zstd_ddict.c [ 80%] Building C object lib/CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/decompress/zstd_decompress.c.o cd /build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/libzstd/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_LEGACY_SUPPORT=0 -DZSTD_MULTITHREAD -I/build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/libzstd/lib -I/build/ceph/src/ceph-15.2.14/src/zstd/build/cmake/lib -I/build/ceph/src/ceph-15.2.14/src/zstd/build/cmake/../../lib -I/build/ceph/src/ceph-15.2.14/src/zstd/build/cmake/../../lib/common -fPIC -Wno-unused-variable -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -O3 -std=c99 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -O2 -g -DNDEBUG -fPIC -MD -MT lib/CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/decompress/zstd_decompress.c.o -MF CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/decompress/zstd_decompress.c.o.d -o CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/decompress/zstd_decompress.c.o -c /build/ceph/src/ceph-15.2.14/src/zstd/lib/decompress/zstd_decompress.c [ 13%] Building CXX object src/client/CMakeFiles/client.dir/Inode.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/client && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/client/CMakeFiles/client.dir/Inode.cc.o -MF CMakeFiles/client.dir/Inode.cc.o.d -o CMakeFiles/client.dir/Inode.cc.o -c /build/ceph/src/ceph-15.2.14/src/client/Inode.cc [ 13%] Linking CXX shared library ../../lib/libcls_cas.so cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/cmake -E cmake_link_script CMakeFiles/cls_cas.dir/link.txt --verbose=1 /usr/bin/c++ -fPIC -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -shared -Wl,-soname,libcls_cas.so.1 -o ../../lib/libcls_cas.so.1.0.0 CMakeFiles/cls_cas.dir/cas/cls_cas.cc.o [ 13%] Building C object src/lua/CMakeFiles/liblua.dir/src/llex.c.o cd /build/ceph/src/ceph-15.2.14/build/src/lua && /usr/bin/cc -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/lua/src -I/build/ceph/src/ceph-15.2.14/build/src/lua -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -O2 -g -DNDEBUG -fPIC -std=gnu99 -MD -MT src/lua/CMakeFiles/liblua.dir/src/llex.c.o -MF CMakeFiles/liblua.dir/src/llex.c.o.d -o CMakeFiles/liblua.dir/src/llex.c.o -c /build/ceph/src/ceph-15.2.14/src/lua/src/llex.c cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/cmake -E cmake_symlink_library ../../lib/libcls_cas.so.1.0.0 ../../lib/libcls_cas.so.1 ../../lib/libcls_cas.so make -f src/common/CMakeFiles/parse_secret_objs.dir/build.make src/common/CMakeFiles/parse_secret_objs.dir/depend make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' cd /build/ceph/src/ceph-15.2.14/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/ceph/src/ceph-15.2.14 /build/ceph/src/ceph-15.2.14/src/common /build/ceph/src/ceph-15.2.14/build /build/ceph/src/ceph-15.2.14/build/src/common /build/ceph/src/ceph-15.2.14/build/src/common/CMakeFiles/parse_secret_objs.dir/DependInfo.cmake --color= make -f src/CMakeFiles/civetweb_common_objs.dir/build.make src/CMakeFiles/civetweb_common_objs.dir/depend make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' cd /build/ceph/src/ceph-15.2.14/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/ceph/src/ceph-15.2.14 /build/ceph/src/ceph-15.2.14/src /build/ceph/src/ceph-15.2.14/build /build/ceph/src/ceph-15.2.14/build/src /build/ceph/src/ceph-15.2.14/build/src/CMakeFiles/civetweb_common_objs.dir/DependInfo.cmake --color= make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' make -f src/common/CMakeFiles/parse_secret_objs.dir/build.make src/common/CMakeFiles/parse_secret_objs.dir/build make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' [ 13%] Built target cls_cas make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' make -f src/CMakeFiles/civetweb_common_objs.dir/build.make src/CMakeFiles/civetweb_common_objs.dir/build [ 13%] Building C object src/common/CMakeFiles/parse_secret_objs.dir/secret.c.o cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/cc -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -O2 -g -DNDEBUG -fPIC -std=gnu99 -MD -MT src/common/CMakeFiles/parse_secret_objs.dir/secret.c.o -MF CMakeFiles/parse_secret_objs.dir/secret.c.o.d -o CMakeFiles/parse_secret_objs.dir/secret.c.o -c /build/ceph/src/ceph-15.2.14/src/common/secret.c make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' [ 13%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/perf_counters.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DCEPH_DATADIR=\"/usr/share/ceph\" -DCEPH_LIBDIR=\"/usr/lib\" -DCEPH_PKGLIBDIR=\"/usr/lib/ceph\" -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/common/CMakeFiles/common-common-objs.dir/perf_counters.cc.o -MF CMakeFiles/common-common-objs.dir/perf_counters.cc.o.d -o CMakeFiles/common-common-objs.dir/perf_counters.cc.o -c /build/ceph/src/ceph-15.2.14/src/common/perf_counters.cc [ 13%] Building C object src/CMakeFiles/civetweb_common_objs.dir/civetweb/src/civetweb.c.o cd /build/ceph/src/ceph-15.2.14/build/src && /usr/bin/cc -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DCRYPTO_LIB=\"libcrypto.so.1.1\" -DHAVE_CONFIG_H -DOPENSSL_API_1_1=1 -DSSL_LIB=\"libssl.so.1.1\" -DUSE_IPV6=1 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/civetweb/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -O2 -g -DNDEBUG -fPIC -std=gnu99 -MD -MT src/CMakeFiles/civetweb_common_objs.dir/civetweb/src/civetweb.c.o -MF CMakeFiles/civetweb_common_objs.dir/civetweb/src/civetweb.c.o.d -o CMakeFiles/civetweb_common_objs.dir/civetweb/src/civetweb.c.o -c /build/ceph/src/ceph-15.2.14/src/civetweb/src/civetweb.c /build/ceph/src/ceph-15.2.14/src/common/secret.c: In function ‘set_kernel_secret’: /build/ceph/src/ceph-15.2.14/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 /build/ceph/src/ceph-15.2.14/src/common/secret.c:23: /build/ceph/src/ceph-15.2.14/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, | ^~~~~~~~~~~~ make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' [ 13%] Built target parse_secret_objs [ 13%] Building C object src/lua/CMakeFiles/liblua.dir/src/lmem.c.o /build/ceph/src/ceph-15.2.14/src/civetweb/src/civetweb.c: In function ‘mg_get_system_info_impl’: cd /build/ceph/src/ceph-15.2.14/build/src/lua && /usr/bin/cc -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/lua/src -I/build/ceph/src/ceph-15.2.14/build/src/lua -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -O2 -g -DNDEBUG -fPIC -std=gnu99 -MD -MT src/lua/CMakeFiles/liblua.dir/src/lmem.c.o -MF CMakeFiles/liblua.dir/src/lmem.c.o.d -o CMakeFiles/liblua.dir/src/lmem.c.o -c /build/ceph/src/ceph-15.2.14/src/lua/src/lmem.c /build/ceph/src/ceph-15.2.14/src/civetweb/src/civetweb.c:17261:32: warning: ‘-Werror’ is not an option that controls warnings [-Wpragmas] 17261 | #pragma GCC diagnostic ignored "-Werror" | ^~~~~~~~~ [ 13%] Building C object src/lua/CMakeFiles/liblua.dir/src/lobject.c.o cd /build/ceph/src/ceph-15.2.14/build/src/lua && /usr/bin/cc -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/lua/src -I/build/ceph/src/ceph-15.2.14/build/src/lua -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -O2 -g -DNDEBUG -fPIC -std=gnu99 -MD -MT src/lua/CMakeFiles/liblua.dir/src/lobject.c.o -MF CMakeFiles/liblua.dir/src/lobject.c.o.d -o CMakeFiles/liblua.dir/src/lobject.c.o -c /build/ceph/src/ceph-15.2.14/src/lua/src/lobject.c [ 83%] Building C object lib/CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/decompress/zstd_decompress_block.c.o cd /build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/libzstd/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_LEGACY_SUPPORT=0 -DZSTD_MULTITHREAD -I/build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/libzstd/lib -I/build/ceph/src/ceph-15.2.14/src/zstd/build/cmake/lib -I/build/ceph/src/ceph-15.2.14/src/zstd/build/cmake/../../lib -I/build/ceph/src/ceph-15.2.14/src/zstd/build/cmake/../../lib/common -fPIC -Wno-unused-variable -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -O3 -std=c99 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -O2 -g -DNDEBUG -fPIC -MD -MT lib/CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/decompress/zstd_decompress_block.c.o -MF CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/decompress/zstd_decompress_block.c.o.d -o CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/decompress/zstd_decompress_block.c.o -c /build/ceph/src/ceph-15.2.14/src/zstd/lib/decompress/zstd_decompress_block.c [ 13%] Building CXX object src/client/CMakeFiles/client.dir/MetaRequest.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/client && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/client/CMakeFiles/client.dir/MetaRequest.cc.o -MF CMakeFiles/client.dir/MetaRequest.cc.o.d -o CMakeFiles/client.dir/MetaRequest.cc.o -c /build/ceph/src/ceph-15.2.14/src/client/MetaRequest.cc [ 13%] Building C object src/lua/CMakeFiles/liblua.dir/src/lopcodes.c.o cd /build/ceph/src/ceph-15.2.14/build/src/lua && /usr/bin/cc -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/lua/src -I/build/ceph/src/ceph-15.2.14/build/src/lua -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -O2 -g -DNDEBUG -fPIC -std=gnu99 -MD -MT src/lua/CMakeFiles/liblua.dir/src/lopcodes.c.o -MF CMakeFiles/liblua.dir/src/lopcodes.c.o.d -o CMakeFiles/liblua.dir/src/lopcodes.c.o -c /build/ceph/src/ceph-15.2.14/src/lua/src/lopcodes.c [ 14%] Building C object src/lua/CMakeFiles/liblua.dir/src/lparser.c.o cd /build/ceph/src/ceph-15.2.14/build/src/lua && /usr/bin/cc -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/lua/src -I/build/ceph/src/ceph-15.2.14/build/src/lua -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -O2 -g -DNDEBUG -fPIC -std=gnu99 -MD -MT src/lua/CMakeFiles/liblua.dir/src/lparser.c.o -MF CMakeFiles/liblua.dir/src/lparser.c.o.d -o CMakeFiles/liblua.dir/src/lparser.c.o -c /build/ceph/src/ceph-15.2.14/src/lua/src/lparser.c [ 14%] Building C object src/lua/CMakeFiles/liblua.dir/src/lstate.c.o cd /build/ceph/src/ceph-15.2.14/build/src/lua && /usr/bin/cc -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/lua/src -I/build/ceph/src/ceph-15.2.14/build/src/lua -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -O2 -g -DNDEBUG -fPIC -std=gnu99 -MD -MT src/lua/CMakeFiles/liblua.dir/src/lstate.c.o -MF CMakeFiles/liblua.dir/src/lstate.c.o.d -o CMakeFiles/liblua.dir/src/lstate.c.o -c /build/ceph/src/ceph-15.2.14/src/lua/src/lstate.c [ 14%] Building C object src/lua/CMakeFiles/liblua.dir/src/lstring.c.o cd /build/ceph/src/ceph-15.2.14/build/src/lua && /usr/bin/cc -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/lua/src -I/build/ceph/src/ceph-15.2.14/build/src/lua -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -O2 -g -DNDEBUG -fPIC -std=gnu99 -MD -MT src/lua/CMakeFiles/liblua.dir/src/lstring.c.o -MF CMakeFiles/liblua.dir/src/lstring.c.o.d -o CMakeFiles/liblua.dir/src/lstring.c.o -c /build/ceph/src/ceph-15.2.14/src/lua/src/lstring.c make -f src/java/CMakeFiles/libcephfs.dir/build.make src/java/CMakeFiles/libcephfs.dir/depend make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' cd /build/ceph/src/ceph-15.2.14/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/ceph/src/ceph-15.2.14 /build/ceph/src/ceph-15.2.14/src/java /build/ceph/src/ceph-15.2.14/build /build/ceph/src/ceph-15.2.14/build/src/java /build/ceph/src/ceph-15.2.14/build/src/java/CMakeFiles/libcephfs.dir/DependInfo.cmake --color= make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' make -f src/java/CMakeFiles/libcephfs.dir/build.make src/java/CMakeFiles/libcephfs.dir/build make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' [ 14%] Building Java objects for libcephfs.jar cd /build/ceph/src/ceph-15.2.14/src/java && /usr/bin/cmake -DCMAKE_JAVA_CLASS_OUTPUT_PATH=/build/ceph/src/ceph-15.2.14/build/src/java/CMakeFiles/libcephfs.dir -DCMAKE_JAR_CLASSES_PREFIX= -P /usr/share/cmake/Modules/UseJava/ClearClassFiles.cmake cd /build/ceph/src/ceph-15.2.14/src/java && /usr/bin/javac -source 1.8 -target 1.8 -Xlint:-options -classpath :/build/ceph/src/ceph-15.2.14/src/java:/build/ceph/src/ceph-15.2.14/build/src/java -d /build/ceph/src/ceph-15.2.14/build/src/java/CMakeFiles/libcephfs.dir -h /build/ceph/src/ceph-15.2.14/build/src/java/native @/build/ceph/src/ceph-15.2.14/build/src/java/CMakeFiles/libcephfs.dir/java_sources [ 14%] Building C object src/lua/CMakeFiles/liblua.dir/src/ltable.c.o cd /build/ceph/src/ceph-15.2.14/build/src/lua && /usr/bin/cc -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/lua/src -I/build/ceph/src/ceph-15.2.14/build/src/lua -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -O2 -g -DNDEBUG -fPIC -std=gnu99 -MD -MT src/lua/CMakeFiles/liblua.dir/src/ltable.c.o -MF CMakeFiles/liblua.dir/src/ltable.c.o.d -o CMakeFiles/liblua.dir/src/ltable.c.o -c /build/ceph/src/ceph-15.2.14/src/lua/src/ltable.c [ 14%] Linking CXX shared library ../../lib/libcls_queue.so cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/cmake -E cmake_link_script CMakeFiles/cls_queue.dir/link.txt --verbose=1 /usr/bin/c++ -fPIC -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -shared -Wl,-soname,libcls_queue.so.1 -o ../../lib/libcls_queue.so.1.0.0 CMakeFiles/cls_queue.dir/queue/cls_queue.cc.o CMakeFiles/cls_queue.dir/queue/cls_queue_src.cc.o CMakeFiles/cls_queue.dir/__/common/ceph_json.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/cmake -E cmake_symlink_library ../../lib/libcls_queue.so.1.0.0 ../../lib/libcls_queue.so.1 ../../lib/libcls_queue.so make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' [ 14%] Built target cls_queue [ 24%] Building CXX object CMakeFiles/rocksdb.dir/db/write_batch.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/db/write_batch.cc.o -MF CMakeFiles/rocksdb.dir/db/write_batch.cc.o.d -o CMakeFiles/rocksdb.dir/db/write_batch.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/db/write_batch.cc [ 14%] Building C object src/lua/CMakeFiles/liblua.dir/src/ltm.c.o cd /build/ceph/src/ceph-15.2.14/build/src/lua && /usr/bin/cc -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/lua/src -I/build/ceph/src/ceph-15.2.14/build/src/lua -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -O2 -g -DNDEBUG -fPIC -std=gnu99 -MD -MT src/lua/CMakeFiles/liblua.dir/src/ltm.c.o -MF CMakeFiles/liblua.dir/src/ltm.c.o.d -o CMakeFiles/liblua.dir/src/ltm.c.o -c /build/ceph/src/ceph-15.2.14/src/lua/src/ltm.c [ 14%] Linking CXX shared library ../../lib/libcls_rbd.so cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/cmake -E cmake_link_script CMakeFiles/cls_rbd.dir/link.txt --verbose=1 /usr/bin/c++ -fPIC -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -shared -Wl,-soname,libcls_rbd.so.1 -o ../../lib/libcls_rbd.so.1.0.0 CMakeFiles/cls_rbd.dir/rbd/cls_rbd.cc.o CMakeFiles/cls_rbd.dir/rbd/cls_rbd_types.cc.o [ 14%] Building C object src/lua/CMakeFiles/liblua.dir/src/lundump.c.o cd /build/ceph/src/ceph-15.2.14/build/src/lua && /usr/bin/cc -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/lua/src -I/build/ceph/src/ceph-15.2.14/build/src/lua -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -O2 -g -DNDEBUG -fPIC -std=gnu99 -MD -MT src/lua/CMakeFiles/liblua.dir/src/lundump.c.o -MF CMakeFiles/liblua.dir/src/lundump.c.o.d -o CMakeFiles/liblua.dir/src/lundump.c.o -c /build/ceph/src/ceph-15.2.14/src/lua/src/lundump.c make -f src/cls/CMakeFiles/cls_sdk.dir/build.make src/cls/CMakeFiles/cls_sdk.dir/depend [ 87%] Building C object lib/CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/dictBuilder/cover.c.o make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' cd /build/ceph/src/ceph-15.2.14/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/ceph/src/ceph-15.2.14 /build/ceph/src/ceph-15.2.14/src/cls /build/ceph/src/ceph-15.2.14/build /build/ceph/src/ceph-15.2.14/build/src/cls /build/ceph/src/ceph-15.2.14/build/src/cls/CMakeFiles/cls_sdk.dir/DependInfo.cmake --color= cd /build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/libzstd/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_LEGACY_SUPPORT=0 -DZSTD_MULTITHREAD -I/build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/libzstd/lib -I/build/ceph/src/ceph-15.2.14/src/zstd/build/cmake/lib -I/build/ceph/src/ceph-15.2.14/src/zstd/build/cmake/../../lib -I/build/ceph/src/ceph-15.2.14/src/zstd/build/cmake/../../lib/common -fPIC -Wno-unused-variable -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -O3 -std=c99 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -O2 -g -DNDEBUG -fPIC -MD -MT lib/CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/dictBuilder/cover.c.o -MF CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/dictBuilder/cover.c.o.d -o CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/dictBuilder/cover.c.o -c /build/ceph/src/ceph-15.2.14/src/zstd/lib/dictBuilder/cover.c make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' make -f src/cls/CMakeFiles/cls_sdk.dir/build.make src/cls/CMakeFiles/cls_sdk.dir/build make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' [ 14%] Building CXX object src/cls/CMakeFiles/cls_sdk.dir/sdk/cls_sdk.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -Dcls_sdk_EXPORTS -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -fvisibility=hidden -std=c++17 -MD -MT src/cls/CMakeFiles/cls_sdk.dir/sdk/cls_sdk.cc.o -MF CMakeFiles/cls_sdk.dir/sdk/cls_sdk.cc.o.d -o CMakeFiles/cls_sdk.dir/sdk/cls_sdk.cc.o -c /build/ceph/src/ceph-15.2.14/src/cls/sdk/cls_sdk.cc In file included from /build/ceph/src/ceph-15.2.14/src/client/Inode.h:11, from /build/ceph/src/ceph-15.2.14/src/client/Fh.cc:17: /build/ceph/src/ceph-15.2.14/src/include/xlist.h:162:24: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/numeric:61, from /build/ceph/src/ceph-15.2.14/src/client/Inode.h:7: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/xlist.h:186:30: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 14%] Linking CXX shared library ../../lib/libcls_rgw_gc.so cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/cmake -E cmake_link_script CMakeFiles/cls_rgw_gc.dir/link.txt --verbose=1 /usr/bin/c++ -fPIC -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -shared -Wl,-soname,libcls_rgw_gc.so.1 -o ../../lib/libcls_rgw_gc.so.1.0.0 CMakeFiles/cls_rgw_gc.dir/rgw_gc/cls_rgw_gc.cc.o CMakeFiles/cls_rgw_gc.dir/queue/cls_queue_src.cc.o CMakeFiles/cls_rgw_gc.dir/__/common/ceph_json.cc.o [ 14%] Building C object src/lua/CMakeFiles/liblua.dir/src/lvm.c.o cd /build/ceph/src/ceph-15.2.14/build/src/lua && /usr/bin/cc -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/lua/src -I/build/ceph/src/ceph-15.2.14/build/src/lua -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -O2 -g -DNDEBUG -fPIC -std=gnu99 -MD -MT src/lua/CMakeFiles/liblua.dir/src/lvm.c.o -MF CMakeFiles/liblua.dir/src/lvm.c.o.d -o CMakeFiles/liblua.dir/src/lvm.c.o -c /build/ceph/src/ceph-15.2.14/src/lua/src/lvm.c make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' [ 14%] Built target civetweb_common_objs [ 14%] Building C object src/lua/CMakeFiles/liblua.dir/src/lzio.c.o cd /build/ceph/src/ceph-15.2.14/build/src/lua && /usr/bin/cc -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/lua/src -I/build/ceph/src/ceph-15.2.14/build/src/lua -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -O2 -g -DNDEBUG -fPIC -std=gnu99 -MD -MT src/lua/CMakeFiles/liblua.dir/src/lzio.c.o -MF CMakeFiles/liblua.dir/src/lzio.c.o.d -o CMakeFiles/liblua.dir/src/lzio.c.o -c /build/ceph/src/ceph-15.2.14/src/lua/src/lzio.c cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/cmake -E cmake_symlink_library ../../lib/libcls_rgw_gc.so.1.0.0 ../../lib/libcls_rgw_gc.so.1 ../../lib/libcls_rgw_gc.so make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' In file included from /build/ceph/src/ceph-15.2.14/src/include/lru.h:24, from /build/ceph/src/ceph-15.2.14/src/client/Dentry.h:4, from /build/ceph/src/ceph-15.2.14/src/client/Dentry.cc:7: /build/ceph/src/ceph-15.2.14/src/include/xlist.h:162:24: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/bits/stl_algobase.h:65, from /usr/include/c++/12.1.1/bits/stl_tree.h:63, from /usr/include/c++/12.1.1/set:60, from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:17, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/client/Dentry.cc:4: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/xlist.h:186:30: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 14%] Built target cls_rgw_gc [ 24%] Building CXX object CMakeFiles/rocksdb.dir/db/write_batch_base.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/db/write_batch_base.cc.o -MF CMakeFiles/rocksdb.dir/db/write_batch_base.cc.o.d -o CMakeFiles/rocksdb.dir/db/write_batch_base.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/db/write_batch_base.cc [ 24%] Building CXX object CMakeFiles/rocksdb.dir/db/write_controller.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/db/write_controller.cc.o -MF CMakeFiles/rocksdb.dir/db/write_controller.cc.o.d -o CMakeFiles/rocksdb.dir/db/write_controller.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/db/write_controller.cc [ 90%] Building C object lib/CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/dictBuilder/divsufsort.c.o cd /build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/libzstd/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_LEGACY_SUPPORT=0 -DZSTD_MULTITHREAD -I/build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/libzstd/lib -I/build/ceph/src/ceph-15.2.14/src/zstd/build/cmake/lib -I/build/ceph/src/ceph-15.2.14/src/zstd/build/cmake/../../lib -I/build/ceph/src/ceph-15.2.14/src/zstd/build/cmake/../../lib/common -fPIC -Wno-unused-variable -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -O3 -std=c99 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -O2 -g -DNDEBUG -fPIC -MD -MT lib/CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/dictBuilder/divsufsort.c.o -MF CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/dictBuilder/divsufsort.c.o.d -o CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/dictBuilder/divsufsort.c.o -c /build/ceph/src/ceph-15.2.14/src/zstd/lib/dictBuilder/divsufsort.c cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/cmake -E cmake_symlink_library ../../lib/libcls_rbd.so.1.0.0 ../../lib/libcls_rbd.so.1 ../../lib/libcls_rbd.so make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' [ 14%] Built target cls_rbd [ 93%] Building C object lib/CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/dictBuilder/fastcover.c.o cd /build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/libzstd/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_LEGACY_SUPPORT=0 -DZSTD_MULTITHREAD -I/build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/libzstd/lib -I/build/ceph/src/ceph-15.2.14/src/zstd/build/cmake/lib -I/build/ceph/src/ceph-15.2.14/src/zstd/build/cmake/../../lib -I/build/ceph/src/ceph-15.2.14/src/zstd/build/cmake/../../lib/common -fPIC -Wno-unused-variable -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -O3 -std=c99 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -O2 -g -DNDEBUG -fPIC -MD -MT lib/CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/dictBuilder/fastcover.c.o -MF CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/dictBuilder/fastcover.c.o.d -o CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/dictBuilder/fastcover.c.o -c /build/ceph/src/ceph-15.2.14/src/zstd/lib/dictBuilder/fastcover.c [ 14%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/perf_counters_collection.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DCEPH_DATADIR=\"/usr/share/ceph\" -DCEPH_LIBDIR=\"/usr/lib\" -DCEPH_PKGLIBDIR=\"/usr/lib/ceph\" -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/common/CMakeFiles/common-common-objs.dir/perf_counters_collection.cc.o -MF CMakeFiles/common-common-objs.dir/perf_counters_collection.cc.o.d -o CMakeFiles/common-common-objs.dir/perf_counters_collection.cc.o -c /build/ceph/src/ceph-15.2.14/src/common/perf_counters_collection.cc [ 14%] Linking CXX shared library ../../lib/libcls_sdk.so cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/cmake -E cmake_link_script CMakeFiles/cls_sdk.dir/link.txt --verbose=1 /usr/bin/c++ -fPIC -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -shared -Wl,-soname,libcls_sdk.so.1 -o ../../lib/libcls_sdk.so.1.0.0 CMakeFiles/cls_sdk.dir/sdk/cls_sdk.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/cmake -E cmake_symlink_library ../../lib/libcls_sdk.so.1.0.0 ../../lib/libcls_sdk.so.1 ../../lib/libcls_sdk.so [ 14%] Building C object src/lua/CMakeFiles/liblua.dir/src/lauxlib.c.o cd /build/ceph/src/ceph-15.2.14/build/src/lua && /usr/bin/cc -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/lua/src -I/build/ceph/src/ceph-15.2.14/build/src/lua -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -O2 -g -DNDEBUG -fPIC -std=gnu99 -MD -MT src/lua/CMakeFiles/liblua.dir/src/lauxlib.c.o -MF CMakeFiles/liblua.dir/src/lauxlib.c.o.d -o CMakeFiles/liblua.dir/src/lauxlib.c.o -c /build/ceph/src/ceph-15.2.14/src/lua/src/lauxlib.c Note: java/com/ceph/fs/CephMount.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. In file included from /build/ceph/src/ceph-15.2.14/src/mds/mdstypes.h:22, from /build/ceph/src/ceph-15.2.14/src/client/Dentry.h:7: /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:45:32: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:109:38: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ cd /build/ceph/src/ceph-15.2.14/src/java && /usr/bin/cmake -E touch /build/ceph/src/ceph-15.2.14/build/src/java/CMakeFiles/libcephfs.dir/java_compiled_libcephfs [ 14%] Built target cls_sdk [ 14%] Building C object src/lua/CMakeFiles/liblua.dir/src/lbaselib.c.o cd /build/ceph/src/ceph-15.2.14/build/src/lua && /usr/bin/cc -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/lua/src -I/build/ceph/src/ceph-15.2.14/build/src/lua -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -O2 -g -DNDEBUG -fPIC -std=gnu99 -MD -MT src/lua/CMakeFiles/liblua.dir/src/lbaselib.c.o -MF CMakeFiles/liblua.dir/src/lbaselib.c.o.d -o CMakeFiles/liblua.dir/src/lbaselib.c.o -c /build/ceph/src/ceph-15.2.14/src/lua/src/lbaselib.c [ 14%] Generating CMakeFiles/libcephfs.dir/java_class_filelist cd /build/ceph/src/ceph-15.2.14/src/java && /usr/bin/cmake -DCMAKE_JAVA_CLASS_OUTPUT_PATH=/build/ceph/src/ceph-15.2.14/build/src/java/CMakeFiles/libcephfs.dir -DCMAKE_JAR_CLASSES_PREFIX= -P /usr/share/cmake/Modules/UseJava/ClassFilelist.cmake [ 15%] Creating Java archive libcephfs.jar cd /build/ceph/src/ceph-15.2.14/build/src/java/CMakeFiles/libcephfs.dir && /usr/bin/jar -cf /build/ceph/src/ceph-15.2.14/build/src/java/libcephfs.jar @java_class_filelist In file included from /build/ceph/src/ceph-15.2.14/src/mds/mdstypes.h:21, from /build/ceph/src/ceph-15.2.14/src/messages/MClientCaps.h:19, from /build/ceph/src/ceph-15.2.14/src/client/Client.cc:50: /build/ceph/src/ceph-15.2.14/src/include/xlist.h:162:24: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/iterator:61, from /usr/include/boost/iterator/iterator_traits.hpp:10, from /usr/include/boost/range/iterator_range_core.hpp:26, from /usr/include/boost/lexical_cast.hpp:30, from /build/ceph/src/ceph-15.2.14/src/client/Client.cc:29: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/xlist.h:186:30: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /build/ceph/src/ceph-15.2.14/src/mds/mdstypes.h:22: /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:45:32: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:109:38: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 27%] Building CXX object CMakeFiles/rocksdb.dir/db/write_thread.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/db/write_thread.cc.o -MF CMakeFiles/rocksdb.dir/db/write_thread.cc.o.d -o CMakeFiles/rocksdb.dir/db/write_thread.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/db/write_thread.cc In file included from /build/ceph/src/ceph-15.2.14/src/mds/mdstypes.h:22, from /build/ceph/src/ceph-15.2.14/src/mds/flock.h:9, from /build/ceph/src/ceph-15.2.14/src/client/Inode.h:13: /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:45:32: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:109:38: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 27%] Building CXX object CMakeFiles/rocksdb.dir/env/env.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/env/env.cc.o -MF CMakeFiles/rocksdb.dir/env/env.cc.o.d -o CMakeFiles/rocksdb.dir/env/env.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/env/env.cc [ 27%] Building CXX object CMakeFiles/rocksdb.dir/env/env_chroot.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/env/env_chroot.cc.o -MF CMakeFiles/rocksdb.dir/env/env_chroot.cc.o.d -o CMakeFiles/rocksdb.dir/env/env_chroot.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/env/env_chroot.cc In file included from /build/ceph/src/ceph-15.2.14/src/client/MetaRequest.h:9, from /build/ceph/src/ceph-15.2.14/src/client/MetaRequest.cc:5: /build/ceph/src/ceph-15.2.14/src/include/xlist.h:162:24: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/bits/stl_algobase.h:65, from /usr/include/c++/12.1.1/bits/stl_tree.h:63, from /usr/include/c++/12.1.1/set:60, from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:17, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/client/MetaRequest.cc:4: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/xlist.h:186:30: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ cd /build/ceph/src/ceph-15.2.14/build/src/java/CMakeFiles/libcephfs.dir && /usr/bin/cmake -D_JAVA_TARGET_DIR=/build/ceph/src/ceph-15.2.14/build/src/java -D_JAVA_TARGET_OUTPUT_NAME=libcephfs.jar -D_JAVA_TARGET_OUTPUT_LINK= -P /usr/share/cmake/Modules/UseJava/Symlinks.cmake [ 15%] Building C object src/lua/CMakeFiles/liblua.dir/src/lbitlib.c.o cd /build/ceph/src/ceph-15.2.14/build/src/lua && /usr/bin/cc -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/lua/src -I/build/ceph/src/ceph-15.2.14/build/src/lua -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -O2 -g -DNDEBUG -fPIC -std=gnu99 -MD -MT src/lua/CMakeFiles/liblua.dir/src/lbitlib.c.o -MF CMakeFiles/liblua.dir/src/lbitlib.c.o.d -o CMakeFiles/liblua.dir/src/lbitlib.c.o -c /build/ceph/src/ceph-15.2.14/src/lua/src/lbitlib.c make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' [ 15%] Built target libcephfs [ 15%] Building C object src/lua/CMakeFiles/liblua.dir/src/lcorolib.c.o cd /build/ceph/src/ceph-15.2.14/build/src/lua && /usr/bin/cc -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/lua/src -I/build/ceph/src/ceph-15.2.14/build/src/lua -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -O2 -g -DNDEBUG -fPIC -std=gnu99 -MD -MT src/lua/CMakeFiles/liblua.dir/src/lcorolib.c.o -MF CMakeFiles/liblua.dir/src/lcorolib.c.o.d -o CMakeFiles/liblua.dir/src/lcorolib.c.o -c /build/ceph/src/ceph-15.2.14/src/lua/src/lcorolib.c [ 96%] Building C object lib/CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/dictBuilder/zdict.c.o cd /build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/libzstd/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_LEGACY_SUPPORT=0 -DZSTD_MULTITHREAD -I/build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/libzstd/lib -I/build/ceph/src/ceph-15.2.14/src/zstd/build/cmake/lib -I/build/ceph/src/ceph-15.2.14/src/zstd/build/cmake/../../lib -I/build/ceph/src/ceph-15.2.14/src/zstd/build/cmake/../../lib/common -fPIC -Wno-unused-variable -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -O3 -std=c99 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -O2 -g -DNDEBUG -fPIC -MD -MT lib/CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/dictBuilder/zdict.c.o -MF CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/dictBuilder/zdict.c.o.d -o CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/dictBuilder/zdict.c.o -c /build/ceph/src/ceph-15.2.14/src/zstd/lib/dictBuilder/zdict.c [ 15%] Building C object src/lua/CMakeFiles/liblua.dir/src/ldblib.c.o cd /build/ceph/src/ceph-15.2.14/build/src/lua && /usr/bin/cc -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/lua/src -I/build/ceph/src/ceph-15.2.14/build/src/lua -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -O2 -g -DNDEBUG -fPIC -std=gnu99 -MD -MT src/lua/CMakeFiles/liblua.dir/src/ldblib.c.o -MF CMakeFiles/liblua.dir/src/ldblib.c.o.d -o CMakeFiles/liblua.dir/src/ldblib.c.o -c /build/ceph/src/ceph-15.2.14/src/lua/src/ldblib.c [ 15%] Building C object src/lua/CMakeFiles/liblua.dir/src/liolib.c.o cd /build/ceph/src/ceph-15.2.14/build/src/lua && /usr/bin/cc -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/lua/src -I/build/ceph/src/ceph-15.2.14/build/src/lua -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -O2 -g -DNDEBUG -fPIC -std=gnu99 -MD -MT src/lua/CMakeFiles/liblua.dir/src/liolib.c.o -MF CMakeFiles/liblua.dir/src/liolib.c.o.d -o CMakeFiles/liblua.dir/src/liolib.c.o -c /build/ceph/src/ceph-15.2.14/src/lua/src/liolib.c In file included from /build/ceph/src/ceph-15.2.14/src/client/Client.h:28, from /build/ceph/src/ceph-15.2.14/src/client/Inode.cc:4: /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:45:32: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/bits/stl_algobase.h:65, from /usr/include/c++/12.1.1/vector:60, from /build/ceph/src/ceph-15.2.14/src/messages/MCommand.h:18, from /build/ceph/src/ceph-15.2.14/src/common/CommandTable.h:18, from /build/ceph/src/ceph-15.2.14/src/client/Client.h:19: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:109:38: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /build/ceph/src/ceph-15.2.14/src/include/lru.h:24, from /build/ceph/src/ceph-15.2.14/src/client/Client.h:29: /build/ceph/src/ceph-15.2.14/src/include/xlist.h:162:24: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/xlist.h:186:30: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ make -f src/cls/CMakeFiles/cls_numops_client.dir/build.make src/cls/CMakeFiles/cls_numops_client.dir/depend make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' cd /build/ceph/src/ceph-15.2.14/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/ceph/src/ceph-15.2.14 /build/ceph/src/ceph-15.2.14/src/cls /build/ceph/src/ceph-15.2.14/build /build/ceph/src/ceph-15.2.14/build/src/cls /build/ceph/src/ceph-15.2.14/build/src/cls/CMakeFiles/cls_numops_client.dir/DependInfo.cmake --color= make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' make -f src/cls/CMakeFiles/cls_numops_client.dir/build.make src/cls/CMakeFiles/cls_numops_client.dir/build make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' [ 15%] Building CXX object src/cls/CMakeFiles/cls_numops_client.dir/numops/cls_numops_client.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/cls/CMakeFiles/cls_numops_client.dir/numops/cls_numops_client.cc.o -MF CMakeFiles/cls_numops_client.dir/numops/cls_numops_client.cc.o.d -o CMakeFiles/cls_numops_client.dir/numops/cls_numops_client.cc.o -c /build/ceph/src/ceph-15.2.14/src/cls/numops/cls_numops_client.cc [ 15%] Building C object src/lua/CMakeFiles/liblua.dir/src/lmathlib.c.o make -f src/cls/CMakeFiles/cls_rbd_client.dir/build.make src/cls/CMakeFiles/cls_rbd_client.dir/depend cd /build/ceph/src/ceph-15.2.14/build/src/lua && /usr/bin/cc -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/lua/src -I/build/ceph/src/ceph-15.2.14/build/src/lua -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -O2 -g -DNDEBUG -fPIC -std=gnu99 -MD -MT src/lua/CMakeFiles/liblua.dir/src/lmathlib.c.o -MF CMakeFiles/liblua.dir/src/lmathlib.c.o.d -o CMakeFiles/liblua.dir/src/lmathlib.c.o -c /build/ceph/src/ceph-15.2.14/src/lua/src/lmathlib.c make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' cd /build/ceph/src/ceph-15.2.14/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/ceph/src/ceph-15.2.14 /build/ceph/src/ceph-15.2.14/src/cls /build/ceph/src/ceph-15.2.14/build /build/ceph/src/ceph-15.2.14/build/src/cls /build/ceph/src/ceph-15.2.14/build/src/cls/CMakeFiles/cls_rbd_client.dir/DependInfo.cmake --color= [100%] Linking C static library libzstd.a cd /build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/libzstd/lib && /usr/bin/cmake -P CMakeFiles/libzstd_static.dir/cmake_clean_target.cmake make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' make -f src/cls/CMakeFiles/cls_rbd_client.dir/build.make src/cls/CMakeFiles/cls_rbd_client.dir/build cd /build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/libzstd/lib && /usr/bin/cmake -E cmake_link_script CMakeFiles/libzstd_static.dir/link.txt --verbose=1 make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' /usr/bin/ar qc libzstd.a "CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/common/debug.c.o" "CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/common/entropy_common.c.o" "CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/common/error_private.c.o" "CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/common/fse_decompress.c.o" "CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/common/pool.c.o" "CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/common/threading.c.o" "CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/common/xxhash.c.o" "CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/common/zstd_common.c.o" "CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/compress/fse_compress.c.o" "CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/compress/hist.c.o" "CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/compress/huf_compress.c.o" "CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/compress/zstd_compress.c.o" "CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/compress/zstd_compress_literals.c.o" "CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/compress/zstd_compress_sequences.c.o" "CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/compress/zstd_compress_superblock.c.o" "CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/compress/zstd_double_fast.c.o" "CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/compress/zstd_fast.c.o" "CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/compress/zstd_lazy.c.o" "CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/compress/zstd_ldm.c.o" "CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/compress/zstd_opt.c.o" "CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/compress/zstdmt_compress.c.o" "CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/decompress/huf_decompress.c.o" "CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/decompress/huf_decompress_amd64.S.o" "CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/decompress/zstd_ddict.c.o" "CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/decompress/zstd_decompress.c.o" "CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/decompress/zstd_decompress_block.c.o" "CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/dictBuilder/cover.c.o" "CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/dictBuilder/divsufsort.c.o" "CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/dictBuilder/fastcover.c.o" "CMakeFiles/libzstd_static.dir/build/ceph/src/ceph-15.2.14/src/zstd/lib/dictBuilder/zdict.c.o" [ 15%] Building CXX object src/cls/CMakeFiles/cls_rbd_client.dir/rbd/cls_rbd_client.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/cls/CMakeFiles/cls_rbd_client.dir/rbd/cls_rbd_client.cc.o -MF CMakeFiles/cls_rbd_client.dir/rbd/cls_rbd_client.cc.o.d -o CMakeFiles/cls_rbd_client.dir/rbd/cls_rbd_client.cc.o -c /build/ceph/src/ceph-15.2.14/src/cls/rbd/cls_rbd_client.cc /usr/bin/ranlib libzstd.a make[6]: Leaving directory '/build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/libzstd' [100%] Built target libzstd_static make[5]: Leaving directory '/build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/libzstd' /usr/bin/cmake -E cmake_progress_start /build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/libzstd/CMakeFiles 0 make[4]: Leaving directory '/build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/libzstd' make[3]: Leaving directory '/build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/libzstd' cd /build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/libzstd && /usr/bin/cmake -E touch /build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/zstd_ext-prefix/src/zstd_ext-stamp/zstd_ext-build [ 15%] Performing install step for 'zstd_ext' cd /build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/libzstd && true cd /build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/libzstd && /usr/bin/cmake -E touch /build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/zstd_ext-prefix/src/zstd_ext-stamp/zstd_ext-install [ 15%] Completed 'zstd_ext' cd /build/ceph/src/ceph-15.2.14/build/src/compressor/zstd && /usr/bin/cmake -E make_directory /build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/CMakeFiles cd /build/ceph/src/ceph-15.2.14/build/src/compressor/zstd && /usr/bin/cmake -E touch /build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/CMakeFiles/zstd_ext-complete [ 15%] Building C object src/lua/CMakeFiles/liblua.dir/src/loslib.c.o cd /build/ceph/src/ceph-15.2.14/build/src/lua && /usr/bin/cc -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/lua/src -I/build/ceph/src/ceph-15.2.14/build/src/lua -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -O2 -g -DNDEBUG -fPIC -std=gnu99 -MD -MT src/lua/CMakeFiles/liblua.dir/src/loslib.c.o -MF CMakeFiles/liblua.dir/src/loslib.c.o.d -o CMakeFiles/liblua.dir/src/loslib.c.o -c /build/ceph/src/ceph-15.2.14/src/lua/src/loslib.c cd /build/ceph/src/ceph-15.2.14/build/src/compressor/zstd && /usr/bin/cmake -E touch /build/ceph/src/ceph-15.2.14/build/src/compressor/zstd/zstd_ext-prefix/src/zstd_ext-stamp/zstd_ext-done make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' [ 15%] Built target zstd_ext [ 27%] Building CXX object CMakeFiles/rocksdb.dir/env/env_encryption.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/env/env_encryption.cc.o -MF CMakeFiles/rocksdb.dir/env/env_encryption.cc.o.d -o CMakeFiles/rocksdb.dir/env/env_encryption.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/env/env_encryption.cc In file included from /build/ceph/src/ceph-15.2.14/src/mds/mdstypes.h:22, from /build/ceph/src/ceph-15.2.14/src/client/MetaRequest.h:11: /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:45:32: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:109:38: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 15%] Building C object src/lua/CMakeFiles/liblua.dir/src/lstrlib.c.o cd /build/ceph/src/ceph-15.2.14/build/src/lua && /usr/bin/cc -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/lua/src -I/build/ceph/src/ceph-15.2.14/build/src/lua -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -O2 -g -DNDEBUG -fPIC -std=gnu99 -MD -MT src/lua/CMakeFiles/liblua.dir/src/lstrlib.c.o -MF CMakeFiles/liblua.dir/src/lstrlib.c.o.d -o CMakeFiles/liblua.dir/src/lstrlib.c.o -c /build/ceph/src/ceph-15.2.14/src/lua/src/lstrlib.c make -f src/cls/CMakeFiles/cls_otp_client.dir/build.make src/cls/CMakeFiles/cls_otp_client.dir/depend make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' cd /build/ceph/src/ceph-15.2.14/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/ceph/src/ceph-15.2.14 /build/ceph/src/ceph-15.2.14/src/cls /build/ceph/src/ceph-15.2.14/build /build/ceph/src/ceph-15.2.14/build/src/cls /build/ceph/src/ceph-15.2.14/build/src/cls/CMakeFiles/cls_otp_client.dir/DependInfo.cmake --color= make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' make -f src/cls/CMakeFiles/cls_otp_client.dir/build.make src/cls/CMakeFiles/cls_otp_client.dir/build make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' [ 16%] Building CXX object src/cls/CMakeFiles/cls_otp_client.dir/otp/cls_otp_client.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/cls/CMakeFiles/cls_otp_client.dir/otp/cls_otp_client.cc.o -MF CMakeFiles/cls_otp_client.dir/otp/cls_otp_client.cc.o.d -o CMakeFiles/cls_otp_client.dir/otp/cls_otp_client.cc.o -c /build/ceph/src/ceph-15.2.14/src/cls/otp/cls_otp_client.cc In file included from /build/ceph/src/ceph-15.2.14/src/librados/ListObjectImpl.h:19, from /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:50, from /build/ceph/src/ceph-15.2.14/src/osd/OSDMap.h:38, from /build/ceph/src/ceph-15.2.14/src/messages/MOSDMap.h:20, from /build/ceph/src/ceph-15.2.14/src/client/Client.cc:65: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /build/ceph/src/ceph-15.2.14/src/cls/numops/cls_numops_client.cc:17: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/string:45, from /build/ceph/src/ceph-15.2.14/src/cls/numops/cls_numops_client.h:19, from /build/ceph/src/ceph-15.2.14/src/cls/numops/cls_numops_client.cc:15: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 27%] Building CXX object CMakeFiles/rocksdb.dir/env/env_hdfs.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/env/env_hdfs.cc.o -MF CMakeFiles/rocksdb.dir/env/env_hdfs.cc.o.d -o CMakeFiles/rocksdb.dir/env/env_hdfs.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/env/env_hdfs.cc In file included from /build/ceph/src/ceph-15.2.14/src/librados/ListObjectImpl.h:19, from /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:50, from /build/ceph/src/ceph-15.2.14/src/messages/MOSDFastDispatchOp.h:8, from /build/ceph/src/ceph-15.2.14/src/messages/MOSDOp.h:21, from /build/ceph/src/ceph-15.2.14/src/osdc/Objecter.h:43, from /build/ceph/src/ceph-15.2.14/src/osdc/ObjectCacher.h:17, from /build/ceph/src/ceph-15.2.14/src/client/Inode.h:16, from /build/ceph/src/ceph-15.2.14/src/client/Dentry.h:8: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 16%] Building CXX object src/cls/CMakeFiles/cls_otp_client.dir/otp/cls_otp_types.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/cls/CMakeFiles/cls_otp_client.dir/otp/cls_otp_types.cc.o -MF CMakeFiles/cls_otp_client.dir/otp/cls_otp_types.cc.o.d -o CMakeFiles/cls_otp_client.dir/otp/cls_otp_types.cc.o -c /build/ceph/src/ceph-15.2.14/src/cls/otp/cls_otp_types.cc [ 16%] Building C object src/lua/CMakeFiles/liblua.dir/src/ltablib.c.o cd /build/ceph/src/ceph-15.2.14/build/src/lua && /usr/bin/cc -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/lua/src -I/build/ceph/src/ceph-15.2.14/build/src/lua -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -O2 -g -DNDEBUG -fPIC -std=gnu99 -MD -MT src/lua/CMakeFiles/liblua.dir/src/ltablib.c.o -MF CMakeFiles/liblua.dir/src/ltablib.c.o.d -o CMakeFiles/liblua.dir/src/ltablib.c.o -c /build/ceph/src/ceph-15.2.14/src/lua/src/ltablib.c In file included from /build/ceph/src/ceph-15.2.14/src/librados/ListObjectImpl.h:19, from /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:50, from /build/ceph/src/ceph-15.2.14/src/messages/MOSDFastDispatchOp.h:8, from /build/ceph/src/ceph-15.2.14/src/messages/MOSDOp.h:21, from /build/ceph/src/ceph-15.2.14/src/osdc/Objecter.h:43, from /build/ceph/src/ceph-15.2.14/src/osdc/ObjectCacher.h:17, from /build/ceph/src/ceph-15.2.14/src/client/Inode.h:16: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 16%] Linking CXX static library ../../lib/libcls_numops_client.a cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/cmake -P CMakeFiles/cls_numops_client.dir/cmake_clean_target.cmake cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/cmake -E cmake_link_script CMakeFiles/cls_numops_client.dir/link.txt --verbose=1 /usr/bin/ar qc ../../lib/libcls_numops_client.a CMakeFiles/cls_numops_client.dir/numops/cls_numops_client.cc.o /usr/bin/ranlib ../../lib/libcls_numops_client.a make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' [ 16%] Building C object src/lua/CMakeFiles/liblua.dir/src/linit.c.o cd /build/ceph/src/ceph-15.2.14/build/src/lua && /usr/bin/cc -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/lua/src -I/build/ceph/src/ceph-15.2.14/build/src/lua -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -O2 -g -DNDEBUG -fPIC -std=gnu99 -MD -MT src/lua/CMakeFiles/liblua.dir/src/linit.c.o -MF CMakeFiles/liblua.dir/src/linit.c.o.d -o CMakeFiles/liblua.dir/src/linit.c.o -c /build/ceph/src/ceph-15.2.14/src/lua/src/linit.c [ 16%] Built target cls_numops_client [ 16%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/perf_histogram.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DCEPH_DATADIR=\"/usr/share/ceph\" -DCEPH_LIBDIR=\"/usr/lib\" -DCEPH_PKGLIBDIR=\"/usr/lib/ceph\" -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/common/CMakeFiles/common-common-objs.dir/perf_histogram.cc.o -MF CMakeFiles/common-common-objs.dir/perf_histogram.cc.o.d -o CMakeFiles/common-common-objs.dir/perf_histogram.cc.o -c /build/ceph/src/ceph-15.2.14/src/common/perf_histogram.cc [ 16%] Building C object src/lua/CMakeFiles/liblua.dir/src/lutf8lib.c.o cd /build/ceph/src/ceph-15.2.14/build/src/lua && /usr/bin/cc -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/lua/src -I/build/ceph/src/ceph-15.2.14/build/src/lua -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -O2 -g -DNDEBUG -fPIC -std=gnu99 -MD -MT src/lua/CMakeFiles/liblua.dir/src/lutf8lib.c.o -MF CMakeFiles/liblua.dir/src/lutf8lib.c.o.d -o CMakeFiles/liblua.dir/src/lutf8lib.c.o -c /build/ceph/src/ceph-15.2.14/src/lua/src/lutf8lib.c [ 16%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/pick_address.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DCEPH_DATADIR=\"/usr/share/ceph\" -DCEPH_LIBDIR=\"/usr/lib\" -DCEPH_PKGLIBDIR=\"/usr/lib/ceph\" -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/common/CMakeFiles/common-common-objs.dir/pick_address.cc.o -MF CMakeFiles/common-common-objs.dir/pick_address.cc.o.d -o CMakeFiles/common-common-objs.dir/pick_address.cc.o -c /build/ceph/src/ceph-15.2.14/src/common/pick_address.cc In file included from /build/ceph/src/ceph-15.2.14/src/librados/ListObjectImpl.h:19, from /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:50, from /build/ceph/src/ceph-15.2.14/src/messages/MOSDFastDispatchOp.h:8, from /build/ceph/src/ceph-15.2.14/src/messages/MOSDOp.h:21, from /build/ceph/src/ceph-15.2.14/src/osdc/Objecter.h:43, from /build/ceph/src/ceph-15.2.14/src/osdc/ObjectCacher.h:17, from /build/ceph/src/ceph-15.2.14/src/client/Client.h:37: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 16%] Building C object src/lua/CMakeFiles/liblua.dir/src/loadlib_rel.c.o cd /build/ceph/src/ceph-15.2.14/build/src/lua && /usr/bin/cc -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/lua/src -I/build/ceph/src/ceph-15.2.14/build/src/lua -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -O2 -g -DNDEBUG -fPIC -std=gnu99 -MD -MT src/lua/CMakeFiles/liblua.dir/src/loadlib_rel.c.o -MF CMakeFiles/liblua.dir/src/loadlib_rel.c.o.d -o CMakeFiles/liblua.dir/src/loadlib_rel.c.o -c /build/ceph/src/ceph-15.2.14/src/lua/src/loadlib_rel.c [ 16%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/rabin.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DCEPH_DATADIR=\"/usr/share/ceph\" -DCEPH_LIBDIR=\"/usr/lib\" -DCEPH_PKGLIBDIR=\"/usr/lib/ceph\" -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/common/CMakeFiles/common-common-objs.dir/rabin.cc.o -MF CMakeFiles/common-common-objs.dir/rabin.cc.o.d -o CMakeFiles/common-common-objs.dir/rabin.cc.o -c /build/ceph/src/ceph-15.2.14/src/common/rabin.cc [ 17%] Linking C static library ../../lib/liblua.a cd /build/ceph/src/ceph-15.2.14/build/src/lua && /usr/bin/cmake -P CMakeFiles/liblua.dir/cmake_clean_target.cmake cd /build/ceph/src/ceph-15.2.14/build/src/lua && /usr/bin/cmake -E cmake_link_script CMakeFiles/liblua.dir/link.txt --verbose=1 /usr/bin/ar qc ../../lib/liblua.a CMakeFiles/liblua.dir/src/lapi.c.o CMakeFiles/liblua.dir/src/lcode.c.o CMakeFiles/liblua.dir/src/lctype.c.o CMakeFiles/liblua.dir/src/ldebug.c.o CMakeFiles/liblua.dir/src/ldo.c.o CMakeFiles/liblua.dir/src/ldump.c.o CMakeFiles/liblua.dir/src/lfunc.c.o CMakeFiles/liblua.dir/src/lgc.c.o CMakeFiles/liblua.dir/src/llex.c.o CMakeFiles/liblua.dir/src/lmem.c.o CMakeFiles/liblua.dir/src/lobject.c.o CMakeFiles/liblua.dir/src/lopcodes.c.o CMakeFiles/liblua.dir/src/lparser.c.o CMakeFiles/liblua.dir/src/lstate.c.o CMakeFiles/liblua.dir/src/lstring.c.o CMakeFiles/liblua.dir/src/ltable.c.o CMakeFiles/liblua.dir/src/ltm.c.o CMakeFiles/liblua.dir/src/lundump.c.o CMakeFiles/liblua.dir/src/lvm.c.o CMakeFiles/liblua.dir/src/lzio.c.o CMakeFiles/liblua.dir/src/lauxlib.c.o CMakeFiles/liblua.dir/src/lbaselib.c.o CMakeFiles/liblua.dir/src/lbitlib.c.o CMakeFiles/liblua.dir/src/lcorolib.c.o CMakeFiles/liblua.dir/src/ldblib.c.o CMakeFiles/liblua.dir/src/liolib.c.o CMakeFiles/liblua.dir/src/lmathlib.c.o CMakeFiles/liblua.dir/src/loslib.c.o CMakeFiles/liblua.dir/src/lstrlib.c.o CMakeFiles/liblua.dir/src/ltablib.c.o CMakeFiles/liblua.dir/src/linit.c.o CMakeFiles/liblua.dir/src/lutf8lib.c.o CMakeFiles/liblua.dir/src/loadlib_rel.c.o make -f src/cls/CMakeFiles/cls_refcount_client.dir/build.make src/cls/CMakeFiles/cls_refcount_client.dir/depend make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' cd /build/ceph/src/ceph-15.2.14/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/ceph/src/ceph-15.2.14 /build/ceph/src/ceph-15.2.14/src/cls /build/ceph/src/ceph-15.2.14/build /build/ceph/src/ceph-15.2.14/build/src/cls /build/ceph/src/ceph-15.2.14/build/src/cls/CMakeFiles/cls_refcount_client.dir/DependInfo.cmake --color= /usr/bin/ranlib ../../lib/liblua.a make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' make -f src/cls/CMakeFiles/cls_refcount_client.dir/build.make src/cls/CMakeFiles/cls_refcount_client.dir/build make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' [ 17%] Building CXX object src/cls/CMakeFiles/cls_rbd_client.dir/rbd/cls_rbd_types.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/cls/CMakeFiles/cls_rbd_client.dir/rbd/cls_rbd_types.cc.o -MF CMakeFiles/cls_rbd_client.dir/rbd/cls_rbd_types.cc.o.d -o CMakeFiles/cls_rbd_client.dir/rbd/cls_rbd_types.cc.o -c /build/ceph/src/ceph-15.2.14/src/cls/rbd/cls_rbd_types.cc [ 17%] Building CXX object src/cls/CMakeFiles/cls_refcount_client.dir/refcount/cls_refcount_client.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/cls/CMakeFiles/cls_refcount_client.dir/refcount/cls_refcount_client.cc.o -MF CMakeFiles/cls_refcount_client.dir/refcount/cls_refcount_client.cc.o.d -o CMakeFiles/cls_refcount_client.dir/refcount/cls_refcount_client.cc.o -c /build/ceph/src/ceph-15.2.14/src/cls/refcount/cls_refcount_client.cc [ 17%] Built target liblua [ 17%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/random_string.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DCEPH_DATADIR=\"/usr/share/ceph\" -DCEPH_LIBDIR=\"/usr/lib\" -DCEPH_PKGLIBDIR=\"/usr/lib/ceph\" -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/common/CMakeFiles/common-common-objs.dir/random_string.cc.o -MF CMakeFiles/common-common-objs.dir/random_string.cc.o.d -o CMakeFiles/common-common-objs.dir/random_string.cc.o -c /build/ceph/src/ceph-15.2.14/src/common/random_string.cc In file included from /build/ceph/src/ceph-15.2.14/src/cls/rbd/cls_rbd_client.cc:9: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/bits/stl_algobase.h:65, from /usr/include/c++/12.1.1/bits/stl_tree.h:63, from /usr/include/c++/12.1.1/set:60, from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:17, from /build/ceph/src/ceph-15.2.14/src/cls/lock/cls_lock_types.h:7, from /build/ceph/src/ceph-15.2.14/src/cls/rbd/cls_rbd_client.h:7, from /build/ceph/src/ceph-15.2.14/src/cls/rbd/cls_rbd_client.cc:4: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ make -f src/cls/CMakeFiles/cls_version_client.dir/build.make src/cls/CMakeFiles/cls_version_client.dir/depend make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' cd /build/ceph/src/ceph-15.2.14/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/ceph/src/ceph-15.2.14 /build/ceph/src/ceph-15.2.14/src/cls /build/ceph/src/ceph-15.2.14/build /build/ceph/src/ceph-15.2.14/build/src/cls /build/ceph/src/ceph-15.2.14/build/src/cls/CMakeFiles/cls_version_client.dir/DependInfo.cmake --color= In file included from /build/ceph/src/ceph-15.2.14/src/librados/ListObjectImpl.h:19, from /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:50, from /build/ceph/src/ceph-15.2.14/src/messages/MOSDFastDispatchOp.h:8, from /build/ceph/src/ceph-15.2.14/src/messages/MOSDOp.h:21, from /build/ceph/src/ceph-15.2.14/src/osdc/Objecter.h:43, from /build/ceph/src/ceph-15.2.14/src/osdc/ObjectCacher.h:17, from /build/ceph/src/ceph-15.2.14/src/client/Inode.h:16, from /build/ceph/src/ceph-15.2.14/src/client/Dentry.h:8, from /build/ceph/src/ceph-15.2.14/src/client/MetaRequest.cc:6: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' make -f src/cls/CMakeFiles/cls_version_client.dir/build.make src/cls/CMakeFiles/cls_version_client.dir/build make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' [ 17%] Building CXX object src/cls/CMakeFiles/cls_version_client.dir/version/cls_version_client.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/cls/CMakeFiles/cls_version_client.dir/version/cls_version_client.cc.o -MF CMakeFiles/cls_version_client.dir/version/cls_version_client.cc.o.d -o CMakeFiles/cls_version_client.dir/version/cls_version_client.cc.o -c /build/ceph/src/ceph-15.2.14/src/cls/version/cls_version_client.cc In file included from /build/ceph/src/ceph-15.2.14/src/cls/otp/cls_otp_client.cc:17: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/bits/stl_algobase.h:65, from /usr/include/c++/12.1.1/bits/stl_tree.h:63, from /usr/include/c++/12.1.1/set:60, from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:17, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/cls/otp/cls_otp_client.cc:15: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/cls/rbd/cls_rbd_client.cc:1455:9: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/cls/rbd/cls_rbd_client.cc:852:9: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, long unsigned int, long 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) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/cls/rbd/cls_rbd_client.cc:1455:9: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/CompatSet.h:85:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:3809:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&’ {aka ‘const std::pair, std::optional >&’} binds to a temporary constructed from type ‘const std::pair, std::optional >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T’ {aka ‘const std::pair, std::optional >’} to make the copy explicit or ‘const std::pair, std::optional >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osdc/Objecter.h:710:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&’ {aka ‘const std::pair, std::pair >&’} binds to a temporary constructed from type ‘const std::pair, std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::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 /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/client/Inode.h:10: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/CompatSet.h:85:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:3809:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&’ {aka ‘const std::pair, std::optional >&’} binds to a temporary constructed from type ‘const std::pair, std::optional >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T’ {aka ‘const std::pair, std::optional >’} to make the copy explicit or ‘const std::pair, std::optional >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/CompatSet.h:85:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:3809:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&’ {aka ‘const std::pair, std::optional >&’} binds to a temporary constructed from type ‘const std::pair, std::optional >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T’ {aka ‘const std::pair, std::optional >’} to make the copy explicit or ‘const std::pair, std::optional >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osdc/Objecter.h:710:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&’ {aka ‘const std::pair, std::pair >&’} binds to a temporary constructed from type ‘const std::pair, std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T’ {aka ‘const std::pair, std::pair >’} to make the copy explicit or ‘const std::pair, std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osdc/Objecter.h:710:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&’ {aka ‘const std::pair, std::pair >&’} binds to a temporary constructed from type ‘const std::pair, std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T’ {aka ‘const std::pair, std::pair >’} to make the copy explicit or ‘const std::pair, std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/CompatSet.h:85:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying [ 17%] Building C object src/common/CMakeFiles/common-common-objs.dir/reverse.c.o cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/cc -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DCEPH_DATADIR=\"/usr/share/ceph\" -DCEPH_LIBDIR=\"/usr/lib\" -DCEPH_PKGLIBDIR=\"/usr/lib/ceph\" -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -O2 -g -DNDEBUG -fPIC -std=gnu99 -MD -MT src/common/CMakeFiles/common-common-objs.dir/reverse.c.o -MF CMakeFiles/common-common-objs.dir/reverse.c.o.d -o CMakeFiles/common-common-objs.dir/reverse.c.o -c /build/ceph/src/ceph-15.2.14/src/common/reverse.c /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:3809:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&’ {aka ‘const std::pair, std::optional >&’} binds to a temporary constructed from type ‘const std::pair, std::optional >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T’ {aka ‘const std::pair, std::optional >’} to make the copy explicit or ‘const std::pair, std::optional >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying [ 27%] Building CXX object CMakeFiles/rocksdb.dir/env/mock_env.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/env/mock_env.cc.o -MF CMakeFiles/rocksdb.dir/env/mock_env.cc.o.d -o CMakeFiles/rocksdb.dir/env/mock_env.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/env/mock_env.cc [ 27%] Building CXX object CMakeFiles/rocksdb.dir/memtable/alloc_tracker.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/memtable/alloc_tracker.cc.o -MF CMakeFiles/rocksdb.dir/memtable/alloc_tracker.cc.o.d -o CMakeFiles/rocksdb.dir/memtable/alloc_tracker.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/memtable/alloc_tracker.cc [ 17%] Linking CXX static library ../../lib/libcls_otp_client.a cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/cmake -P CMakeFiles/cls_otp_client.dir/cmake_clean_target.cmake cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/cmake -E cmake_link_script CMakeFiles/cls_otp_client.dir/link.txt --verbose=1 /usr/bin/ar qc ../../lib/libcls_otp_client.a CMakeFiles/cls_otp_client.dir/otp/cls_otp_client.cc.o CMakeFiles/cls_otp_client.dir/otp/cls_otp_types.cc.o /usr/bin/ranlib ../../lib/libcls_otp_client.a make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' [ 17%] Built target cls_otp_client /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osdc/Objecter.h:710:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&’ {aka ‘const std::pair, std::pair >&’} binds to a temporary constructed from type ‘const std::pair, std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T’ {aka ‘const std::pair, std::pair >’} to make the copy explicit or ‘const std::pair, std::pair >&’ to prevent copying [ 17%] Building CXX object src/cls/CMakeFiles/cls_refcount_client.dir/refcount/cls_refcount_ops.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/cls/CMakeFiles/cls_refcount_client.dir/refcount/cls_refcount_ops.cc.o -MF CMakeFiles/cls_refcount_client.dir/refcount/cls_refcount_ops.cc.o.d -o CMakeFiles/cls_refcount_client.dir/refcount/cls_refcount_ops.cc.o -c /build/ceph/src/ceph-15.2.14/src/cls/refcount/cls_refcount_ops.cc [ 27%] Building CXX object CMakeFiles/rocksdb.dir/memtable/hash_linklist_rep.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/memtable/hash_linklist_rep.cc.o -MF CMakeFiles/rocksdb.dir/memtable/hash_linklist_rep.cc.o.d -o CMakeFiles/rocksdb.dir/memtable/hash_linklist_rep.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/memtable/hash_linklist_rep.cc In file included from /build/ceph/src/ceph-15.2.14/src/common/dout.h:21, from /build/ceph/src/ceph-15.2.14/src/include/Context.h:19, from /build/ceph/src/ceph-15.2.14/src/msg/Message.h:24, from /build/ceph/src/ceph-15.2.14/src/messages/MCommand.h:20: /build/ceph/src/ceph-15.2.14/src/include/interval_set.h: In instantiation of ‘void interval_set::erase(T, T, std::function) [with T = int; Map = std::map]’: /build/ceph/src/ceph-15.2.14/src/client/Client.h:831:22: required from here /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:525:23: warning: comparison of unsigned expression in ‘>= 0’ is always true [-Wtype-limits] 525 | ceph_assert(_size >= 0); /build/ceph/src/ceph-15.2.14/src/include/ceph_assert.h:106:6: note: in definition of macro ‘ceph_assert’ 106 | ((expr) \ | ^~~~ In file included from /build/ceph/src/ceph-15.2.14/src/cls/refcount/cls_refcount_client.cc:5: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/bits/stl_algobase.h:65, from /usr/include/c++/12.1.1/bits/stl_tree.h:63, from /usr/include/c++/12.1.1/set:60, from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:17, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/cls/refcount/cls_refcount_client.h:5, from /build/ceph/src/ceph-15.2.14/src/cls/refcount/cls_refcount_client.cc:3: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/msg/msg_types.h:23, from /build/ceph/src/ceph-15.2.14/src/common/ceph_context.h:33, from /build/ceph/src/ceph-15.2.14/src/common/dout.h:29: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/CompatSet.h:85:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41: /build/ceph/src/ceph-15.2.14/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]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required 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]’ /build/ceph/src/ceph-15.2.14/src/cls/refcount/cls_refcount_ops.h:135:11: required from here /build/ceph/src/ceph-15.2.14/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) { | ^ /build/ceph/src/ceph-15.2.14/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 /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::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]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: 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]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required 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]’ /build/ceph/src/ceph-15.2.14/src/cls/refcount/cls_refcount_ops.h:135:11: required from here /build/ceph/src/ceph-15.2.14/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) { | ^ /build/ceph/src/ceph-15.2.14/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 /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:3809:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&’ {aka ‘const std::pair, std::optional >&’} binds to a temporary constructed from type ‘const std::pair, std::optional >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T’ {aka ‘const std::pair, std::optional >’} to make the copy explicit or ‘const std::pair, std::optional >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying [ 17%] Building CXX object src/client/CMakeFiles/client.dir/ClientSnapRealm.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/client && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/client/CMakeFiles/client.dir/ClientSnapRealm.cc.o -MF CMakeFiles/client.dir/ClientSnapRealm.cc.o.d -o CMakeFiles/client.dir/ClientSnapRealm.cc.o -c /build/ceph/src/ceph-15.2.14/src/client/ClientSnapRealm.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osdc/Objecter.h:710:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&’ {aka ‘const std::pair, std::pair >&’} binds to a temporary constructed from type ‘const std::pair, std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T’ {aka ‘const std::pair, std::pair >’} to make the copy explicit or ‘const std::pair, std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:906:11: required from ‘static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1005:15: required from ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned 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 /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/cls/rbd/cls_rbd_types.h:10, from /build/ceph/src/ceph-15.2.14/src/cls/rbd/cls_rbd_types.cc:5: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/cls/rbd/cls_rbd_types.cc:748:9: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, long unsigned int, long 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) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, long unsigned int, 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 /build/ceph/src/ceph-15.2.14/src/cls/version/cls_version_client.cc:4: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/bits/stl_algobase.h:65, from /usr/include/c++/12.1.1/bits/stl_tree.h:63, from /usr/include/c++/12.1.1/set:60, from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:17, from /build/ceph/src/ceph-15.2.14/src/cls/version/cls_version_types.h:4, from /build/ceph/src/ceph-15.2.14/src/cls/version/cls_version_ops.h:7, from /build/ceph/src/ceph-15.2.14/src/cls/version/cls_version_client.h:5, from /build/ceph/src/ceph-15.2.14/src/cls/version/cls_version_client.cc:3: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/client/Client.cc: In member function ‘int Client::resolve_mds(const std::string&, std::vector*)’: /build/ceph/src/ceph-15.2.14/src/client/Client.cc:5702:21: warning: loop variable ‘i’ creates a copy from type ‘const std::pair’ [-Wrange-loop-construct] 5702 | for (const auto i : mds_info) { | ^ /build/ceph/src/ceph-15.2.14/src/client/Client.cc:5702:21: note: use reference type to prevent copying 5702 | for (const auto i : mds_info) { | ^ | & /build/ceph/src/ceph-15.2.14/src/client/Client.cc: In member function ‘int Client::mds_command(const std::string&, const std::vector >&, const ceph::bufferlist&, ceph::bufferlist*, std::string*, Context*)’: /build/ceph/src/ceph-15.2.14/src/client/Client.cc:5832:19: warning: loop variable ‘gid’ creates a copy from type ‘const mds_gid_t’ [-Wrange-loop-construct] 5832 | for (const auto gid : targets) { | ^~~ /build/ceph/src/ceph-15.2.14/src/client/Client.cc:5832:19: note: use reference type to prevent copying 5832 | for (const auto gid : targets) { | ^~~ | & /build/ceph/src/ceph-15.2.14/src/client/Client.cc:5851:19: warning: loop variable ‘target_gid’ creates a copy from type ‘const mds_gid_t’ [-Wrange-loop-construct] 5851 | for (const auto target_gid : non_laggy) { | ^~~~~~~~~~ /build/ceph/src/ceph-15.2.14/src/client/Client.cc:5851:19: note: use reference type to prevent copying 5851 | for (const auto target_gid : non_laggy) { | ^~~~~~~~~~ | & /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/CompatSet.h:85:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:3809:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&’ {aka ‘const std::pair, std::optional >&’} binds to a temporary constructed from type ‘const std::pair, std::optional >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T’ {aka ‘const std::pair, std::optional >’} to make the copy explicit or ‘const std::pair, std::optional >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/CompatSet.h:85:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:3809:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&’ {aka ‘const std::pair, std::optional >&’} binds to a temporary constructed from type ‘const std::pair, std::optional >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T’ {aka ‘const std::pair, std::optional >’} to make the copy explicit or ‘const std::pair, std::optional >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:906:11: required from ‘static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1005:15: required from ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osdc/Objecter.h:710:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&’ {aka ‘const std::pair, std::pair >&’} binds to a temporary constructed from type ‘const std::pair, std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T’ {aka ‘const std::pair, std::pair >’} to make the copy explicit or ‘const std::pair, std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying [ 17%] Building CXX object src/cls/CMakeFiles/cls_version_client.dir/version/cls_version_types.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/cls/CMakeFiles/cls_version_client.dir/version/cls_version_types.cc.o -MF CMakeFiles/cls_version_client.dir/version/cls_version_types.cc.o.d -o CMakeFiles/cls_version_client.dir/version/cls_version_types.cc.o -c /build/ceph/src/ceph-15.2.14/src/cls/version/cls_version_types.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osdc/Objecter.h:710:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&’ {aka ‘const std::pair, std::pair >&’} binds to a temporary constructed from type ‘const std::pair, std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T’ {aka ‘const std::pair, std::pair >’} to make the copy explicit or ‘const std::pair, std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, 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 -f src/cls/CMakeFiles/cls_log_client.dir/build.make src/cls/CMakeFiles/cls_log_client.dir/depend /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/CompatSet.h:85:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::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]: Entering directory '/build/ceph/src/ceph-15.2.14/build' cd /build/ceph/src/ceph-15.2.14/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/ceph/src/ceph-15.2.14 /build/ceph/src/ceph-15.2.14/src/cls /build/ceph/src/ceph-15.2.14/build /build/ceph/src/ceph-15.2.14/build/src/cls /build/ceph/src/ceph-15.2.14/build/src/cls/CMakeFiles/cls_log_client.dir/DependInfo.cmake --color= make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' make -f src/cls/CMakeFiles/cls_log_client.dir/build.make src/cls/CMakeFiles/cls_log_client.dir/build make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' [ 17%] Building CXX object src/cls/CMakeFiles/cls_log_client.dir/log/cls_log_client.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/cls/CMakeFiles/cls_log_client.dir/log/cls_log_client.cc.o -MF CMakeFiles/cls_log_client.dir/log/cls_log_client.cc.o.d -o CMakeFiles/cls_log_client.dir/log/cls_log_client.cc.o -c /build/ceph/src/ceph-15.2.14/src/cls/log/cls_log_client.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:3809:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&’ {aka ‘const std::pair, std::optional >&’} binds to a temporary constructed from type ‘const std::pair, std::optional >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T’ {aka ‘const std::pair, std::optional >’} to make the copy explicit or ‘const std::pair, std::optional >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osdc/Objecter.h:710:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&’ {aka ‘const std::pair, std::pair >&’} binds to a temporary constructed from type ‘const std::pair, std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T’ {aka ‘const std::pair, std::pair >’} to make the copy explicit or ‘const std::pair, std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:906:11: required from ‘static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1005:15: required from ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned 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 -f src/cls/CMakeFiles/cls_timeindex_client.dir/build.make src/cls/CMakeFiles/cls_timeindex_client.dir/depend make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' cd /build/ceph/src/ceph-15.2.14/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/ceph/src/ceph-15.2.14 /build/ceph/src/ceph-15.2.14/src/cls /build/ceph/src/ceph-15.2.14/build /build/ceph/src/ceph-15.2.14/build/src/cls /build/ceph/src/ceph-15.2.14/build/src/cls/CMakeFiles/cls_timeindex_client.dir/DependInfo.cmake --color= make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' make -f src/cls/CMakeFiles/cls_timeindex_client.dir/build.make src/cls/CMakeFiles/cls_timeindex_client.dir/build make -f src/cls/CMakeFiles/cls_user_client.dir/build.make src/cls/CMakeFiles/cls_user_client.dir/depend make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' cd /build/ceph/src/ceph-15.2.14/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/ceph/src/ceph-15.2.14 /build/ceph/src/ceph-15.2.14/src/cls /build/ceph/src/ceph-15.2.14/build /build/ceph/src/ceph-15.2.14/build/src/cls /build/ceph/src/ceph-15.2.14/build/src/cls/CMakeFiles/cls_user_client.dir/DependInfo.cmake --color= [ 17%] Building CXX object src/cls/CMakeFiles/cls_timeindex_client.dir/timeindex/cls_timeindex_types.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/cls/CMakeFiles/cls_timeindex_client.dir/timeindex/cls_timeindex_types.cc.o -MF CMakeFiles/cls_timeindex_client.dir/timeindex/cls_timeindex_types.cc.o.d -o CMakeFiles/cls_timeindex_client.dir/timeindex/cls_timeindex_types.cc.o -c /build/ceph/src/ceph-15.2.14/src/cls/timeindex/cls_timeindex_types.cc make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' make -f src/cls/CMakeFiles/cls_user_client.dir/build.make src/cls/CMakeFiles/cls_user_client.dir/build make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' [ 31%] Building CXX object CMakeFiles/rocksdb.dir/memtable/hash_skiplist_rep.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/memtable/hash_skiplist_rep.cc.o -MF CMakeFiles/rocksdb.dir/memtable/hash_skiplist_rep.cc.o.d -o CMakeFiles/rocksdb.dir/memtable/hash_skiplist_rep.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/memtable/hash_skiplist_rep.cc [ 17%] Building CXX object src/cls/CMakeFiles/cls_user_client.dir/user/cls_user_client.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/cls/CMakeFiles/cls_user_client.dir/user/cls_user_client.cc.o -MF CMakeFiles/cls_user_client.dir/user/cls_user_client.cc.o.d -o CMakeFiles/cls_user_client.dir/user/cls_user_client.cc.o -c /build/ceph/src/ceph-15.2.14/src/cls/user/cls_user_client.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_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]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::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]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h: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]’ /build/ceph/src/ceph-15.2.14/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 > >]’ /build/ceph/src/ceph-15.2.14/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 > >]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556: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]’ /build/ceph/src/ceph-15.2.14/src/messages/MClientReply.h:274:11: required from here /build/ceph/src/ceph-15.2.14/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] /build/ceph/src/ceph-15.2.14/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 [ 17%] Building CXX object src/client/CMakeFiles/client.dir/MetaSession.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/client && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/client/CMakeFiles/client.dir/MetaSession.cc.o -MF CMakeFiles/client.dir/MetaSession.cc.o.d -o CMakeFiles/client.dir/MetaSession.cc.o -c /build/ceph/src/ceph-15.2.14/src/client/MetaSession.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:906:11: required from ‘static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1005:15: required from ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned 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 /build/ceph/src/ceph-15.2.14/src/client/ClientSnapRealm.h:9, from /build/ceph/src/ceph-15.2.14/src/client/ClientSnapRealm.cc:4: /build/ceph/src/ceph-15.2.14/src/include/xlist.h:162:24: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/bits/stl_algobase.h:65, from /usr/include/c++/12.1.1/bits/stl_tree.h:63, from /usr/include/c++/12.1.1/set:60, from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:17, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/client/ClientSnapRealm.h:7: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/xlist.h:186:30: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/cls/refcount/cls_refcount_ops.h:7, from /build/ceph/src/ceph-15.2.14/src/cls/refcount/cls_refcount_ops.cc:4: /build/ceph/src/ceph-15.2.14/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]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required 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]’ /build/ceph/src/ceph-15.2.14/src/cls/refcount/cls_refcount_ops.h:135:11: required from here /build/ceph/src/ceph-15.2.14/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) { | ^ /build/ceph/src/ceph-15.2.14/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 /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::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]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: 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]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required 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]’ /build/ceph/src/ceph-15.2.14/src/cls/refcount/cls_refcount_ops.h:135:11: required from here /build/ceph/src/ceph-15.2.14/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) { | ^ /build/ceph/src/ceph-15.2.14/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 [ 18%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/run_cmd.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DCEPH_DATADIR=\"/usr/share/ceph\" -DCEPH_LIBDIR=\"/usr/lib\" -DCEPH_PKGLIBDIR=\"/usr/lib/ceph\" -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/common/CMakeFiles/common-common-objs.dir/run_cmd.cc.o -MF CMakeFiles/common-common-objs.dir/run_cmd.cc.o.d -o CMakeFiles/common-common-objs.dir/run_cmd.cc.o -c /build/ceph/src/ceph-15.2.14/src/common/run_cmd.cc [ 18%] Building CXX object src/client/CMakeFiles/client.dir/Trace.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/client && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/client/CMakeFiles/client.dir/Trace.cc.o -MF CMakeFiles/client.dir/Trace.cc.o.d -o CMakeFiles/client.dir/Trace.cc.o -c /build/ceph/src/ceph-15.2.14/src/client/Trace.cc [ 19%] Building CXX object src/client/CMakeFiles/client.dir/posix_acl.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/client && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/client/CMakeFiles/client.dir/posix_acl.cc.o -MF CMakeFiles/client.dir/posix_acl.cc.o.d -o CMakeFiles/client.dir/posix_acl.cc.o -c /build/ceph/src/ceph-15.2.14/src/client/posix_acl.cc [ 19%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/scrub_types.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DCEPH_DATADIR=\"/usr/share/ceph\" -DCEPH_LIBDIR=\"/usr/lib\" -DCEPH_PKGLIBDIR=\"/usr/lib/ceph\" -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/common/CMakeFiles/common-common-objs.dir/scrub_types.cc.o -MF CMakeFiles/common-common-objs.dir/scrub_types.cc.o.d -o CMakeFiles/common-common-objs.dir/scrub_types.cc.o -c /build/ceph/src/ceph-15.2.14/src/common/scrub_types.cc In file included from /build/ceph/src/ceph-15.2.14/src/log/SubsystemMap.h:14, from /build/ceph/src/ceph-15.2.14/src/common/config.h:23, from /build/ceph/src/ceph-15.2.14/src/client/Client.cc:45: /build/ceph/src/ceph-15.2.14/src/include/interval_set.h: In instantiation of ‘void interval_set::erase(T, T, std::function) [with T = int; Map = std::map]’: /build/ceph/src/ceph-15.2.14/src/client/Client.h:831:22: required from here /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:525:23: warning: comparison of unsigned expression in ‘>= 0’ is always true [-Wtype-limits] 525 | ceph_assert(_size >= 0); /build/ceph/src/ceph-15.2.14/src/include/ceph_assert.h:106:6: note: in definition of macro ‘ceph_assert’ 106 | ((expr) \ | ^~~~ [ 20%] Linking CXX static library ../../lib/libcls_refcount_client.a cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/cmake -P CMakeFiles/cls_refcount_client.dir/cmake_clean_target.cmake cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/cmake -E cmake_link_script CMakeFiles/cls_refcount_client.dir/link.txt --verbose=1 In file included from /build/ceph/src/ceph-15.2.14/src/cls/log/cls_log_client.cc:4: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/bits/stl_algobase.h:65, from /usr/include/c++/12.1.1/bits/stl_tree.h:63, from /usr/include/c++/12.1.1/set:60, from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:17, from /build/ceph/src/ceph-15.2.14/src/cls/log/cls_log_types.h:4, from /build/ceph/src/ceph-15.2.14/src/cls/log/cls_log_ops.h:7, from /build/ceph/src/ceph-15.2.14/src/cls/log/cls_log_client.cc:3: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /usr/bin/ar qc ../../lib/libcls_refcount_client.a CMakeFiles/cls_refcount_client.dir/refcount/cls_refcount_client.cc.o CMakeFiles/cls_refcount_client.dir/refcount/cls_refcount_ops.cc.o /usr/bin/ranlib ../../lib/libcls_refcount_client.a make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' [ 20%] Built target cls_refcount_client In file included from /usr/include/c++/12.1.1/ios:40, from /usr/include/c++/12.1.1/ostream:38, from /build/ceph/src/ceph-15.2.14/src/msg/Message.h:19: In static member function ‘static std::char_traits::char_type* std::char_traits::copy(char_type*, const char_type*, std::size_t)’, inlined from ‘static void std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_S_copy(_CharT*, const _CharT*, size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]’ at /usr/include/c++/12.1.1/bits/basic_string.h:422:21, inlined from ‘static void std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_S_copy(_CharT*, const _CharT*, size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]’ at /usr/include/c++/12.1.1/bits/basic_string.h:417:7, inlined from ‘std::__cxx11::basic_string<_CharT, _Traits, _Allocator>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_M_replace(size_type, size_type, const _CharT*, size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]’ at /usr/include/c++/12.1.1/bits/basic_string.tcc:532:22, inlined from ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::assign(const _CharT*) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]’ at /usr/include/c++/12.1.1/bits/basic_string.h:1646:19, inlined from ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::operator=(const _CharT*) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]’ at /usr/include/c++/12.1.1/bits/basic_string.h:814:28, inlined from ‘std::string ccap_string(int)’ at /build/ceph/src/ceph-15.2.14/src/mds/mdstypes.h:140:9: /usr/include/c++/12.1.1/bits/char_traits.h:431:56: warning: ‘void* __builtin_memcpy(void*, const void*, long unsigned int)’ accessing 9223372036854775810 or more bytes at offsets [2, 9223372036854775807] and 1 may overlap up to 9223372036854775813 bytes at offset -3 [-Wrestrict] 431 | return static_cast(__builtin_memcpy(__s1, __s2, __n)); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ [ 20%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/shared_mutex_debug.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DCEPH_DATADIR=\"/usr/share/ceph\" -DCEPH_LIBDIR=\"/usr/lib\" -DCEPH_PKGLIBDIR=\"/usr/lib/ceph\" -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/common/CMakeFiles/common-common-objs.dir/shared_mutex_debug.cc.o -MF CMakeFiles/common-common-objs.dir/shared_mutex_debug.cc.o.d -o CMakeFiles/common-common-objs.dir/shared_mutex_debug.cc.o -c /build/ceph/src/ceph-15.2.14/src/common/shared_mutex_debug.cc [ 31%] Building CXX object CMakeFiles/rocksdb.dir/memtable/skiplistrep.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/memtable/skiplistrep.cc.o -MF CMakeFiles/rocksdb.dir/memtable/skiplistrep.cc.o.d -o CMakeFiles/rocksdb.dir/memtable/skiplistrep.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/memtable/skiplistrep.cc [ 20%] Building CXX object src/client/CMakeFiles/client.dir/Delegation.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/client && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/client/CMakeFiles/client.dir/Delegation.cc.o -MF CMakeFiles/client.dir/Delegation.cc.o.d -o CMakeFiles/client.dir/Delegation.cc.o -c /build/ceph/src/ceph-15.2.14/src/client/Delegation.cc In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/msg/msg_types.h:23, from /build/ceph/src/ceph-15.2.14/src/common/options.h:11, from /build/ceph/src/ceph-15.2.14/src/common/config.h:24: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/mon_types.h:100:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/mon_types.h:258:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/mon_types.h:259:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&’ {aka ‘const std::pair, long unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, long unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T’ {aka ‘const std::pair, long unsigned int>’} to make the copy explicit or ‘const std::pair, long unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/messages/MClientSession.h:88:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/CompatSet.h:85:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying [ 20%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/signal.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DCEPH_DATADIR=\"/usr/share/ceph\" -DCEPH_LIBDIR=\"/usr/lib\" -DCEPH_PKGLIBDIR=\"/usr/lib/ceph\" -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/common/CMakeFiles/common-common-objs.dir/signal.cc.o -MF CMakeFiles/common-common-objs.dir/signal.cc.o.d -o CMakeFiles/common-common-objs.dir/signal.cc.o -c /build/ceph/src/ceph-15.2.14/src/common/signal.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:3809:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&’ {aka ‘const std::pair, std::optional >&’} binds to a temporary constructed from type ‘const std::pair, std::optional >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T’ {aka ‘const std::pair, std::optional >’} to make the copy explicit or ‘const std::pair, std::optional >&’ to prevent copying [ 20%] Linking CXX static library ../../lib/libcls_version_client.a cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/cmake -P CMakeFiles/cls_version_client.dir/cmake_clean_target.cmake cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/cmake -E cmake_link_script CMakeFiles/cls_version_client.dir/link.txt --verbose=1 /usr/bin/ar qc ../../lib/libcls_version_client.a CMakeFiles/cls_version_client.dir/version/cls_version_client.cc.o CMakeFiles/cls_version_client.dir/version/cls_version_types.cc.o /usr/bin/ranlib ../../lib/libcls_version_client.a /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, long int, std::map, std::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]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' [ 20%] Linking CXX static library ../../lib/libcls_rbd_client.a [ 20%] Built target cls_version_client cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/cmake -P CMakeFiles/cls_rbd_client.dir/cmake_clean_target.cmake [ 20%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/snap_types.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DCEPH_DATADIR=\"/usr/share/ceph\" -DCEPH_LIBDIR=\"/usr/lib\" -DCEPH_PKGLIBDIR=\"/usr/lib/ceph\" -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/common/CMakeFiles/common-common-objs.dir/snap_types.cc.o -MF CMakeFiles/common-common-objs.dir/snap_types.cc.o.d -o CMakeFiles/common-common-objs.dir/snap_types.cc.o -c /build/ceph/src/ceph-15.2.14/src/common/snap_types.cc cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/cmake -E cmake_link_script CMakeFiles/cls_rbd_client.dir/link.txt --verbose=1 /usr/bin/ar qc ../../lib/libcls_rbd_client.a CMakeFiles/cls_rbd_client.dir/rbd/cls_rbd_client.cc.o CMakeFiles/cls_rbd_client.dir/rbd/cls_rbd_types.cc.o /usr/bin/ranlib ../../lib/libcls_rbd_client.a /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::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]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/messages/MOSDMap.h:143:11: required from here /build/ceph/src/ceph-15.2.14/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] /build/ceph/src/ceph-15.2.14/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 make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' [ 20%] Built target cls_rbd_client [ 20%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/str_list.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DCEPH_DATADIR=\"/usr/share/ceph\" -DCEPH_LIBDIR=\"/usr/lib\" -DCEPH_PKGLIBDIR=\"/usr/lib/ceph\" -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/common/CMakeFiles/common-common-objs.dir/str_list.cc.o -MF CMakeFiles/common-common-objs.dir/str_list.cc.o.d -o CMakeFiles/common-common-objs.dir/str_list.cc.o -c /build/ceph/src/ceph-15.2.14/src/common/str_list.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osdc/Objecter.h:710:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&’ {aka ‘const std::pair, std::pair >&’} binds to a temporary constructed from type ‘const std::pair, std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::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 /build/ceph/src/ceph-15.2.14/src/cls/user/cls_user_client.cc:7: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/bits/stl_algobase.h:65, from /usr/include/c++/12.1.1/bits/stl_tree.h:63, from /usr/include/c++/12.1.1/set:60, from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:17, from /build/ceph/src/ceph-15.2.14/src/cls/user/cls_user_types.h:7, from /build/ceph/src/ceph-15.2.14/src/cls/user/cls_user_ops.h:7, from /build/ceph/src/ceph-15.2.14/src/cls/user/cls_user_client.h:8, from /build/ceph/src/ceph-15.2.14/src/cls/user/cls_user_client.cc:6: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/interval_set.h: In instantiation of ‘void interval_set::erase(T, T, std::function) [with T = long unsigned int; Map = std::map]’: /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:517:10: required from ‘void interval_set::erase(T) [with T = long unsigned int; Map = std::map]’ /build/ceph/src/ceph-15.2.14/src/client/Client.cc:217:24: required from here /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:525:23: warning: comparison of unsigned expression in ‘>= 0’ is always true [-Wtype-limits] 525 | ceph_assert(_size >= 0); /build/ceph/src/ceph-15.2.14/src/include/ceph_assert.h:106:6: note: in definition of macro ‘ceph_assert’ 106 | ((expr) \ | ^~~~ [ 31%] Building CXX object CMakeFiles/rocksdb.dir/memtable/vectorrep.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/memtable/vectorrep.cc.o -MF CMakeFiles/rocksdb.dir/memtable/vectorrep.cc.o.d -o CMakeFiles/rocksdb.dir/memtable/vectorrep.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/memtable/vectorrep.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In 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]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::ptr>; traits = denc_traits, buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/client/Client.cc:3433:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::ptr>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::ptr>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/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 [ 20%] Linking CXX static library ../../lib/libcls_log_client.a cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/cmake -P CMakeFiles/cls_log_client.dir/cmake_clean_target.cmake cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/cmake -E cmake_link_script CMakeFiles/cls_log_client.dir/link.txt --verbose=1 /usr/bin/ar qc ../../lib/libcls_log_client.a CMakeFiles/cls_log_client.dir/log/cls_log_client.cc.o /usr/bin/ranlib ../../lib/libcls_log_client.a make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' [ 20%] Built target cls_log_client [ 21%] Building CXX object src/cls/CMakeFiles/cls_timeindex_client.dir/timeindex/cls_timeindex_client.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/cls/CMakeFiles/cls_timeindex_client.dir/timeindex/cls_timeindex_client.cc.o -MF CMakeFiles/cls_timeindex_client.dir/timeindex/cls_timeindex_client.cc.o.d -o CMakeFiles/cls_timeindex_client.dir/timeindex/cls_timeindex_client.cc.o -c /build/ceph/src/ceph-15.2.14/src/cls/timeindex/cls_timeindex_client.cc [ 21%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/str_map.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DCEPH_DATADIR=\"/usr/share/ceph\" -DCEPH_LIBDIR=\"/usr/lib\" -DCEPH_PKGLIBDIR=\"/usr/lib/ceph\" -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/common/CMakeFiles/common-common-objs.dir/str_map.cc.o -MF CMakeFiles/common-common-objs.dir/str_map.cc.o.d -o CMakeFiles/common-common-objs.dir/str_map.cc.o -c /build/ceph/src/ceph-15.2.14/src/common/str_map.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/mon_types.h:100:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/mon_types.h:258:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/mon_types.h:259:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&’ {aka ‘const std::pair, long unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, long unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T’ {aka ‘const std::pair, long unsigned int>’} to make the copy explicit or ‘const std::pair, long unsigned int>&’ to prevent copying [ 21%] Building CXX object src/cls/CMakeFiles/cls_user_client.dir/user/cls_user_types.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/cls/CMakeFiles/cls_user_client.dir/user/cls_user_types.cc.o -MF CMakeFiles/cls_user_client.dir/user/cls_user_types.cc.o.d -o CMakeFiles/cls_user_client.dir/user/cls_user_types.cc.o -c /build/ceph/src/ceph-15.2.14/src/cls/user/cls_user_types.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/messages/MClientSession.h:88:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/CompatSet.h:85:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:3809:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&’ {aka ‘const std::pair, std::optional >&’} binds to a temporary constructed from type ‘const std::pair, std::optional >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T’ {aka ‘const std::pair, std::optional >’} to make the copy explicit or ‘const std::pair, std::optional >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_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]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, 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]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/messages/MOSDMap.h:143:11: required from here /build/ceph/src/ceph-15.2.14/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] /build/ceph/src/ceph-15.2.14/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 /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osdc/Objecter.h:710:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&’ {aka ‘const std::pair, std::pair >&’} binds to a temporary constructed from type ‘const std::pair, std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T’ {aka ‘const std::pair, std::pair >’} to make the copy explicit or ‘const std::pair, std::pair >&’ to prevent copying [ 21%] Building CXX object src/cls/CMakeFiles/cls_user_client.dir/user/cls_user_ops.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/cls/CMakeFiles/cls_user_client.dir/user/cls_user_ops.cc.o -MF CMakeFiles/cls_user_client.dir/user/cls_user_ops.cc.o.d -o CMakeFiles/cls_user_client.dir/user/cls_user_ops.cc.o -c /build/ceph/src/ceph-15.2.14/src/cls/user/cls_user_ops.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const 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]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::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]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::ptr>; traits = denc_traits, buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/client/Client.cc:3433:11: required from here /build/ceph/src/ceph-15.2.14/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] /build/ceph/src/ceph-15.2.14/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 [ 21%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/strtol.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DCEPH_DATADIR=\"/usr/share/ceph\" -DCEPH_LIBDIR=\"/usr/lib\" -DCEPH_PKGLIBDIR=\"/usr/lib/ceph\" -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/common/CMakeFiles/common-common-objs.dir/strtol.cc.o -MF CMakeFiles/common-common-objs.dir/strtol.cc.o.d -o CMakeFiles/common-common-objs.dir/strtol.cc.o -c /build/ceph/src/ceph-15.2.14/src/common/strtol.cc [ 31%] Building CXX object CMakeFiles/rocksdb.dir/memtable/write_buffer_manager.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/memtable/write_buffer_manager.cc.o -MF CMakeFiles/rocksdb.dir/memtable/write_buffer_manager.cc.o.d -o CMakeFiles/rocksdb.dir/memtable/write_buffer_manager.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/memtable/write_buffer_manager.cc [ 31%] Building CXX object CMakeFiles/rocksdb.dir/monitoring/histogram.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/monitoring/histogram.cc.o -MF CMakeFiles/rocksdb.dir/monitoring/histogram.cc.o.d -o CMakeFiles/rocksdb.dir/monitoring/histogram.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/monitoring/histogram.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_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]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::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]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h: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]’ /build/ceph/src/ceph-15.2.14/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 > >]’ /build/ceph/src/ceph-15.2.14/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 > >]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556: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]’ /build/ceph/src/ceph-15.2.14/src/messages/MClientReply.h:274:11: required from here /build/ceph/src/ceph-15.2.14/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] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying [ 31%] Building CXX object CMakeFiles/rocksdb.dir/monitoring/histogram_windowing.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/monitoring/histogram_windowing.cc.o -MF CMakeFiles/rocksdb.dir/monitoring/histogram_windowing.cc.o.d -o CMakeFiles/rocksdb.dir/monitoring/histogram_windowing.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/monitoring/histogram_windowing.cc make -f src/cls/CMakeFiles/cls_journal_client.dir/build.make src/cls/CMakeFiles/cls_journal_client.dir/depend make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' cd /build/ceph/src/ceph-15.2.14/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/ceph/src/ceph-15.2.14 /build/ceph/src/ceph-15.2.14/src/cls /build/ceph/src/ceph-15.2.14/build /build/ceph/src/ceph-15.2.14/build/src/cls /build/ceph/src/ceph-15.2.14/build/src/cls/CMakeFiles/cls_journal_client.dir/DependInfo.cmake --color= make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' make -f src/cls/CMakeFiles/cls_journal_client.dir/build.make src/cls/CMakeFiles/cls_journal_client.dir/build make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:906:11: required from ‘static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1005:15: required from ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/mon/mon_types.h:100:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying [ 21%] Building CXX object src/cls/CMakeFiles/cls_journal_client.dir/journal/cls_journal_client.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/cls/CMakeFiles/cls_journal_client.dir/journal/cls_journal_client.cc.o -MF CMakeFiles/cls_journal_client.dir/journal/cls_journal_client.cc.o.d -o CMakeFiles/cls_journal_client.dir/journal/cls_journal_client.cc.o -c /build/ceph/src/ceph-15.2.14/src/cls/journal/cls_journal_client.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:906:11: required from ‘static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1005:15: required from ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned 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 -f src/cls/CMakeFiles/cls_rgw_client.dir/build.make src/cls/CMakeFiles/cls_rgw_client.dir/depend make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' cd /build/ceph/src/ceph-15.2.14/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/ceph/src/ceph-15.2.14 /build/ceph/src/ceph-15.2.14/src/cls /build/ceph/src/ceph-15.2.14/build /build/ceph/src/ceph-15.2.14/build/src/cls /build/ceph/src/ceph-15.2.14/build/src/cls/CMakeFiles/cls_rgw_client.dir/DependInfo.cmake --color= make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' make -f src/cls/CMakeFiles/cls_rgw_client.dir/build.make src/cls/CMakeFiles/cls_rgw_client.dir/build make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' [ 21%] Building CXX object src/cls/CMakeFiles/cls_rgw_client.dir/rgw/cls_rgw_client.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/cls/CMakeFiles/cls_rgw_client.dir/rgw/cls_rgw_client.cc.o -MF CMakeFiles/cls_rgw_client.dir/rgw/cls_rgw_client.cc.o.d -o CMakeFiles/cls_rgw_client.dir/rgw/cls_rgw_client.cc.o -c /build/ceph/src/ceph-15.2.14/src/cls/rgw/cls_rgw_client.cc In file included from /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:41, from /build/ceph/src/ceph-15.2.14/src/common/scrub_types.h:7, from /build/ceph/src/ceph-15.2.14/src/common/scrub_types.cc:1: /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:45:32: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/string:45, from /usr/include/c++/12.1.1/bits/locale_classes.h:40, from /usr/include/c++/12.1.1/bits/ios_base.h:41, from /usr/include/c++/12.1.1/ios:42, from /usr/include/c++/12.1.1/istream:38, from /usr/include/c++/12.1.1/sstream:38, from /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:22: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:109:38: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /build/ceph/src/ceph-15.2.14/src/cls/timeindex/cls_timeindex_client.h:7, from /build/ceph/src/ceph-15.2.14/src/cls/timeindex/cls_timeindex_client.cc:7: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/bits/stl_algobase.h:65, from /usr/include/c++/12.1.1/bits/stl_tree.h:63, from /usr/include/c++/12.1.1/set:60, from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:17, from /build/ceph/src/ceph-15.2.14/src/cls/timeindex/cls_timeindex_types.h:7, from /build/ceph/src/ceph-15.2.14/src/cls/timeindex/cls_timeindex_ops.h:7, from /build/ceph/src/ceph-15.2.14/src/cls/timeindex/cls_timeindex_client.cc:6: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 21%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/types.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DCEPH_DATADIR=\"/usr/share/ceph\" -DCEPH_LIBDIR=\"/usr/lib\" -DCEPH_PKGLIBDIR=\"/usr/lib/ceph\" -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/common/CMakeFiles/common-common-objs.dir/types.cc.o -MF CMakeFiles/common-common-objs.dir/types.cc.o.d -o CMakeFiles/common-common-objs.dir/types.cc.o -c /build/ceph/src/ceph-15.2.14/src/common/types.cc In file included from /build/ceph/src/ceph-15.2.14/src/client/MetaSession.h:9, from /build/ceph/src/ceph-15.2.14/src/client/MetaSession.cc:7: /build/ceph/src/ceph-15.2.14/src/include/xlist.h:162:24: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/bits/stl_algobase.h:65, from /usr/include/c++/12.1.1/bits/stl_tree.h:63, from /usr/include/c++/12.1.1/set:60, from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:17, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/client/MetaSession.cc:4: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/xlist.h:186:30: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 21%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/url_escape.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DCEPH_DATADIR=\"/usr/share/ceph\" -DCEPH_LIBDIR=\"/usr/lib\" -DCEPH_PKGLIBDIR=\"/usr/lib/ceph\" -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/common/CMakeFiles/common-common-objs.dir/url_escape.cc.o -MF CMakeFiles/common-common-objs.dir/url_escape.cc.o.d -o CMakeFiles/common-common-objs.dir/url_escape.cc.o -c /build/ceph/src/ceph-15.2.14/src/common/url_escape.cc In file included from /build/ceph/src/ceph-15.2.14/src/mds/mdstypes.h:22, from /build/ceph/src/ceph-15.2.14/src/mds/MDSMap.h:37, from /build/ceph/src/ceph-15.2.14/src/client/MetaSession.h:10: /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:45:32: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:109:38: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 31%] Building CXX object CMakeFiles/rocksdb.dir/monitoring/instrumented_mutex.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/monitoring/instrumented_mutex.cc.o -MF CMakeFiles/rocksdb.dir/monitoring/instrumented_mutex.cc.o.d -o CMakeFiles/rocksdb.dir/monitoring/instrumented_mutex.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/monitoring/instrumented_mutex.cc make -f src/cls/CMakeFiles/cls_cephfs_client.dir/build.make src/cls/CMakeFiles/cls_cephfs_client.dir/depend make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' cd /build/ceph/src/ceph-15.2.14/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/ceph/src/ceph-15.2.14 /build/ceph/src/ceph-15.2.14/src/cls /build/ceph/src/ceph-15.2.14/build /build/ceph/src/ceph-15.2.14/build/src/cls /build/ceph/src/ceph-15.2.14/build/src/cls/CMakeFiles/cls_cephfs_client.dir/DependInfo.cmake --color= make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' make -f src/cls/CMakeFiles/cls_cephfs_client.dir/build.make src/cls/CMakeFiles/cls_cephfs_client.dir/build make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' [ 21%] Building CXX object src/cls/CMakeFiles/cls_cephfs_client.dir/cephfs/cls_cephfs_client.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/cls/CMakeFiles/cls_cephfs_client.dir/cephfs/cls_cephfs_client.cc.o -MF CMakeFiles/cls_cephfs_client.dir/cephfs/cls_cephfs_client.cc.o.d -o CMakeFiles/cls_cephfs_client.dir/cephfs/cls_cephfs_client.cc.o -c /build/ceph/src/ceph-15.2.14/src/cls/cephfs/cls_cephfs_client.cc In file included from /build/ceph/src/ceph-15.2.14/src/librados/ListObjectImpl.h:19, from /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:50: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ make -f src/cls/CMakeFiles/cls_lua_client.dir/build.make src/cls/CMakeFiles/cls_lua_client.dir/depend make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' cd /build/ceph/src/ceph-15.2.14/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/ceph/src/ceph-15.2.14 /build/ceph/src/ceph-15.2.14/src/cls /build/ceph/src/ceph-15.2.14/build /build/ceph/src/ceph-15.2.14/build/src/cls /build/ceph/src/ceph-15.2.14/build/src/cls/CMakeFiles/cls_lua_client.dir/DependInfo.cmake --color= make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' make -f src/cls/CMakeFiles/cls_lua_client.dir/build.make src/cls/CMakeFiles/cls_lua_client.dir/build make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' [ 21%] Building CXX object src/cls/CMakeFiles/cls_lua_client.dir/lua/cls_lua_client.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/cls/CMakeFiles/cls_lua_client.dir/lua/cls_lua_client.cc.o -MF CMakeFiles/cls_lua_client.dir/lua/cls_lua_client.cc.o.d -o CMakeFiles/cls_lua_client.dir/lua/cls_lua_client.cc.o -c /build/ceph/src/ceph-15.2.14/src/cls/lua/cls_lua_client.cc make -f src/cls/CMakeFiles/cls_cas_client.dir/build.make src/cls/CMakeFiles/cls_cas_client.dir/depend make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' cd /build/ceph/src/ceph-15.2.14/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/ceph/src/ceph-15.2.14 /build/ceph/src/ceph-15.2.14/src/cls /build/ceph/src/ceph-15.2.14/build /build/ceph/src/ceph-15.2.14/build/src/cls /build/ceph/src/ceph-15.2.14/build/src/cls/CMakeFiles/cls_cas_client.dir/DependInfo.cmake --color= make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' make -f src/cls/CMakeFiles/cls_cas_client.dir/build.make src/cls/CMakeFiles/cls_cas_client.dir/build make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' [ 21%] Building CXX object src/cls/CMakeFiles/cls_cas_client.dir/cas/cls_cas_client.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/cls/CMakeFiles/cls_cas_client.dir/cas/cls_cas_client.cc.o -MF CMakeFiles/cls_cas_client.dir/cas/cls_cas_client.cc.o.d -o CMakeFiles/cls_cas_client.dir/cas/cls_cas_client.cc.o -c /build/ceph/src/ceph-15.2.14/src/cls/cas/cls_cas_client.cc [ 21%] Linking CXX static library ../../lib/libcls_timeindex_client.a cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/cmake -P CMakeFiles/cls_timeindex_client.dir/cmake_clean_target.cmake cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/cmake -E cmake_link_script CMakeFiles/cls_timeindex_client.dir/link.txt --verbose=1 /usr/bin/ar qc ../../lib/libcls_timeindex_client.a CMakeFiles/cls_timeindex_client.dir/timeindex/cls_timeindex_types.cc.o CMakeFiles/cls_timeindex_client.dir/timeindex/cls_timeindex_client.cc.o /usr/bin/ranlib ../../lib/libcls_timeindex_client.a make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' [ 21%] Built target cls_timeindex_client [ 21%] Building C object src/common/CMakeFiles/common-common-objs.dir/utf8.c.o cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/cc -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DCEPH_DATADIR=\"/usr/share/ceph\" -DCEPH_LIBDIR=\"/usr/lib\" -DCEPH_PKGLIBDIR=\"/usr/lib/ceph\" -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -O2 -g -DNDEBUG -fPIC -std=gnu99 -MD -MT src/common/CMakeFiles/common-common-objs.dir/utf8.c.o -MF CMakeFiles/common-common-objs.dir/utf8.c.o.d -o CMakeFiles/common-common-objs.dir/utf8.c.o -c /build/ceph/src/ceph-15.2.14/src/common/utf8.c make -f src/cls/CMakeFiles/cls_queue_client.dir/build.make src/cls/CMakeFiles/cls_queue_client.dir/depend make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' cd /build/ceph/src/ceph-15.2.14/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/ceph/src/ceph-15.2.14 /build/ceph/src/ceph-15.2.14/src/cls /build/ceph/src/ceph-15.2.14/build /build/ceph/src/ceph-15.2.14/build/src/cls /build/ceph/src/ceph-15.2.14/build/src/cls/CMakeFiles/cls_queue_client.dir/DependInfo.cmake --color= make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' make -f src/cls/CMakeFiles/cls_queue_client.dir/build.make src/cls/CMakeFiles/cls_queue_client.dir/build make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' [ 21%] Building CXX object src/cls/CMakeFiles/cls_queue_client.dir/queue/cls_queue_client.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/cls/CMakeFiles/cls_queue_client.dir/queue/cls_queue_client.cc.o -MF CMakeFiles/cls_queue_client.dir/queue/cls_queue_client.cc.o.d -o CMakeFiles/cls_queue_client.dir/queue/cls_queue_client.cc.o -c /build/ceph/src/ceph-15.2.14/src/cls/queue/cls_queue_client.cc make -f src/cls/CMakeFiles/cls_rgw_gc_client.dir/build.make src/cls/CMakeFiles/cls_rgw_gc_client.dir/depend make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' cd /build/ceph/src/ceph-15.2.14/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/ceph/src/ceph-15.2.14 /build/ceph/src/ceph-15.2.14/src/cls /build/ceph/src/ceph-15.2.14/build /build/ceph/src/ceph-15.2.14/build/src/cls /build/ceph/src/ceph-15.2.14/build/src/cls/CMakeFiles/cls_rgw_gc_client.dir/DependInfo.cmake --color= make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' make -f src/cls/CMakeFiles/cls_rgw_gc_client.dir/build.make src/cls/CMakeFiles/cls_rgw_gc_client.dir/build make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' [ 21%] Building CXX object src/cls/CMakeFiles/cls_rgw_gc_client.dir/rgw_gc/cls_rgw_gc_client.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/cls/CMakeFiles/cls_rgw_gc_client.dir/rgw_gc/cls_rgw_gc_client.cc.o -MF CMakeFiles/cls_rgw_gc_client.dir/rgw_gc/cls_rgw_gc_client.cc.o.d -o CMakeFiles/cls_rgw_gc_client.dir/rgw_gc/cls_rgw_gc_client.cc.o -c /build/ceph/src/ceph-15.2.14/src/cls/rgw_gc/cls_rgw_gc_client.cc In file included from /build/ceph/src/ceph-15.2.14/src/cls/rgw/cls_rgw_client.h:8, from /build/ceph/src/ceph-15.2.14/src/cls/rgw/cls_rgw_client.cc:7: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/bits/stl_algobase.h:65, from /usr/include/c++/12.1.1/list:60, from /build/ceph/src/ceph-15.2.14/src/include/str_list.h:4, from /build/ceph/src/ceph-15.2.14/src/cls/rgw/cls_rgw_client.h:7: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /build/ceph/src/ceph-15.2.14/src/client/Client.h:28, from /build/ceph/src/ceph-15.2.14/src/client/Delegation.cc:6: /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:45:32: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/bits/stl_algobase.h:65, from /usr/include/c++/12.1.1/bits/specfun.h:45, from /usr/include/c++/12.1.1/cmath:1935, from /usr/include/c++/12.1.1/math.h:36, from /build/ceph/src/ceph-15.2.14/src/include/utime.h:18, from /build/ceph/src/ceph-15.2.14/src/common/Clock.h:18, from /build/ceph/src/ceph-15.2.14/src/client/Delegation.cc:3: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:109:38: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /build/ceph/src/ceph-15.2.14/src/include/lru.h:24, from /build/ceph/src/ceph-15.2.14/src/client/Client.h:29: /build/ceph/src/ceph-15.2.14/src/include/xlist.h:162:24: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/xlist.h:186:30: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 31%] Building CXX object CMakeFiles/rocksdb.dir/monitoring/iostats_context.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/monitoring/iostats_context.cc.o -MF CMakeFiles/rocksdb.dir/monitoring/iostats_context.cc.o.d -o CMakeFiles/rocksdb.dir/monitoring/iostats_context.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/monitoring/iostats_context.cc In file included from /build/ceph/src/ceph-15.2.14/src/cls/lua/cls_lua_client.cc:4: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/string:45, from /build/ceph/src/ceph-15.2.14/src/cls/lua/cls_lua_client.cc:1: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/compact_map.h:16, from /build/ceph/src/ceph-15.2.14/src/include/mempool.h:32, from /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:33: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/CompatSet.h:85:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:3809:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&’ {aka ‘const std::pair, std::optional >&’} binds to a temporary constructed from type ‘const std::pair, std::optional >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T’ {aka ‘const std::pair, std::optional >’} to make the copy explicit or ‘const std::pair, std::optional >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/cls/journal/cls_journal_client.cc:5: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/bits/stl_algobase.h:65, from /usr/include/c++/12.1.1/bits/stl_tree.h:63, from /usr/include/c++/12.1.1/set:60, from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:17, from /build/ceph/src/ceph-15.2.14/src/cls/journal/cls_journal_types.h:9, from /build/ceph/src/ceph-15.2.14/src/cls/journal/cls_journal_client.h:8, from /build/ceph/src/ceph-15.2.14/src/cls/journal/cls_journal_client.cc:4: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying [ 21%] Linking CXX static library ../../lib/libcls_user_client.a cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/cmake -P CMakeFiles/cls_user_client.dir/cmake_clean_target.cmake cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/cmake -E cmake_link_script CMakeFiles/cls_user_client.dir/link.txt --verbose=1 /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/CompatSet.h:85:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /usr/bin/ar qc ../../lib/libcls_user_client.a CMakeFiles/cls_user_client.dir/user/cls_user_client.cc.o CMakeFiles/cls_user_client.dir/user/cls_user_types.cc.o CMakeFiles/cls_user_client.dir/user/cls_user_ops.cc.o /usr/bin/ranlib ../../lib/libcls_user_client.a make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' [ 21%] Built target cls_user_client [ 21%] Linking CXX static library ../../lib/libcls_lua_client.a cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/cmake -P CMakeFiles/cls_lua_client.dir/cmake_clean_target.cmake [ 34%] Building CXX object CMakeFiles/rocksdb.dir/monitoring/perf_context.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/monitoring/perf_context.cc.o -MF CMakeFiles/rocksdb.dir/monitoring/perf_context.cc.o.d -o CMakeFiles/rocksdb.dir/monitoring/perf_context.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/monitoring/perf_context.cc cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/cmake -E cmake_link_script CMakeFiles/cls_lua_client.dir/link.txt --verbose=1 /usr/bin/ar qc ../../lib/libcls_lua_client.a CMakeFiles/cls_lua_client.dir/lua/cls_lua_client.cc.o /usr/bin/ranlib ../../lib/libcls_lua_client.a /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, 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]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' [ 21%] Built target cls_lua_client [ 21%] Building CXX object src/cls/CMakeFiles/cls_rgw_client.dir/rgw/cls_rgw_types.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/cls/CMakeFiles/cls_rgw_client.dir/rgw/cls_rgw_types.cc.o -MF CMakeFiles/cls_rgw_client.dir/rgw/cls_rgw_types.cc.o.d -o CMakeFiles/cls_rgw_client.dir/rgw/cls_rgw_types.cc.o -c /build/ceph/src/ceph-15.2.14/src/cls/rgw/cls_rgw_types.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:3809:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&’ {aka ‘const std::pair, std::optional >&’} binds to a temporary constructed from type ‘const std::pair, std::optional >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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 -f src/pybind/mgr/rook/CMakeFiles/mgr-rook-client.dir/build.make src/pybind/mgr/rook/CMakeFiles/mgr-rook-client.dir/depend make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' cd /build/ceph/src/ceph-15.2.14/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/ceph/src/ceph-15.2.14 /build/ceph/src/ceph-15.2.14/src/pybind/mgr/rook /build/ceph/src/ceph-15.2.14/build /build/ceph/src/ceph-15.2.14/build/src/pybind/mgr/rook /build/ceph/src/ceph-15.2.14/build/src/pybind/mgr/rook/CMakeFiles/mgr-rook-client.dir/DependInfo.cmake --color= make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' make -f src/pybind/mgr/rook/CMakeFiles/mgr-rook-client.dir/build.make src/pybind/mgr/rook/CMakeFiles/mgr-rook-client.dir/build /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, long int, std::map, std::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]: Entering directory '/build/ceph/src/ceph-15.2.14/build' [ 21%] generating mgr/rook/rook_client cd /build/ceph/src/ceph-15.2.14/src/pybind/mgr/rook && ./generate_rook_ceph_client.sh +++ readlink -f ./generate_rook_ceph_client.sh ++ dirname /build/ceph/src/ceph-15.2.14/src/pybind/mgr/rook/generate_rook_ceph_client.sh + script_location=/build/ceph/src/ceph-15.2.14/src/pybind/mgr/rook + cd /build/ceph/src/ceph-15.2.14/src/pybind/mgr/rook + rm -rf rook_client + cp -r ./rook-client-python/rook_client . + rm -rf rook_client/cassandra + rm -rf rook_client/edgefs + rm -rf rook_client/tests make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' [ 21%] Built target mgr-rook-client [ 21%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/util.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DCEPH_DATADIR=\"/usr/share/ceph\" -DCEPH_LIBDIR=\"/usr/lib\" -DCEPH_PKGLIBDIR=\"/usr/lib/ceph\" -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/common/CMakeFiles/common-common-objs.dir/util.cc.o -MF CMakeFiles/common-common-objs.dir/util.cc.o.d -o CMakeFiles/common-common-objs.dir/util.cc.o -c /build/ceph/src/ceph-15.2.14/src/common/util.cc [ 34%] Building CXX object CMakeFiles/rocksdb.dir/monitoring/perf_level.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/monitoring/perf_level.cc.o -MF CMakeFiles/rocksdb.dir/monitoring/perf_level.cc.o.d -o CMakeFiles/rocksdb.dir/monitoring/perf_level.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/monitoring/perf_level.cc In file included from /build/ceph/src/ceph-15.2.14/src/librados/ListObjectImpl.h:19, from /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:50, from /build/ceph/src/ceph-15.2.14/src/messages/MOSDFastDispatchOp.h:8, from /build/ceph/src/ceph-15.2.14/src/messages/MOSDOp.h:21, from /build/ceph/src/ceph-15.2.14/src/osdc/Objecter.h:43, from /build/ceph/src/ceph-15.2.14/src/osdc/ObjectCacher.h:17, from /build/ceph/src/ceph-15.2.14/src/client/Inode.h:16, from /build/ceph/src/ceph-15.2.14/src/client/MetaSession.cc:8: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /build/ceph/src/ceph-15.2.14/src/cls/cephfs/cls_cephfs_client.cc:17: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/string:45, from /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:4: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:906:11: required from ‘static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1005:15: required from ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying [ 21%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/version.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/common && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DCEPH_DATADIR=\"/usr/share/ceph\" -DCEPH_LIBDIR=\"/usr/lib\" -DCEPH_PKGLIBDIR=\"/usr/lib/ceph\" -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/common/CMakeFiles/common-common-objs.dir/version.cc.o -MF CMakeFiles/common-common-objs.dir/version.cc.o.d -o CMakeFiles/common-common-objs.dir/version.cc.o -c /build/ceph/src/ceph-15.2.14/src/common/version.cc [ 34%] Building CXX object CMakeFiles/rocksdb.dir/monitoring/statistics.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/monitoring/statistics.cc.o -MF CMakeFiles/rocksdb.dir/monitoring/statistics.cc.o.d -o CMakeFiles/rocksdb.dir/monitoring/statistics.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/monitoring/statistics.cc [ 34%] Building CXX object CMakeFiles/rocksdb.dir/monitoring/thread_status_impl.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/monitoring/thread_status_impl.cc.o -MF CMakeFiles/rocksdb.dir/monitoring/thread_status_impl.cc.o.d -o CMakeFiles/rocksdb.dir/monitoring/thread_status_impl.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/monitoring/thread_status_impl.cc In file included from /build/ceph/src/ceph-15.2.14/src/cls/cas/cls_cas_client.cc:5: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/bits/stl_algobase.h:65, from /usr/include/c++/12.1.1/bits/stl_tree.h:63, from /usr/include/c++/12.1.1/set:60, from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:17, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/cls/cas/cls_cas_client.h:4, from /build/ceph/src/ceph-15.2.14/src/cls/cas/cls_cas_client.cc:3: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 34%] Building CXX object CMakeFiles/rocksdb.dir/monitoring/thread_status_updater.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/monitoring/thread_status_updater.cc.o -MF CMakeFiles/rocksdb.dir/monitoring/thread_status_updater.cc.o.d -o CMakeFiles/rocksdb.dir/monitoring/thread_status_updater.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/monitoring/thread_status_updater.cc In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41: /build/ceph/src/ceph-15.2.14/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]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required 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]’ /build/ceph/src/ceph-15.2.14/src/cls/cas/cls_cas_ops.h:126:11: required from here /build/ceph/src/ceph-15.2.14/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) { | ^ /build/ceph/src/ceph-15.2.14/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 /build/ceph/src/ceph-15.2.14/src/cls/queue/cls_queue_client.h:4, from /build/ceph/src/ceph-15.2.14/src/cls/queue/cls_queue_client.cc:7: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/bits/stl_algobase.h:65, from /usr/include/c++/12.1.1/bits/stl_tree.h:63, from /usr/include/c++/12.1.1/set:60, from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:17, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/cls/queue/cls_queue_types.h:5, from /build/ceph/src/ceph-15.2.14/src/cls/queue/cls_queue_ops.h:4, from /build/ceph/src/ceph-15.2.14/src/cls/queue/cls_queue_client.cc:5: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::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]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: 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]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required 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]’ /build/ceph/src/ceph-15.2.14/src/cls/cas/cls_cas_ops.h:126:11: required from here /build/ceph/src/ceph-15.2.14/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) { | ^ /build/ceph/src/ceph-15.2.14/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 /build/ceph/src/ceph-15.2.14/src/librados/ListObjectImpl.h:19, from /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:50, from /build/ceph/src/ceph-15.2.14/src/messages/MOSDFastDispatchOp.h:8, from /build/ceph/src/ceph-15.2.14/src/messages/MOSDOp.h:21, from /build/ceph/src/ceph-15.2.14/src/osdc/Objecter.h:43, from /build/ceph/src/ceph-15.2.14/src/osdc/ObjectCacher.h:17, from /build/ceph/src/ceph-15.2.14/src/client/Client.h:37: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /build/ceph/src/ceph-15.2.14/src/include/lru.h:24, from /build/ceph/src/ceph-15.2.14/src/mds/CInode.h:27, from /build/ceph/src/ceph-15.2.14/src/cls/cephfs/cls_cephfs_client.cc:18: /build/ceph/src/ceph-15.2.14/src/include/xlist.h:162:24: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/xlist.h:186:30: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /build/ceph/src/ceph-15.2.14/src/cls/rgw_gc/cls_rgw_gc_client.h:4, from /build/ceph/src/ceph-15.2.14/src/cls/rgw_gc/cls_rgw_gc_client.cc:10: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/string:45, from /usr/include/c++/12.1.1/bits/locale_classes.h:40, from /usr/include/c++/12.1.1/bits/ios_base.h:41, from /usr/include/c++/12.1.1/ios:42, from /usr/include/c++/12.1.1/ostream:38, from /usr/include/c++/12.1.1/iostream:39, from /build/ceph/src/ceph-15.2.14/src/common/ceph_time.h:19, from /build/ceph/src/ceph-15.2.14/src/cls/rgw/cls_rgw_types.h:8, from /build/ceph/src/ceph-15.2.14/src/cls/rgw/cls_rgw_ops.h:7, from /build/ceph/src/ceph-15.2.14/src/cls/rgw_gc/cls_rgw_gc_client.cc:5: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 21%] Linking CXX static library ../../lib/libcls_cas_client.a cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/cmake -P CMakeFiles/cls_cas_client.dir/cmake_clean_target.cmake cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/cmake -E cmake_link_script CMakeFiles/cls_cas_client.dir/link.txt --verbose=1 [ 34%] Building CXX object CMakeFiles/rocksdb.dir/monitoring/thread_status_util.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/monitoring/thread_status_util.cc.o -MF CMakeFiles/rocksdb.dir/monitoring/thread_status_util.cc.o.d -o CMakeFiles/rocksdb.dir/monitoring/thread_status_util.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/monitoring/thread_status_util.cc /usr/bin/ar qc ../../lib/libcls_cas_client.a CMakeFiles/cls_cas_client.dir/cas/cls_cas_client.cc.o /usr/bin/ranlib ../../lib/libcls_cas_client.a make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' [ 21%] Built target cls_cas_client [ 34%] Building CXX object CMakeFiles/rocksdb.dir/monitoring/thread_status_util_debug.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/monitoring/thread_status_util_debug.cc.o -MF CMakeFiles/rocksdb.dir/monitoring/thread_status_util_debug.cc.o.d -o CMakeFiles/rocksdb.dir/monitoring/thread_status_util_debug.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/monitoring/thread_status_util_debug.cc [ 37%] Building CXX object CMakeFiles/rocksdb.dir/options/cf_options.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/options/cf_options.cc.o -MF CMakeFiles/rocksdb.dir/options/cf_options.cc.o.d -o CMakeFiles/rocksdb.dir/options/cf_options.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/options/cf_options.cc In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_basic_types.h:9, from /build/ceph/src/ceph-15.2.14/src/cls/rgw/cls_rgw_types.h:11: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/cls/rgw/cls_rgw_ops.h:1229:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/cls/rgw/cls_rgw_ops.h:1229:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, 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 /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_basic_types.h:9, from /build/ceph/src/ceph-15.2.14/src/cls/rgw/cls_rgw_types.h:11, from /build/ceph/src/ceph-15.2.14/src/cls/rgw/cls_rgw_ops.h:7, from /build/ceph/src/ceph-15.2.14/src/cls/rgw/cls_rgw_client.h:9: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/cls/rgw/cls_rgw_ops.h:1229:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying [ 21%] Linking CXX static library ../../lib/libcls_queue_client.a cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/cmake -P CMakeFiles/cls_queue_client.dir/cmake_clean_target.cmake cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/cmake -E cmake_link_script CMakeFiles/cls_queue_client.dir/link.txt --verbose=1 /usr/bin/ar qc ../../lib/libcls_queue_client.a CMakeFiles/cls_queue_client.dir/queue/cls_queue_client.cc.o /usr/bin/ranlib ../../lib/libcls_queue_client.a make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' [ 21%] Built target cls_queue_client [ 37%] Building CXX object CMakeFiles/rocksdb.dir/options/db_options.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/options/db_options.cc.o -MF CMakeFiles/rocksdb.dir/options/db_options.cc.o.d -o CMakeFiles/rocksdb.dir/options/db_options.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/options/db_options.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/cls/rgw/cls_rgw_ops.h:1229:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, 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 /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/CompatSet.h:85:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/mds/mdstypes.h:22, from /build/ceph/src/ceph-15.2.14/src/mds/MDSCacheObject.h:15, from /build/ceph/src/ceph-15.2.14/src/mds/CInode.h:30: /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:45:32: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:109:38: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ make -f src/rgw/CMakeFiles/rgw_common.dir/build.make src/rgw/CMakeFiles/rgw_common.dir/depend make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' [ 21%] Generate rgw_iam_policy_keywords.frag.cc cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/gperf /build/ceph/src/ceph-15.2.14/src/rgw/rgw_iam_policy_keywords.gperf | sed s/register\ //g > rgw_iam_policy_keywords.frag.cc cd /build/ceph/src/ceph-15.2.14/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/ceph/src/ceph-15.2.14 /build/ceph/src/ceph-15.2.14/src/rgw /build/ceph/src/ceph-15.2.14/build /build/ceph/src/ceph-15.2.14/build/src/rgw /build/ceph/src/ceph-15.2.14/build/src/rgw/CMakeFiles/rgw_common.dir/DependInfo.cmake --color= make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' make -f src/rgw/CMakeFiles/rgw_common.dir/build.make src/rgw/CMakeFiles/rgw_common.dir/build make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:3809:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&’ {aka ‘const std::pair, std::optional >&’} binds to a temporary constructed from type ‘const std::pair, std::optional >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T’ {aka ‘const std::pair, std::optional >’} to make the copy explicit or ‘const std::pair, std::optional >&’ to prevent copying [ 21%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_finisher.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/services/svc_finisher.cc.o -MF CMakeFiles/rgw_common.dir/services/svc_finisher.cc.o.d -o CMakeFiles/rgw_common.dir/services/svc_finisher.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_finisher.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying [ 21%] Building CXX object src/cls/CMakeFiles/cls_journal_client.dir/journal/cls_journal_types.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/cls/CMakeFiles/cls_journal_client.dir/journal/cls_journal_types.cc.o -MF CMakeFiles/cls_journal_client.dir/journal/cls_journal_types.cc.o.d -o CMakeFiles/cls_journal_client.dir/journal/cls_journal_types.cc.o -c /build/ceph/src/ceph-15.2.14/src/cls/journal/cls_journal_types.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osdc/Objecter.h:710:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&’ {aka ‘const std::pair, std::pair >&’} binds to a temporary constructed from type ‘const std::pair, std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T’ {aka ‘const std::pair, std::pair >’} to make the copy explicit or ‘const std::pair, std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/CompatSet.h:85:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:3809:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&’ {aka ‘const std::pair, std::optional >&’} binds to a temporary constructed from type ‘const std::pair, std::optional >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T’ {aka ‘const std::pair, std::optional >’} to make the copy explicit or ‘const std::pair, std::optional >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, long int, std::map, std::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 -f src/rgw/CMakeFiles/civetweb_h.dir/build.make src/rgw/CMakeFiles/civetweb_h.dir/depend make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' cd /build/ceph/src/ceph-15.2.14/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/ceph/src/ceph-15.2.14 /build/ceph/src/ceph-15.2.14/src/rgw /build/ceph/src/ceph-15.2.14/build /build/ceph/src/ceph-15.2.14/build/src/rgw /build/ceph/src/ceph-15.2.14/build/src/rgw/CMakeFiles/civetweb_h.dir/DependInfo.cmake --color= make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' make -f src/rgw/CMakeFiles/civetweb_h.dir/build.make src/rgw/CMakeFiles/civetweb_h.dir/build make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osdc/Objecter.h:710:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&’ {aka ‘const std::pair, std::pair >&’} binds to a temporary constructed from type ‘const std::pair, std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T’ {aka ‘const std::pair, std::pair >’} to make the copy explicit or ‘const std::pair, std::pair >&’ to prevent copying make -f src/tools/immutable_object_cache/CMakeFiles/ceph_immutable_object_cache_lib.dir/build.make src/tools/immutable_object_cache/CMakeFiles/ceph_immutable_object_cache_lib.dir/depend [ 21%] Linking CXX static library ../../lib/libcls_rgw_gc_client.a cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/cmake -P CMakeFiles/cls_rgw_gc_client.dir/cmake_clean_target.cmake [ 21%] keep civetweb.h up-to-date cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/cmake -E make_directory /build/ceph/src/ceph-15.2.14/build/src/include/civetweb make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' cd /build/ceph/src/ceph-15.2.14/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/ceph/src/ceph-15.2.14 /build/ceph/src/ceph-15.2.14/src/tools/immutable_object_cache /build/ceph/src/ceph-15.2.14/build /build/ceph/src/ceph-15.2.14/build/src/tools/immutable_object_cache /build/ceph/src/ceph-15.2.14/build/src/tools/immutable_object_cache/CMakeFiles/ceph_immutable_object_cache_lib.dir/DependInfo.cmake --color= cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/cmake -E copy_if_different /build/ceph/src/ceph-15.2.14/src/civetweb/include/civetweb.h /build/ceph/src/ceph-15.2.14/build/src/include/civetweb cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/cmake -E cmake_link_script CMakeFiles/cls_rgw_gc_client.dir/link.txt --verbose=1 make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' make -f src/tools/immutable_object_cache/CMakeFiles/ceph_immutable_object_cache_lib.dir/build.make src/tools/immutable_object_cache/CMakeFiles/ceph_immutable_object_cache_lib.dir/build make -f src/librbd/CMakeFiles/rbd_types.dir/build.make src/librbd/CMakeFiles/rbd_types.dir/depend make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' cd /build/ceph/src/ceph-15.2.14/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/ceph/src/ceph-15.2.14 /build/ceph/src/ceph-15.2.14/src/librbd /build/ceph/src/ceph-15.2.14/build /build/ceph/src/ceph-15.2.14/build/src/librbd /build/ceph/src/ceph-15.2.14/build/src/librbd/CMakeFiles/rbd_types.dir/DependInfo.cmake --color= make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' /usr/bin/ar qc ../../lib/libcls_rgw_gc_client.a CMakeFiles/cls_rgw_gc_client.dir/rgw_gc/cls_rgw_gc_client.cc.o /usr/bin/ranlib ../../lib/libcls_rgw_gc_client.a [ 21%] Building CXX object src/tools/immutable_object_cache/CMakeFiles/ceph_immutable_object_cache_lib.dir/ObjectCacheStore.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/tools/immutable_object_cache && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/tools/immutable_object_cache/CMakeFiles/ceph_immutable_object_cache_lib.dir/ObjectCacheStore.cc.o -MF CMakeFiles/ceph_immutable_object_cache_lib.dir/ObjectCacheStore.cc.o.d -o CMakeFiles/ceph_immutable_object_cache_lib.dir/ObjectCacheStore.cc.o -c /build/ceph/src/ceph-15.2.14/src/tools/immutable_object_cache/ObjectCacheStore.cc [ 21%] Built target civetweb_h make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' make -f src/librbd/CMakeFiles/rbd_types.dir/build.make src/librbd/CMakeFiles/rbd_types.dir/build make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' [ 21%] Building CXX object src/cls/CMakeFiles/cls_rgw_client.dir/rgw/cls_rgw_ops.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/cls/CMakeFiles/cls_rgw_client.dir/rgw/cls_rgw_ops.cc.o -MF CMakeFiles/cls_rgw_client.dir/rgw/cls_rgw_ops.cc.o.d -o CMakeFiles/cls_rgw_client.dir/rgw/cls_rgw_ops.cc.o -c /build/ceph/src/ceph-15.2.14/src/cls/rgw/cls_rgw_ops.cc [ 21%] Built target cls_rgw_gc_client [ 21%] Building CXX object src/librbd/CMakeFiles/rbd_types.dir/journal/Types.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/librbd && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/librbd/CMakeFiles/rbd_types.dir/journal/Types.cc.o -MF CMakeFiles/rbd_types.dir/journal/Types.cc.o.d -o CMakeFiles/rbd_types.dir/journal/Types.cc.o -c /build/ceph/src/ceph-15.2.14/src/librbd/journal/Types.cc [ 21%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_bi_rados.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/services/svc_bi_rados.cc.o -MF CMakeFiles/rgw_common.dir/services/svc_bi_rados.cc.o.d -o CMakeFiles/rgw_common.dir/services/svc_bi_rados.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_bi_rados.cc [ 21%] Building CXX object src/librbd/CMakeFiles/rbd_types.dir/mirroring_watcher/Types.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/librbd && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/librbd/CMakeFiles/rbd_types.dir/mirroring_watcher/Types.cc.o -MF CMakeFiles/rbd_types.dir/mirroring_watcher/Types.cc.o.d -o CMakeFiles/rbd_types.dir/mirroring_watcher/Types.cc.o -c /build/ceph/src/ceph-15.2.14/src/librbd/mirroring_watcher/Types.cc In file included from /build/ceph/src/ceph-15.2.14/src/common/ceph_time.h:23, from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:31, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/include/utime.h:27: /build/ceph/src/ceph-15.2.14/src/include/interval_set.h: In instantiation of ‘void interval_set::erase(T, T, std::function) [with T = int; Map = std::map]’: /build/ceph/src/ceph-15.2.14/src/client/Client.h:831:22: required from here /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:525:23: warning: comparison of unsigned expression in ‘>= 0’ is always true [-Wtype-limits] 525 | ceph_assert(_size >= 0); /build/ceph/src/ceph-15.2.14/src/include/ceph_assert.h:106:6: note: in definition of macro ‘ceph_assert’ 106 | ((expr) \ | ^~~~ [ 37%] Building CXX object CMakeFiles/rocksdb.dir/options/options.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/options/options.cc.o -MF CMakeFiles/rocksdb.dir/options/options.cc.o.d -o CMakeFiles/rocksdb.dir/options/options.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/options/options.cc In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:906:11: required from ‘static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1005:15: required from ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/CompatSet.h:85:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:3809:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&’ {aka ‘const std::pair, std::optional >&’} binds to a temporary constructed from type ‘const std::pair, std::optional >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T’ {aka ‘const std::pair, std::optional >’} to make the copy explicit or ‘const std::pair, std::optional >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osdc/Objecter.h:710:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&’ {aka ‘const std::pair, std::pair >&’} binds to a temporary constructed from type ‘const std::pair, std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T’ {aka ‘const std::pair, std::pair >’} to make the copy explicit or ‘const std::pair, std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/CompatSet.h:85:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:3809:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&’ {aka ‘const std::pair, std::optional >&’} binds to a temporary constructed from type ‘const std::pair, std::optional >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T’ {aka ‘const std::pair, std::optional >’} to make the copy explicit or ‘const std::pair, std::optional >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osdc/Objecter.h:710:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&’ {aka ‘const std::pair, std::pair >&’} binds to a temporary constructed from type ‘const std::pair, std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::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 /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/msg/msg_types.h:23, from /build/ceph/src/ceph-15.2.14/src/common/options.h:11, from /build/ceph/src/ceph-15.2.14/src/common/config.h:24, from /build/ceph/src/ceph-15.2.14/src/mds/CInode.h:23: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/librbd/deep_copy/Types.h:8, from /build/ceph/src/ceph-15.2.14/src/librbd/Types.h:9, from /build/ceph/src/ceph-15.2.14/src/librbd/journal/Types.h:13, from /build/ceph/src/ceph-15.2.14/src/librbd/journal/Types.cc:4: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/string:45, from /usr/include/boost/type_index/type_index_facade.hpp:14, from /usr/include/boost/type_index/stl_type_index.hpp:22, from /usr/include/boost/type_index.hpp:29, from /usr/include/boost/variant/variant.hpp:21, from /usr/include/boost/variant.hpp:17, from /build/ceph/src/ceph-15.2.14/src/cls/rbd/cls_rbd_types.h:7, from /build/ceph/src/ceph-15.2.14/src/librbd/journal/Types.h:7: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:906:11: required from ‘static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1005:15: required from ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_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]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::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]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required 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]’ /build/ceph/src/ceph-15.2.14/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 > >]’ /build/ceph/src/ceph-15.2.14/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 > >]’ /build/ceph/src/ceph-15.2.14/src/mds/CDentry.h:259:11: required from here /build/ceph/src/ceph-15.2.14/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] /build/ceph/src/ceph-15.2.14/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 [ 21%] Linking CXX static library ../../lib/libcls_journal_client.a cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/cmake -P CMakeFiles/cls_journal_client.dir/cmake_clean_target.cmake cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/cmake -E cmake_link_script CMakeFiles/cls_journal_client.dir/link.txt --verbose=1 /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_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]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::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]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h: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]’ /build/ceph/src/ceph-15.2.14/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 > >]’ /build/ceph/src/ceph-15.2.14/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 > >]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556: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]’ /build/ceph/src/ceph-15.2.14/src/messages/MClientReply.h:274:11: required from here /build/ceph/src/ceph-15.2.14/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] /build/ceph/src/ceph-15.2.14/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 /usr/bin/ar qc ../../lib/libcls_journal_client.a CMakeFiles/cls_journal_client.dir/journal/cls_journal_client.cc.o CMakeFiles/cls_journal_client.dir/journal/cls_journal_types.cc.o /usr/bin/ranlib ../../lib/libcls_journal_client.a make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' [ 21%] Built target cls_journal_client [ 21%] Building CXX object src/librbd/CMakeFiles/rbd_types.dir/trash_watcher/Types.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/librbd && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/librbd/CMakeFiles/rbd_types.dir/trash_watcher/Types.cc.o -MF CMakeFiles/rbd_types.dir/trash_watcher/Types.cc.o.d -o CMakeFiles/rbd_types.dir/trash_watcher/Types.cc.o -c /build/ceph/src/ceph-15.2.14/src/librbd/trash_watcher/Types.cc [ 21%] Building CXX object src/librbd/CMakeFiles/rbd_types.dir/watcher/Types.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/librbd && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/librbd/CMakeFiles/rbd_types.dir/watcher/Types.cc.o -MF CMakeFiles/rbd_types.dir/watcher/Types.cc.o.d -o CMakeFiles/rbd_types.dir/watcher/Types.cc.o -c /build/ceph/src/ceph-15.2.14/src/librbd/watcher/Types.cc In file included from /build/ceph/src/ceph-15.2.14/src/tools/immutable_object_cache/ObjectCacheStore.h:9, from /build/ceph/src/ceph-15.2.14/src/tools/immutable_object_cache/ObjectCacheStore.cc:4: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/bits/stl_algobase.h:65, from /usr/include/c++/12.1.1/bits/stl_tree.h:63, from /usr/include/c++/12.1.1/map:60, from /build/ceph/src/ceph-15.2.14/src/common/ceph_context.h:19, from /build/ceph/src/ceph-15.2.14/src/tools/immutable_object_cache/ObjectCacheStore.h:7: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 21%] Building CXX object src/librbd/CMakeFiles/rbd_types.dir/WatchNotifyTypes.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/librbd && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/librbd/CMakeFiles/rbd_types.dir/WatchNotifyTypes.cc.o -MF CMakeFiles/rbd_types.dir/WatchNotifyTypes.cc.o.d -o CMakeFiles/rbd_types.dir/WatchNotifyTypes.cc.o -c /build/ceph/src/ceph-15.2.14/src/librbd/WatchNotifyTypes.cc In file included from /build/ceph/src/ceph-15.2.14/src/include/lru.h:24, from /build/ceph/src/ceph-15.2.14/src/tools/immutable_object_cache/SimplePolicy.h:9, from /build/ceph/src/ceph-15.2.14/src/tools/immutable_object_cache/ObjectCacheStore.h:11: /build/ceph/src/ceph-15.2.14/src/include/xlist.h:162:24: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/xlist.h:186:30: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 21%] Building CXX object src/tools/immutable_object_cache/CMakeFiles/ceph_immutable_object_cache_lib.dir/CacheController.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/tools/immutable_object_cache && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/tools/immutable_object_cache/CMakeFiles/ceph_immutable_object_cache_lib.dir/CacheController.cc.o -MF CMakeFiles/ceph_immutable_object_cache_lib.dir/CacheController.cc.o.d -o CMakeFiles/ceph_immutable_object_cache_lib.dir/CacheController.cc.o -c /build/ceph/src/ceph-15.2.14/src/tools/immutable_object_cache/CacheController.cc In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_basic_types.h:9, from /build/ceph/src/ceph-15.2.14/src/cls/rgw/cls_rgw_types.h:11, from /build/ceph/src/ceph-15.2.14/src/cls/rgw/cls_rgw_ops.h:7, from /build/ceph/src/ceph-15.2.14/src/cls/rgw/cls_rgw_ops.cc:4: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/cls/rgw/cls_rgw_ops.h:1229:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying [ 37%] Building CXX object CMakeFiles/rocksdb.dir/options/options_helper.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/options/options_helper.cc.o -MF CMakeFiles/rocksdb.dir/options/options_helper.cc.o.d -o CMakeFiles/rocksdb.dir/options/options_helper.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/options/options_helper.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/cls/rgw/cls_rgw_ops.h:1229:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying [ 21%] Linking CXX static library ../../lib/libcls_cephfs_client.a cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/cmake -P CMakeFiles/cls_cephfs_client.dir/cmake_clean_target.cmake cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/cmake -E cmake_link_script CMakeFiles/cls_cephfs_client.dir/link.txt --verbose=1 /usr/bin/ar qc ../../lib/libcls_cephfs_client.a CMakeFiles/cls_cephfs_client.dir/cephfs/cls_cephfs_client.cc.o /usr/bin/ranlib ../../lib/libcls_cephfs_client.a make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' In file included from /build/ceph/src/ceph-15.2.14/src/librbd/Watcher.h:10, from /build/ceph/src/ceph-15.2.14/src/librbd/watcher/Utils.h:10, from /build/ceph/src/ceph-15.2.14/src/librbd/mirroring_watcher/Types.cc:8: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/bits/stl_algobase.h:65, from /usr/include/c++/12.1.1/deque:60, from /build/ceph/src/ceph-15.2.14/src/common/Formatter.h:9, from /build/ceph/src/ceph-15.2.14/src/librbd/mirroring_watcher/Types.cc:4: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 21%] Built target cls_cephfs_client [ 37%] Building CXX object CMakeFiles/rocksdb.dir/options/options_parser.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/options/options_parser.cc.o -MF CMakeFiles/rocksdb.dir/options/options_parser.cc.o.d -o CMakeFiles/rocksdb.dir/options/options_parser.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/options/options_parser.cc In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_service.h:12, from /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_finisher.h:6, from /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_finisher.cc:6: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/string:45, from /build/ceph/src/ceph-15.2.14/src/include/ceph_assert.h:5, from /build/ceph/src/ceph-15.2.14/src/common/dout.h:21, from /build/ceph/src/ceph-15.2.14/src/include/Context.h:19, from /build/ceph/src/ceph-15.2.14/src/common/Finisher.h:18, from /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_finisher.cc:4: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/cls/rbd/cls_rbd_types.h:10: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/librbd/journal/Types.cc:628:9: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, long unsigned int, long 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) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying make -f src/pybind/mgr/dashboard/CMakeFiles/mgr-dashboard-nodeenv.dir/build.make src/pybind/mgr/dashboard/CMakeFiles/mgr-dashboard-nodeenv.dir/depend make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' cd /build/ceph/src/ceph-15.2.14/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/ceph/src/ceph-15.2.14 /build/ceph/src/ceph-15.2.14/src/pybind/mgr/dashboard /build/ceph/src/ceph-15.2.14/build /build/ceph/src/ceph-15.2.14/build/src/pybind/mgr/dashboard /build/ceph/src/ceph-15.2.14/build/src/pybind/mgr/dashboard/CMakeFiles/mgr-dashboard-nodeenv.dir/DependInfo.cmake --color= make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' make -f src/pybind/mgr/dashboard/CMakeFiles/mgr-dashboard-nodeenv.dir/build.make src/pybind/mgr/dashboard/CMakeFiles/mgr-dashboard-nodeenv.dir/build make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' [ 21%] dashboard nodeenv is being installed cd /build/ceph/src/ceph-15.2.14/build/src/pybind/mgr/dashboard && /build/ceph/src/ceph-15.2.14/src/tools/setup-virtualenv.sh --python=/usr/bin/python3.10 /build/ceph/src/ceph-15.2.14/build/src/pybind/mgr/dashboard/node-env make -f src/ceph-volume/CMakeFiles/ceph_volume-clone.dir/build.make src/ceph-volume/CMakeFiles/ceph_volume-clone.dir/depend make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' cd /build/ceph/src/ceph-15.2.14/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/ceph/src/ceph-15.2.14 /build/ceph/src/ceph-15.2.14/src/ceph-volume /build/ceph/src/ceph-15.2.14/build /build/ceph/src/ceph-15.2.14/build/src/ceph-volume /build/ceph/src/ceph-15.2.14/build/src/ceph-volume/CMakeFiles/ceph_volume-clone.dir/DependInfo.cmake --color= make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' make -f src/ceph-volume/CMakeFiles/ceph_volume-clone.dir/build.make src/ceph-volume/CMakeFiles/ceph_volume-clone.dir/build make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' /build/ceph/src/ceph-15.2.14/src/rocksdb/options/options_parser.cc: In member function ‘rocksdb::Status rocksdb::RocksDBOptionsParser::EndSection(rocksdb::OptionSection, const std::string&, const std::string&, const std::unordered_map, std::__cxx11::basic_string >&, bool)’: /build/ceph/src/ceph-15.2.14/src/rocksdb/options/options_parser.cc:412:21: warning: loop variable ‘pair’ creates a copy from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] 412 | for (const auto pair : opt_map) { | ^~~~ /build/ceph/src/ceph-15.2.14/src/rocksdb/options/options_parser.cc:412:21: note: use reference type to prevent copying 412 | for (const auto pair : opt_map) { | ^~~~ | & [ 21%] Generating setup.py cd /build/ceph/src/ceph-15.2.14/build/src/ceph-volume && /usr/bin/cmake -E create_symlink /build/ceph/src/ceph-15.2.14/src/ceph-volume/setup.py setup.py [ 21%] Generating ceph_volume cd /build/ceph/src/ceph-15.2.14/build/src/ceph-volume && /usr/bin/cmake -E create_symlink /build/ceph/src/ceph-15.2.14/src/ceph-volume/ceph_volume ceph_volume In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_service.h:12, from /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_bi_rados.h:20, from /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_bi_rados.cc:4: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/string:45, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_service.h:8: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' [ 21%] Built target ceph_volume-clone [ 37%] Building CXX object CMakeFiles/rocksdb.dir/options/options_sanity_check.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/options/options_sanity_check.cc.o -MF CMakeFiles/rocksdb.dir/options/options_sanity_check.cc.o.d -o CMakeFiles/rocksdb.dir/options/options_sanity_check.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/options/options_sanity_check.cc In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/msg/msg_types.h:23, from /build/ceph/src/ceph-15.2.14/src/common/ceph_context.h:33, from /build/ceph/src/ceph-15.2.14/src/common/dout.h:29: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying make -f src/python-common/CMakeFiles/ceph-clone.dir/build.make src/python-common/CMakeFiles/ceph-clone.dir/depend make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' cd /build/ceph/src/ceph-15.2.14/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/ceph/src/ceph-15.2.14 /build/ceph/src/ceph-15.2.14/src/python-common /build/ceph/src/ceph-15.2.14/build /build/ceph/src/ceph-15.2.14/build/src/python-common /build/ceph/src/ceph-15.2.14/build/src/python-common/CMakeFiles/ceph-clone.dir/DependInfo.cmake --color= make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' make -f src/python-common/CMakeFiles/ceph-clone.dir/build.make src/python-common/CMakeFiles/ceph-clone.dir/build make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying [ 21%] Generating setup.py cd /build/ceph/src/ceph-15.2.14/build/src/python-common && /usr/bin/cmake -E create_symlink /build/ceph/src/ceph-15.2.14/src/python-common/setup.py setup.py [ 21%] Generating README.rst cd /build/ceph/src/ceph-15.2.14/build/src/python-common && /usr/bin/cmake -E create_symlink /build/ceph/src/ceph-15.2.14/src/python-common/README.rst README.rst [ 21%] Generating requirements.txt cd /build/ceph/src/ceph-15.2.14/build/src/python-common && /usr/bin/cmake -E create_symlink /build/ceph/src/ceph-15.2.14/src/python-common/requirements.txt requirements.txt [ 21%] Generating ceph cd /build/ceph/src/ceph-15.2.14/build/src/python-common && /usr/bin/cmake -E create_symlink /build/ceph/src/ceph-15.2.14/src/python-common/ceph ceph make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' [ 21%] Built target ceph-clone [ 21%] Building CXX object src/tools/immutable_object_cache/CMakeFiles/ceph_immutable_object_cache_lib.dir/CacheServer.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/tools/immutable_object_cache && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/tools/immutable_object_cache/CMakeFiles/ceph_immutable_object_cache_lib.dir/CacheServer.cc.o -MF CMakeFiles/ceph_immutable_object_cache_lib.dir/CacheServer.cc.o.d -o CMakeFiles/ceph_immutable_object_cache_lib.dir/CacheServer.cc.o -c /build/ceph/src/ceph-15.2.14/src/tools/immutable_object_cache/CacheServer.cc [ 37%] Building CXX object CMakeFiles/rocksdb.dir/port/stack_trace.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/port/stack_trace.cc.o -MF CMakeFiles/rocksdb.dir/port/stack_trace.cc.o.d -o CMakeFiles/rocksdb.dir/port/stack_trace.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/port/stack_trace.cc make -f src/googletest/googletest/CMakeFiles/gtest.dir/build.make src/googletest/googletest/CMakeFiles/gtest.dir/depend make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' cd /build/ceph/src/ceph-15.2.14/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/ceph/src/ceph-15.2.14 /build/ceph/src/ceph-15.2.14/src/googletest/googletest /build/ceph/src/ceph-15.2.14/build /build/ceph/src/ceph-15.2.14/build/src/googletest/googletest /build/ceph/src/ceph-15.2.14/build/src/googletest/googletest/CMakeFiles/gtest.dir/DependInfo.cmake --color= make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' make -f src/googletest/googletest/CMakeFiles/gtest.dir/build.make src/googletest/googletest/CMakeFiles/gtest.dir/build make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' [ 21%] Building CXX object src/googletest/googletest/CMakeFiles/gtest.dir/src/gtest-all.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/googletest/googletest && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/googletest/googletest/include -I/build/ceph/src/ceph-15.2.14/src/googletest/googletest -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -Wall -Wshadow -Werror -Wno-error=dangling-else -DGTEST_HAS_PTHREAD=1 -fexceptions -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -std=c++11 -MD -MT src/googletest/googletest/CMakeFiles/gtest.dir/src/gtest-all.cc.o -MF CMakeFiles/gtest.dir/src/gtest-all.cc.o.d -o CMakeFiles/gtest.dir/src/gtest-all.cc.o -c /build/ceph/src/ceph-15.2.14/src/googletest/googletest/src/gtest-all.cc created virtual environment CPython3.10.6.final.0-64 in 9116ms creator CPython3Posix(dest=/build/ceph/src/ceph-15.2.14/build/src/pybind/mgr/dashboard/node-env, clear=False, no_vcs_ignore=False, global=False) seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/build/.local/share/virtualenv) added seed packages: pip==21.3.1, setuptools==60.1.0, wheel==0.37.1 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator make -f src/tools/CMakeFiles/ceph-diff-sorted.dir/build.make src/tools/CMakeFiles/ceph-diff-sorted.dir/depend make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' cd /build/ceph/src/ceph-15.2.14/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/ceph/src/ceph-15.2.14 /build/ceph/src/ceph-15.2.14/src/tools /build/ceph/src/ceph-15.2.14/build /build/ceph/src/ceph-15.2.14/build/src/tools /build/ceph/src/ceph-15.2.14/build/src/tools/CMakeFiles/ceph-diff-sorted.dir/DependInfo.cmake --color= make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' make -f src/tools/CMakeFiles/ceph-diff-sorted.dir/build.make src/tools/CMakeFiles/ceph-diff-sorted.dir/build make[2]: Entering directory '/build/ceph/src/ceph-15.2.14/build' [ 21%] Building CXX object src/tools/CMakeFiles/ceph-diff-sorted.dir/ceph-diff-sorted.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/tools && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIE -std=c++17 -MD -MT src/tools/CMakeFiles/ceph-diff-sorted.dir/ceph-diff-sorted.cc.o -MF CMakeFiles/ceph-diff-sorted.dir/ceph-diff-sorted.cc.o.d -o CMakeFiles/ceph-diff-sorted.dir/ceph-diff-sorted.cc.o -c /build/ceph/src/ceph-15.2.14/src/tools/ceph-diff-sorted.cc [ 21%] Building CXX object src/tools/immutable_object_cache/CMakeFiles/ceph_immutable_object_cache_lib.dir/CacheClient.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/tools/immutable_object_cache && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/tools/immutable_object_cache/CMakeFiles/ceph_immutable_object_cache_lib.dir/CacheClient.cc.o -MF CMakeFiles/ceph_immutable_object_cache_lib.dir/CacheClient.cc.o.d -o CMakeFiles/ceph_immutable_object_cache_lib.dir/CacheClient.cc.o -c /build/ceph/src/ceph-15.2.14/src/tools/immutable_object_cache/CacheClient.cc [ 21%] Linking CXX static library ../../lib/libcls_rgw_client.a cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/cmake -P CMakeFiles/cls_rgw_client.dir/cmake_clean_target.cmake cd /build/ceph/src/ceph-15.2.14/build/src/cls && /usr/bin/cmake -E cmake_link_script CMakeFiles/cls_rgw_client.dir/link.txt --verbose=1 /usr/bin/ar qc ../../lib/libcls_rgw_client.a CMakeFiles/cls_rgw_client.dir/rgw/cls_rgw_client.cc.o CMakeFiles/cls_rgw_client.dir/rgw/cls_rgw_types.cc.o CMakeFiles/cls_rgw_client.dir/rgw/cls_rgw_ops.cc.o In file included from /build/ceph/src/ceph-15.2.14/src/librbd/Watcher.h:10, from /build/ceph/src/ceph-15.2.14/src/librbd/watcher/Utils.h:10, from /build/ceph/src/ceph-15.2.14/src/librbd/trash_watcher/Types.cc:8: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/bits/stl_algobase.h:65, from /usr/include/c++/12.1.1/deque:60, from /build/ceph/src/ceph-15.2.14/src/common/Formatter.h:9, from /build/ceph/src/ceph-15.2.14/src/librbd/trash_watcher/Types.cc:4: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /usr/bin/ranlib ../../lib/libcls_rgw_client.a In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/common/ceph_crypto.h:10, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:24: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' [ 21%] Built target cls_rgw_client [ 22%] Building CXX object src/tools/immutable_object_cache/CMakeFiles/ceph_immutable_object_cache_lib.dir/CacheSession.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/tools/immutable_object_cache && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/tools/immutable_object_cache/CMakeFiles/ceph_immutable_object_cache_lib.dir/CacheSession.cc.o -MF CMakeFiles/ceph_immutable_object_cache_lib.dir/CacheSession.cc.o.d -o CMakeFiles/ceph_immutable_object_cache_lib.dir/CacheSession.cc.o -c /build/ceph/src/ceph-15.2.14/src/tools/immutable_object_cache/CacheSession.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying [ 22%] Linking CXX executable ../../bin/ceph-diff-sorted cd /build/ceph/src/ceph-15.2.14/build/src/tools && /usr/bin/cmake -E cmake_link_script CMakeFiles/ceph-diff-sorted.dir/link.txt --verbose=1 /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying /usr/bin/c++ -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -pie "CMakeFiles/ceph-diff-sorted.dir/ceph-diff-sorted.cc.o" -o ../../bin/ceph-diff-sorted make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' [ 22%] Built target ceph-diff-sorted [ 22%] Building CXX object src/tools/immutable_object_cache/CMakeFiles/ceph_immutable_object_cache_lib.dir/SimplePolicy.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/tools/immutable_object_cache && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/tools/immutable_object_cache/CMakeFiles/ceph_immutable_object_cache_lib.dir/SimplePolicy.cc.o -MF CMakeFiles/ceph_immutable_object_cache_lib.dir/SimplePolicy.cc.o.d -o CMakeFiles/ceph_immutable_object_cache_lib.dir/SimplePolicy.cc.o -c /build/ceph/src/ceph-15.2.14/src/tools/immutable_object_cache/SimplePolicy.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying In file included from /usr/include/boost/bind.hpp:30, from /build/ceph/src/ceph-15.2.14/src/tools/immutable_object_cache/CacheServer.cc:4: /usr/include/boost/bind.hpp:36:1: note: ‘#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.’ 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying WARNING: --use-feature=2020-resolver no longer has any effect, since it is now the default dependency resolver in pip. This will become an error in pip 21.0. In file included from /build/ceph/src/ceph-15.2.14/src/librbd/Watcher.h:10, from /build/ceph/src/ceph-15.2.14/src/librbd/watcher/Utils.h:10, from /build/ceph/src/ceph-15.2.14/src/librbd/WatchNotifyTypes.cc:9: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/string:45, from /usr/include/boost/type_index/type_index_facade.hpp:14, from /usr/include/boost/type_index/stl_type_index.hpp:22, from /usr/include/boost/type_index.hpp:29, from /usr/include/boost/variant/variant.hpp:21, from /usr/include/boost/variant.hpp:17, from /build/ceph/src/ceph-15.2.14/src/cls/rbd/cls_rbd_types.h:7, from /build/ceph/src/ceph-15.2.14/src/librbd/WatchNotifyTypes.cc:4: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ Requirement already satisfied: pip>=6.1 in ./node-env/lib/python3.10/site-packages (21.3.1) Collecting pip>=6.1 Downloading pip-22.2.2-py3-none-any.whl (2.0 MB) Installing collected packages: pip Attempting uninstall: pip Found existing installation: pip 21.3.1 Uninstalling pip-21.3.1: Successfully uninstalled pip-21.3.1 [ 22%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_bilog_rados.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/services/svc_bilog_rados.cc.o -MF CMakeFiles/rgw_common.dir/services/svc_bilog_rados.cc.o.d -o CMakeFiles/rgw_common.dir/services/svc_bilog_rados.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_bilog_rados.cc 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 /build/ceph/src/ceph-15.2.14/src/include/any.h:25, from /build/ceph/src/ceph-15.2.14/src/common/ceph_context.h:29, from /build/ceph/src/ceph-15.2.14/src/tools/immutable_object_cache/CacheController.h:7, from /build/ceph/src/ceph-15.2.14/src/tools/immutable_object_cache/CacheController.cc:4: /usr/include/boost/bind.hpp:36:1: note: ‘#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.’ 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ In file included from /build/ceph/src/ceph-15.2.14/src/tools/immutable_object_cache/ObjectCacheStore.h:9, from /build/ceph/src/ceph-15.2.14/src/tools/immutable_object_cache/CacheController.h:10: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/bits/stl_algobase.h:65, from /usr/include/c++/12.1.1/bits/stl_tree.h:63, from /usr/include/c++/12.1.1/map:60, from /build/ceph/src/ceph-15.2.14/src/common/ceph_context.h:19: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /build/ceph/src/ceph-15.2.14/src/include/lru.h:24, from /build/ceph/src/ceph-15.2.14/src/tools/immutable_object_cache/SimplePolicy.h:9, from /build/ceph/src/ceph-15.2.14/src/tools/immutable_object_cache/ObjectCacheStore.h:11: /build/ceph/src/ceph-15.2.14/src/include/xlist.h:162:24: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/xlist.h:186:30: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 37%] Building CXX object CMakeFiles/rocksdb.dir/table/adaptive_table_factory.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/table/adaptive_table_factory.cc.o -MF CMakeFiles/rocksdb.dir/table/adaptive_table_factory.cc.o.d -o CMakeFiles/rocksdb.dir/table/adaptive_table_factory.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/table/adaptive_table_factory.cc Successfully installed pip-22.2.2 [ 41%] Building CXX object CMakeFiles/rocksdb.dir/table/block.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/table/block.cc.o -MF CMakeFiles/rocksdb.dir/table/block.cc.o.d -o CMakeFiles/rocksdb.dir/table/block.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/table/block.cc [ 41%] Building CXX object CMakeFiles/rocksdb.dir/table/block_based_filter_block.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/table/block_based_filter_block.cc.o -MF CMakeFiles/rocksdb.dir/table/block_based_filter_block.cc.o.d -o CMakeFiles/rocksdb.dir/table/block_based_filter_block.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/table/block_based_filter_block.cc In file included from /usr/include/boost/smart_ptr/detail/sp_thread_sleep.hpp:22, from /usr/include/boost/smart_ptr/detail/yield_k.hpp:23, from /usr/include/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp:14, from /usr/include/boost/smart_ptr/detail/spinlock.hpp:42, from /usr/include/boost/smart_ptr/detail/spinlock_pool.hpp:25, from /usr/include/boost/smart_ptr/shared_ptr.hpp:29, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/time_clock.hpp:17, from /usr/include/boost/date_time/posix_time/posix_time_types.hpp:10, from /usr/include/boost/asio/time_traits.hpp:23, from /usr/include/boost/asio/detail/timer_queue_ptime.hpp:22, from /usr/include/boost/asio/detail/deadline_timer_service.hpp:31, from /usr/include/boost/asio/basic_deadline_timer.hpp:25, from /usr/include/boost/asio.hpp:27, from /build/ceph/src/ceph-15.2.14/src/tools/immutable_object_cache/CacheClient.h:8, from /build/ceph/src/ceph-15.2.14/src/tools/immutable_object_cache/CacheClient.cc:4: /usr/include/boost/bind.hpp:36:1: note: ‘#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.’ 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ WARNING: --use-feature=2020-resolver no longer has any effect, since it is now the default dependency resolver in pip. This will become an error in pip 21.0. Looking in links: file:///build/ceph/src/ceph-15.2.14/build/src/pybind/mgr/dashboard/wheelhouse WARNING: Location 'file:///build/ceph/src/ceph-15.2.14/build/src/pybind/mgr/dashboard/wheelhouse' is ignored: it is neither a file nor a directory. Collecting tox>=2.9.1 Downloading tox-3.25.1-py2.py3-none-any.whl (85 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 86.0/86.0 kB 2.7 MB/s eta 0:00:00 WARNING: Location 'file:///build/ceph/src/ceph-15.2.14/build/src/pybind/mgr/dashboard/wheelhouse' is ignored: it is neither a file nor a directory. Collecting py>=1.4.17 Downloading py-1.11.0-py2.py3-none-any.whl (98 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 98.7/98.7 kB 4.1 MB/s eta 0:00:00 WARNING: Location 'file:///build/ceph/src/ceph-15.2.14/build/src/pybind/mgr/dashboard/wheelhouse' is ignored: it is neither a file nor a directory. Collecting toml>=0.9.4 Downloading toml-0.10.2-py2.py3-none-any.whl (16 kB) WARNING: Location 'file:///build/ceph/src/ceph-15.2.14/build/src/pybind/mgr/dashboard/wheelhouse' is ignored: it is neither a file nor a directory. [ 22%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_bucket.cc.o Collecting filelock>=3.0.0 cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/services/svc_bucket.cc.o -MF CMakeFiles/rgw_common.dir/services/svc_bucket.cc.o.d -o CMakeFiles/rgw_common.dir/services/svc_bucket.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_bucket.cc Downloading filelock-3.8.0-py3-none-any.whl (10 kB) WARNING: Location 'file:///build/ceph/src/ceph-15.2.14/build/src/pybind/mgr/dashboard/wheelhouse' is ignored: it is neither a file nor a directory. Collecting virtualenv!=20.0.0,!=20.0.1,!=20.0.2,!=20.0.3,!=20.0.4,!=20.0.5,!=20.0.6,!=20.0.7,>=16.0.0 Downloading virtualenv-20.16.3-py2.py3-none-any.whl (8.8 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 8.8/8.8 MB 8.7 MB/s eta 0:00:00 WARNING: Location 'file:///build/ceph/src/ceph-15.2.14/build/src/pybind/mgr/dashboard/wheelhouse' is ignored: it is neither a file nor a directory. Collecting pluggy>=0.12.0 Downloading pluggy-1.0.0-py2.py3-none-any.whl (13 kB) WARNING: Location 'file:///build/ceph/src/ceph-15.2.14/build/src/pybind/mgr/dashboard/wheelhouse' is ignored: it is neither a file nor a directory. Collecting six>=1.14.0 Downloading six-1.16.0-py2.py3-none-any.whl (11 kB) WARNING: Location 'file:///build/ceph/src/ceph-15.2.14/build/src/pybind/mgr/dashboard/wheelhouse' is ignored: it is neither a file nor a directory. Collecting packaging>=14 Downloading packaging-21.3-py3-none-any.whl (40 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 40.8/40.8 kB 3.6 MB/s eta 0:00:00 WARNING: Location 'file:///build/ceph/src/ceph-15.2.14/build/src/pybind/mgr/dashboard/wheelhouse' is ignored: it is neither a file nor a directory. Collecting pyparsing!=3.0.5,>=2.0.2 Downloading pyparsing-3.0.9-py3-none-any.whl (98 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 98.3/98.3 kB 3.5 MB/s eta 0:00:00 WARNING: Location 'file:///build/ceph/src/ceph-15.2.14/build/src/pybind/mgr/dashboard/wheelhouse' is ignored: it is neither a file nor a directory. Collecting platformdirs<3,>=2.4 Downloading platformdirs-2.5.2-py3-none-any.whl (14 kB) WARNING: Location 'file:///build/ceph/src/ceph-15.2.14/build/src/pybind/mgr/dashboard/wheelhouse' is ignored: it is neither a file nor a directory. Collecting distlib<1,>=0.3.5 Downloading distlib-0.3.5-py2.py3-none-any.whl (466 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 467.0/467.0 kB 5.7 MB/s eta 0:00:00 In file included from /build/ceph/src/ceph-15.2.14/src/include/lru.h:24, from /build/ceph/src/ceph-15.2.14/src/tools/immutable_object_cache/SimplePolicy.h:9, from /build/ceph/src/ceph-15.2.14/src/tools/immutable_object_cache/SimplePolicy.cc:5: /build/ceph/src/ceph-15.2.14/src/include/xlist.h:162:24: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/string:45, from /build/ceph/src/ceph-15.2.14/src/include/ceph_assert.h:5, from /build/ceph/src/ceph-15.2.14/src/common/dout.h:21, from /build/ceph/src/ceph-15.2.14/src/common/debug.h:18, from /build/ceph/src/ceph-15.2.14/src/tools/immutable_object_cache/SimplePolicy.cc:4: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/xlist.h:186:30: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ Installing collected packages: distlib, toml, six, pyparsing, py, pluggy, platformdirs, filelock, virtualenv, packaging, tox 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 /build/ceph/src/ceph-15.2.14/src/include/any.h:25, from /build/ceph/src/ceph-15.2.14/src/common/ceph_context.h:29, from /build/ceph/src/ceph-15.2.14/src/common/dout.h:29, from /build/ceph/src/ceph-15.2.14/src/common/debug.h:18, from /build/ceph/src/ceph-15.2.14/src/tools/immutable_object_cache/CacheSession.cc:4: /usr/include/boost/bind.hpp:36:1: note: ‘#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.’ 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ [ 41%] Building CXX object CMakeFiles/rocksdb.dir/table/block_based_table_builder.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/table/block_based_table_builder.cc.o -MF CMakeFiles/rocksdb.dir/table/block_based_table_builder.cc.o.d -o CMakeFiles/rocksdb.dir/table/block_based_table_builder.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/table/block_based_table_builder.cc Successfully installed distlib-0.3.5 filelock-3.8.0 packaging-21.3 platformdirs-2.5.2 pluggy-1.0.0 py-1.11.0 pyparsing-3.0.9 six-1.16.0 toml-0.10.2 tox-3.25.1 virtualenv-20.16.3 cd /build/ceph/src/ceph-15.2.14/build/src/pybind/mgr/dashboard && /build/ceph/src/ceph-15.2.14/build/src/pybind/mgr/dashboard/node-env/bin/pip install nodeenv [ 41%] Building CXX object CMakeFiles/rocksdb.dir/table/block_based_table_factory.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/table/block_based_table_factory.cc.o -MF CMakeFiles/rocksdb.dir/table/block_based_table_factory.cc.o.d -o CMakeFiles/rocksdb.dir/table/block_based_table_factory.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/table/block_based_table_factory.cc [ 41%] Building CXX object CMakeFiles/rocksdb.dir/table/block_based_table_reader.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/table/block_based_table_reader.cc.o -MF CMakeFiles/rocksdb.dir/table/block_based_table_reader.cc.o.d -o CMakeFiles/rocksdb.dir/table/block_based_table_reader.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/table/block_based_table_reader.cc [ 22%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_bucket_sobj.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/services/svc_bucket_sobj.cc.o -MF CMakeFiles/rgw_common.dir/services/svc_bucket_sobj.cc.o.d -o CMakeFiles/rgw_common.dir/services/svc_bucket_sobj.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_bucket_sobj.cc Collecting nodeenv Downloading nodeenv-1.7.0-py2.py3-none-any.whl (21 kB) Requirement already satisfied: setuptools in ./node-env/lib/python3.10/site-packages (from nodeenv) (60.1.0) Installing collected packages: nodeenv Successfully installed nodeenv-1.7.0 cd /build/ceph/src/ceph-15.2.14/build/src/pybind/mgr/dashboard && /build/ceph/src/ceph-15.2.14/build/src/pybind/mgr/dashboard/node-env/bin/nodeenv --verbose -p --node=10.18.1 * Install prebuilt node (10.18.1) Traceback (most recent call last): File "/build/ceph/src/ceph-15.2.14/build/src/pybind/mgr/dashboard/node-env/bin/nodeenv", line 8, in sys.exit(main()) File "/build/ceph/src/ceph-15.2.14/build/src/pybind/mgr/dashboard/node-env/lib/python3.10/site-packages/nodeenv.py", line 1104, in main create_environment(env_dir, args) File "/build/ceph/src/ceph-15.2.14/build/src/pybind/mgr/dashboard/node-env/lib/python3.10/site-packages/nodeenv.py", line 980, in create_environment install_node(env_dir, src_dir, args) File "/build/ceph/src/ceph-15.2.14/build/src/pybind/mgr/dashboard/node-env/lib/python3.10/site-packages/nodeenv.py", line 739, in install_node install_node_wrapped(env_dir, src_dir, args) File "/build/ceph/src/ceph-15.2.14/build/src/pybind/mgr/dashboard/node-env/lib/python3.10/site-packages/nodeenv.py", line 755, in install_node_wrapped node_url = get_node_bin_url(args.node) File "/build/ceph/src/ceph-15.2.14/build/src/pybind/mgr/dashboard/node-env/lib/python3.10/site-packages/nodeenv.py", line 553, in get_node_bin_url 'arch': archmap[platform.machine()], KeyError: 'riscv64' make[2]: *** [src/pybind/mgr/dashboard/CMakeFiles/mgr-dashboard-nodeenv.dir/build.make:78: src/pybind/mgr/dashboard/node-env/bin/npm] Error 1 make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' make[1]: *** [CMakeFiles/Makefile2:5704: src/pybind/mgr/dashboard/CMakeFiles/mgr-dashboard-nodeenv.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... [ 22%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_bucket_sync_sobj.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/services/svc_bucket_sync_sobj.cc.o -MF CMakeFiles/rgw_common.dir/services/svc_bucket_sync_sobj.cc.o.d -o CMakeFiles/rgw_common.dir/services/svc_bucket_sync_sobj.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_bucket_sync_sobj.cc [ 22%] Linking CXX static library ../../lib/librbd_types.a cd /build/ceph/src/ceph-15.2.14/build/src/librbd && /usr/bin/cmake -P CMakeFiles/rbd_types.dir/cmake_clean_target.cmake cd /build/ceph/src/ceph-15.2.14/build/src/librbd && /usr/bin/cmake -E cmake_link_script CMakeFiles/rbd_types.dir/link.txt --verbose=1 [ 22%] Building CXX object src/tools/immutable_object_cache/CMakeFiles/ceph_immutable_object_cache_lib.dir/Types.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/tools/immutable_object_cache && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/tools/immutable_object_cache/CMakeFiles/ceph_immutable_object_cache_lib.dir/Types.cc.o -MF CMakeFiles/ceph_immutable_object_cache_lib.dir/Types.cc.o.d -o CMakeFiles/ceph_immutable_object_cache_lib.dir/Types.cc.o -c /build/ceph/src/ceph-15.2.14/src/tools/immutable_object_cache/Types.cc /usr/bin/ar qc ../../lib/librbd_types.a CMakeFiles/rbd_types.dir/journal/Types.cc.o CMakeFiles/rbd_types.dir/mirroring_watcher/Types.cc.o CMakeFiles/rbd_types.dir/trash_watcher/Types.cc.o CMakeFiles/rbd_types.dir/watcher/Types.cc.o CMakeFiles/rbd_types.dir/WatchNotifyTypes.cc.o /usr/bin/ranlib ../../lib/librbd_types.a make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' [ 22%] Built target rbd_types [ 22%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_cls.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/services/svc_cls.cc.o -MF CMakeFiles/rgw_common.dir/services/svc_cls.cc.o.d -o CMakeFiles/rgw_common.dir/services/svc_cls.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_cls.cc [ 22%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_config_key_rados.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/services/svc_config_key_rados.cc.o -MF CMakeFiles/rgw_common.dir/services/svc_config_key_rados.cc.o.d -o CMakeFiles/rgw_common.dir/services/svc_config_key_rados.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_config_key_rados.cc In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_service.h:12, from /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_bilog_rados.h:20, from /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_bilog_rados.cc:4: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/string:45, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_service.h:8: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 22%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_datalog_rados.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/services/svc_datalog_rados.cc.o -MF CMakeFiles/rgw_common.dir/services/svc_datalog_rados.cc.o.d -o CMakeFiles/rgw_common.dir/services/svc_datalog_rados.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_datalog_rados.cc [ 22%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_mdlog.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/services/svc_mdlog.cc.o -MF CMakeFiles/rgw_common.dir/services/svc_mdlog.cc.o.d -o CMakeFiles/rgw_common.dir/services/svc_mdlog.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_mdlog.cc In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/common/ceph_crypto.h:10, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:24: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_service.h:12, from /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_bucket.h:20, from /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_bucket.cc:5: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/string:45, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_service.h:8: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying [ 41%] Building CXX object CMakeFiles/rocksdb.dir/table/block_builder.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/table/block_builder.cc.o -MF CMakeFiles/rocksdb.dir/table/block_builder.cc.o.d -o CMakeFiles/rocksdb.dir/table/block_builder.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/table/block_builder.cc [ 41%] Building CXX object CMakeFiles/rocksdb.dir/table/block_fetcher.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/table/block_fetcher.cc.o -MF CMakeFiles/rocksdb.dir/table/block_fetcher.cc.o.d -o CMakeFiles/rocksdb.dir/table/block_fetcher.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/table/block_fetcher.cc In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/common/ceph_crypto.h:10, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:24: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying [ 22%] Linking CXX static library ../../../lib/libgtest.a cd /build/ceph/src/ceph-15.2.14/build/src/googletest/googletest && /usr/bin/cmake -P CMakeFiles/gtest.dir/cmake_clean_target.cmake cd /build/ceph/src/ceph-15.2.14/build/src/googletest/googletest && /usr/bin/cmake -E cmake_link_script CMakeFiles/gtest.dir/link.txt --verbose=1 /usr/bin/ar qc ../../../lib/libgtest.a "CMakeFiles/gtest.dir/src/gtest-all.cc.o" /usr/bin/ranlib ../../../lib/libgtest.a make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying [ 22%] Built target gtest [ 44%] Building CXX object CMakeFiles/rocksdb.dir/table/block_prefix_index.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/table/block_prefix_index.cc.o -MF CMakeFiles/rocksdb.dir/table/block_prefix_index.cc.o.d -o CMakeFiles/rocksdb.dir/table/block_prefix_index.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/table/block_prefix_index.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying [ 44%] Building CXX object CMakeFiles/rocksdb.dir/table/bloom_block.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/table/bloom_block.cc.o -MF CMakeFiles/rocksdb.dir/table/bloom_block.cc.o.d -o CMakeFiles/rocksdb.dir/table/bloom_block.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/table/bloom_block.cc In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_service.h:12, from /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_bucket_sobj.h:20, from /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_bucket_sobj.cc:5: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/string:45, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_service.h:8: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 22%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_meta.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/services/svc_meta.cc.o -MF CMakeFiles/rgw_common.dir/services/svc_meta.cc.o.d -o CMakeFiles/rgw_common.dir/services/svc_meta.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_meta.cc [ 22%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_meta_be.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/services/svc_meta_be.cc.o -MF CMakeFiles/rgw_common.dir/services/svc_meta_be.cc.o.d -o CMakeFiles/rgw_common.dir/services/svc_meta_be.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_meta_be.cc [ 44%] Building CXX object CMakeFiles/rocksdb.dir/table/cuckoo_table_builder.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/table/cuckoo_table_builder.cc.o -MF CMakeFiles/rocksdb.dir/table/cuckoo_table_builder.cc.o.d -o CMakeFiles/rocksdb.dir/table/cuckoo_table_builder.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/table/cuckoo_table_builder.cc In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_service.h:12, from /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_bucket_sync_sobj.h:20, from /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_bucket_sync_sobj.cc:1: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/string:45, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_service.h:8: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 44%] Building CXX object CMakeFiles/rocksdb.dir/table/cuckoo_table_factory.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/table/cuckoo_table_factory.cc.o -MF CMakeFiles/rocksdb.dir/table/cuckoo_table_factory.cc.o.d -o CMakeFiles/rocksdb.dir/table/cuckoo_table_factory.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/table/cuckoo_table_factory.cc [ 22%] Linking CXX static library ../../../lib/libceph_immutable_object_cache_lib.a cd /build/ceph/src/ceph-15.2.14/build/src/tools/immutable_object_cache && /usr/bin/cmake -P CMakeFiles/ceph_immutable_object_cache_lib.dir/cmake_clean_target.cmake cd /build/ceph/src/ceph-15.2.14/build/src/tools/immutable_object_cache && /usr/bin/cmake -E cmake_link_script CMakeFiles/ceph_immutable_object_cache_lib.dir/link.txt --verbose=1 /usr/bin/ar qc ../../../lib/libceph_immutable_object_cache_lib.a CMakeFiles/ceph_immutable_object_cache_lib.dir/ObjectCacheStore.cc.o CMakeFiles/ceph_immutable_object_cache_lib.dir/CacheController.cc.o CMakeFiles/ceph_immutable_object_cache_lib.dir/CacheServer.cc.o CMakeFiles/ceph_immutable_object_cache_lib.dir/CacheClient.cc.o CMakeFiles/ceph_immutable_object_cache_lib.dir/CacheSession.cc.o CMakeFiles/ceph_immutable_object_cache_lib.dir/SimplePolicy.cc.o CMakeFiles/ceph_immutable_object_cache_lib.dir/Types.cc.o /usr/bin/ranlib ../../../lib/libceph_immutable_object_cache_lib.a make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_service.h:12, from /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_rados.h:6, from /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_config_key_rados.cc:2: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/string:45, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_service.h:8: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_service.h:12, from /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_cls.h:22, from /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_cls.cc:5: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/bits/stl_algobase.h:65, from /usr/include/c++/12.1.1/bits/stl_tree.h:63, from /usr/include/c++/12.1.1/set:60, from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:17, from /build/ceph/src/ceph-15.2.14/src/cls/otp/cls_otp_types.h:4, from /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_cls.h:19: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 22%] Built target ceph_immutable_object_cache_lib [ 44%] Building CXX object CMakeFiles/rocksdb.dir/table/cuckoo_table_reader.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/table/cuckoo_table_reader.cc.o -MF CMakeFiles/rocksdb.dir/table/cuckoo_table_reader.cc.o.d -o CMakeFiles/rocksdb.dir/table/cuckoo_table_reader.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/table/cuckoo_table_reader.cc [ 22%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_meta_be_otp.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/services/svc_meta_be_otp.cc.o -MF CMakeFiles/rgw_common.dir/services/svc_meta_be_otp.cc.o.d -o CMakeFiles/rgw_common.dir/services/svc_meta_be_otp.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_meta_be_otp.cc [ 44%] Building CXX object CMakeFiles/rocksdb.dir/table/data_block_hash_index.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/table/data_block_hash_index.cc.o -MF CMakeFiles/rocksdb.dir/table/data_block_hash_index.cc.o.d -o CMakeFiles/rocksdb.dir/table/data_block_hash_index.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/table/data_block_hash_index.cc [ 22%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_meta_be_sobj.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/services/svc_meta_be_sobj.cc.o -MF CMakeFiles/rgw_common.dir/services/svc_meta_be_sobj.cc.o.d -o CMakeFiles/rgw_common.dir/services/svc_meta_be_sobj.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_meta_be_sobj.cc In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/common/ceph_crypto.h:10, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:24: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, 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 /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/common/ceph_crypto.h:10, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:24: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_cache.h:70:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_service.h:12, from /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_datalog_rados.h:19, from /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_datalog_rados.cc:4: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/string:45, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_service.h:8: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 22%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_notify.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/services/svc_notify.cc.o -MF CMakeFiles/rgw_common.dir/services/svc_notify.cc.o.d -o CMakeFiles/rgw_common.dir/services/svc_notify.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_notify.cc In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/common/ceph_crypto.h:10, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:24: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_cache.h:70:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_cache.h:70:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying [ 22%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_otp.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/services/svc_otp.cc.o -MF CMakeFiles/rgw_common.dir/services/svc_otp.cc.o.d -o CMakeFiles/rgw_common.dir/services/svc_otp.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_otp.cc [ 44%] Building CXX object CMakeFiles/rocksdb.dir/table/data_block_footer.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/table/data_block_footer.cc.o -MF CMakeFiles/rocksdb.dir/table/data_block_footer.cc.o.d -o CMakeFiles/rocksdb.dir/table/data_block_footer.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/table/data_block_footer.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_cache.h:70:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_service.h:12, from /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_mdlog.h:19, from /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_mdlog.cc:4: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/string:45, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_service.h:8: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/common/ceph_crypto.h:10, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:24: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying [ 44%] Building CXX object CMakeFiles/rocksdb.dir/table/flush_block_policy.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/table/flush_block_policy.cc.o -MF CMakeFiles/rocksdb.dir/table/flush_block_policy.cc.o.d -o CMakeFiles/rocksdb.dir/table/flush_block_policy.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/table/flush_block_policy.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying [ 22%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_quota.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/services/svc_quota.cc.o -MF CMakeFiles/rgw_common.dir/services/svc_quota.cc.o.d -o CMakeFiles/rgw_common.dir/services/svc_quota.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_quota.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying [ 48%] Building CXX object CMakeFiles/rocksdb.dir/table/format.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/table/format.cc.o -MF CMakeFiles/rocksdb.dir/table/format.cc.o.d -o CMakeFiles/rocksdb.dir/table/format.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/table/format.cc [ 48%] Building CXX object CMakeFiles/rocksdb.dir/table/full_filter_block.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/table/full_filter_block.cc.o -MF CMakeFiles/rocksdb.dir/table/full_filter_block.cc.o.d -o CMakeFiles/rocksdb.dir/table/full_filter_block.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/table/full_filter_block.cc In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_service.h:12, from /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_meta_be.h:22, from /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_meta.h:19, from /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_meta.cc:5: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/variant:43, from /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_meta_be_params.h:21, from /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_meta_be.h:20: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_service.h:12, from /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_meta_be.h:22, from /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_meta_be.cc:5: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/variant:43, from /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_meta_be_params.h:21, from /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_meta_be.h:20: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/common/ceph_crypto.h:10, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:24: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying [ 48%] Building CXX object CMakeFiles/rocksdb.dir/table/get_context.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/table/get_context.cc.o -MF CMakeFiles/rocksdb.dir/table/get_context.cc.o.d -o CMakeFiles/rocksdb.dir/table/get_context.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/table/get_context.cc In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/common/ceph_crypto.h:10, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:24: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying [ 48%] Building CXX object CMakeFiles/rocksdb.dir/table/index_builder.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/table/index_builder.cc.o -MF CMakeFiles/rocksdb.dir/table/index_builder.cc.o.d -o CMakeFiles/rocksdb.dir/table/index_builder.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/table/index_builder.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/common/ceph_crypto.h:10, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:24: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying [ 23%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_sync_modules.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/services/svc_sync_modules.cc.o -MF CMakeFiles/rgw_common.dir/services/svc_sync_modules.cc.o.d -o CMakeFiles/rgw_common.dir/services/svc_sync_modules.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_sync_modules.cc In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_service.h:12, from /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_meta_be_otp.h:21, from /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_meta_be_otp.cc:4: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/string:45, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_service.h:8: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_service.h:12, from /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_meta_be_sobj.h:21, from /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_meta_be_sobj.cc:4: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/string:45, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_service.h:8: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 48%] Building CXX object CMakeFiles/rocksdb.dir/table/iterator.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/table/iterator.cc.o -MF CMakeFiles/rocksdb.dir/table/iterator.cc.o.d -o CMakeFiles/rocksdb.dir/table/iterator.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/table/iterator.cc In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_cache.h:16, from /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_notify.cc:8: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/string:45, from /usr/include/c++/12.1.1/stdexcept:39, from /usr/include/c++/12.1.1/system_error:41, from /usr/include/c++/12.1.1/mutex:41, from /build/ceph/src/ceph-15.2.14/src/include/random.h:18, from /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_notify.cc:4: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 23%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_rados.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/services/svc_rados.cc.o -MF CMakeFiles/rgw_common.dir/services/svc_rados.cc.o.d -o CMakeFiles/rgw_common.dir/services/svc_rados.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_rados.cc In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_service.h:12, from /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_otp.h:22, from /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_otp.cc:4: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/bits/stl_algobase.h:65, from /usr/include/c++/12.1.1/bits/stl_tree.h:63, from /usr/include/c++/12.1.1/set:60, from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:17, from /build/ceph/src/ceph-15.2.14/src/cls/otp/cls_otp_types.h:4, from /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_otp.h:20: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/common/ceph_crypto.h:10, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:24: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying [ 23%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_sys_obj.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/services/svc_sys_obj.cc.o -MF CMakeFiles/rgw_common.dir/services/svc_sys_obj.cc.o.d -o CMakeFiles/rgw_common.dir/services/svc_sys_obj.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_sys_obj.cc In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/common/ceph_crypto.h:10, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:24: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying [ 23%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_sys_obj_cache.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/services/svc_sys_obj_cache.cc.o -MF CMakeFiles/rgw_common.dir/services/svc_sys_obj_cache.cc.o.d -o CMakeFiles/rgw_common.dir/services/svc_sys_obj_cache.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_sys_obj_cache.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying [ 23%] Linking CXX static library ../../lib/libclient.a cd /build/ceph/src/ceph-15.2.14/build/src/client && /usr/bin/cmake -P CMakeFiles/client.dir/cmake_clean_target.cmake cd /build/ceph/src/ceph-15.2.14/build/src/client && /usr/bin/cmake -E cmake_link_script CMakeFiles/client.dir/link.txt --verbose=1 In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/msg/msg_types.h:23, from /build/ceph/src/ceph-15.2.14/src/common/ceph_context.h:33, from /build/ceph/src/ceph-15.2.14/src/common/dout.h:29, from /build/ceph/src/ceph-15.2.14/src/include/Context.h:19, from /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_notify.cc:5: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /usr/bin/ar qc ../../lib/libclient.a CMakeFiles/client.dir/Client.cc.o CMakeFiles/client.dir/Dentry.cc.o CMakeFiles/client.dir/Fh.cc.o CMakeFiles/client.dir/Inode.cc.o CMakeFiles/client.dir/MetaRequest.cc.o CMakeFiles/client.dir/ClientSnapRealm.cc.o CMakeFiles/client.dir/MetaSession.cc.o CMakeFiles/client.dir/Trace.cc.o CMakeFiles/client.dir/posix_acl.cc.o CMakeFiles/client.dir/Delegation.cc.o /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /usr/bin/ranlib ../../lib/libclient.a [ 48%] Building CXX object CMakeFiles/rocksdb.dir/table/merging_iterator.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/table/merging_iterator.cc.o -MF CMakeFiles/rocksdb.dir/table/merging_iterator.cc.o.d -o CMakeFiles/rocksdb.dir/table/merging_iterator.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/table/merging_iterator.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_cache.h:70:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' [ 23%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_sys_obj_core.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/services/svc_sys_obj_core.cc.o -MF CMakeFiles/rgw_common.dir/services/svc_sys_obj_core.cc.o.d -o CMakeFiles/rgw_common.dir/services/svc_sys_obj_core.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_sys_obj_core.cc [ 23%] Built target client [ 48%] Building CXX object CMakeFiles/rocksdb.dir/table/meta_blocks.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/table/meta_blocks.cc.o -MF CMakeFiles/rocksdb.dir/table/meta_blocks.cc.o.d -o CMakeFiles/rocksdb.dir/table/meta_blocks.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/table/meta_blocks.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_service.h:12, from /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_quota.h:6, from /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_quota.cc:4: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/string:45, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_service.h:8: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_cache.h:70:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying [ 51%] Building CXX object CMakeFiles/rocksdb.dir/table/partitioned_filter_block.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/table/partitioned_filter_block.cc.o -MF CMakeFiles/rocksdb.dir/table/partitioned_filter_block.cc.o.d -o CMakeFiles/rocksdb.dir/table/partitioned_filter_block.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/table/partitioned_filter_block.cc In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying [ 23%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_tier_rados.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/services/svc_tier_rados.cc.o -MF CMakeFiles/rgw_common.dir/services/svc_tier_rados.cc.o.d -o CMakeFiles/rgw_common.dir/services/svc_tier_rados.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_tier_rados.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/common/ceph_crypto.h:10, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:24: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying [ 51%] Building CXX object CMakeFiles/rocksdb.dir/table/persistent_cache_helper.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/table/persistent_cache_helper.cc.o -MF CMakeFiles/rocksdb.dir/table/persistent_cache_helper.cc.o.d -o CMakeFiles/rocksdb.dir/table/persistent_cache_helper.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/table/persistent_cache_helper.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying [ 51%] Building CXX object CMakeFiles/rocksdb.dir/table/plain_table_builder.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/table/plain_table_builder.cc.o -MF CMakeFiles/rocksdb.dir/table/plain_table_builder.cc.o.d -o CMakeFiles/rocksdb.dir/table/plain_table_builder.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/table/plain_table_builder.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying [ 23%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_user.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/services/svc_user.cc.o -MF CMakeFiles/rgw_common.dir/services/svc_user.cc.o.d -o CMakeFiles/rgw_common.dir/services/svc_user.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_user.cc [ 51%] Building CXX object CMakeFiles/rocksdb.dir/table/plain_table_factory.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/table/plain_table_factory.cc.o -MF CMakeFiles/rocksdb.dir/table/plain_table_factory.cc.o.d -o CMakeFiles/rocksdb.dir/table/plain_table_factory.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/table/plain_table_factory.cc In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_service.h:12, from /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_sync_modules.h:6, from /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_sync_modules.cc:4: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/string:45, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_service.h:8: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 51%] Building CXX object CMakeFiles/rocksdb.dir/table/plain_table_index.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/table/plain_table_index.cc.o -MF CMakeFiles/rocksdb.dir/table/plain_table_index.cc.o.d -o CMakeFiles/rocksdb.dir/table/plain_table_index.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/table/plain_table_index.cc [ 51%] Building CXX object CMakeFiles/rocksdb.dir/table/plain_table_key_coding.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/table/plain_table_key_coding.cc.o -MF CMakeFiles/rocksdb.dir/table/plain_table_key_coding.cc.o.d -o CMakeFiles/rocksdb.dir/table/plain_table_key_coding.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/table/plain_table_key_coding.cc [ 23%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_user_rados.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/services/svc_user_rados.cc.o -MF CMakeFiles/rgw_common.dir/services/svc_user_rados.cc.o.d -o CMakeFiles/rgw_common.dir/services/svc_user_rados.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_user_rados.cc [ 23%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_zone.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/services/svc_zone.cc.o -MF CMakeFiles/rgw_common.dir/services/svc_zone.cc.o.d -o CMakeFiles/rgw_common.dir/services/svc_zone.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_zone.cc [ 51%] Building CXX object CMakeFiles/rocksdb.dir/table/plain_table_reader.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/table/plain_table_reader.cc.o -MF CMakeFiles/rocksdb.dir/table/plain_table_reader.cc.o.d -o CMakeFiles/rocksdb.dir/table/plain_table_reader.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/table/plain_table_reader.cc [ 51%] Building CXX object CMakeFiles/rocksdb.dir/table/sst_file_reader.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/table/sst_file_reader.cc.o -MF CMakeFiles/rocksdb.dir/table/sst_file_reader.cc.o.d -o CMakeFiles/rocksdb.dir/table/sst_file_reader.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/table/sst_file_reader.cc In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_service.h:12, from /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_rados.h:6, from /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_rados.cc:4: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/string:45, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_service.h:8: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 23%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_zone_utils.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/services/svc_zone_utils.cc.o -MF CMakeFiles/rgw_common.dir/services/svc_zone_utils.cc.o.d -o CMakeFiles/rgw_common.dir/services/svc_zone_utils.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_zone_utils.cc In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_service.h:12, from /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_sys_obj_cache.h:6, from /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_sys_obj_cache.cc:7: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/string:45, from /usr/include/c++/12.1.1/stdexcept:39, from /usr/include/c++/12.1.1/system_error:41, from /usr/include/c++/12.1.1/bits/std_mutex.h:39, from /usr/include/c++/12.1.1/condition_variable:39, from /build/ceph/src/ceph-15.2.14/src/common/admin_socket.h:22, from /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_sys_obj_cache.cc:5: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 23%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_service.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_service.cc.o -MF CMakeFiles/rgw_common.dir/rgw_service.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_service.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_service.cc [ 55%] Building CXX object CMakeFiles/rocksdb.dir/table/sst_file_writer.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/table/sst_file_writer.cc.o -MF CMakeFiles/rocksdb.dir/table/sst_file_writer.cc.o.d -o CMakeFiles/rocksdb.dir/table/sst_file_writer.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/table/sst_file_writer.cc In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_service.h:12, from /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_sys_obj.h:8, from /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_sys_obj.cc:4: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/string:45, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_service.h:8: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/common/ceph_crypto.h:10, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:24: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:41, from /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_rados.cc:8: /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:45:32: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:109:38: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying [ 23%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_acl.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_acl.cc.o -MF CMakeFiles/rgw_common.dir/rgw_acl.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_acl.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.cc In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_service.h:12, from /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_sys_obj_core.h:6, from /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_sys_obj_core.cc:4: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/string:45, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_service.h:8: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/common/ceph_crypto.h:10, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:24: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, 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 /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_service.h:12, from /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_tier_rados.h:21, from /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_tier_rados.cc:4: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/string:45, from /usr/include/c++/12.1.1/bits/locale_classes.h:40, from /usr/include/c++/12.1.1/bits/ios_base.h:41, from /usr/include/c++/12.1.1/iomanip:40, from /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_tier_rados.h:19: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/common/ceph_crypto.h:10, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:24: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_cache.h:70:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/common/ceph_crypto.h:10, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:24: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_cache.h:70:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/common/ceph_crypto.h:10, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:24: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying [ 55%] Building CXX object CMakeFiles/rocksdb.dir/table/table_properties.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/table/table_properties.cc.o -MF CMakeFiles/rocksdb.dir/table/table_properties.cc.o.d -o CMakeFiles/rocksdb.dir/table/table_properties.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/table/table_properties.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying [ 55%] Building CXX object CMakeFiles/rocksdb.dir/table/two_level_iterator.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/table/two_level_iterator.cc.o -MF CMakeFiles/rocksdb.dir/table/two_level_iterator.cc.o.d -o CMakeFiles/rocksdb.dir/table/two_level_iterator.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/table/two_level_iterator.cc [ 55%] Building CXX object CMakeFiles/rocksdb.dir/tools/db_bench_tool.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/tools/db_bench_tool.cc.o -MF CMakeFiles/rocksdb.dir/tools/db_bench_tool.cc.o.d -o CMakeFiles/rocksdb.dir/tools/db_bench_tool.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/tools/db_bench_tool.cc [ 23%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_acl_s3.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_acl_s3.cc.o -MF CMakeFiles/rgw_common.dir/rgw_acl_s3.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_acl_s3.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl_s3.cc In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_service.h:12, from /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_meta_be.h:22, from /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_user.h:20, from /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_user.cc:5: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/variant:43, from /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_meta_be_params.h:21, from /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_meta_be.h:20: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 23%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_acl_swift.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_acl_swift.cc.o -MF CMakeFiles/rgw_common.dir/rgw_acl_swift.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_acl_swift.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl_swift.cc In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/common/ceph_crypto.h:10, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:24: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/CompatSet.h:85:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:3809:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&’ {aka ‘const std::pair, std::optional >&’} binds to a temporary constructed from type ‘const std::pair, std::optional >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T’ {aka ‘const std::pair, std::optional >’} to make the copy explicit or ‘const std::pair, std::optional >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/common/ceph_crypto.h:10, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:24: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying [ 55%] Building CXX object CMakeFiles/rocksdb.dir/tools/dump/db_dump_tool.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/tools/dump/db_dump_tool.cc.o -MF CMakeFiles/rocksdb.dir/tools/dump/db_dump_tool.cc.o.d -o CMakeFiles/rocksdb.dir/tools/dump/db_dump_tool.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/tools/dump/db_dump_tool.cc [ 23%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_aio.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_aio.cc.o -MF CMakeFiles/rgw_common.dir/rgw_aio.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_aio.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_aio.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying [ 55%] Building CXX object CMakeFiles/rocksdb.dir/tools/ldb_cmd.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/tools/ldb_cmd.cc.o -MF CMakeFiles/rocksdb.dir/tools/ldb_cmd.cc.o.d -o CMakeFiles/rocksdb.dir/tools/ldb_cmd.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/tools/ldb_cmd.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/CompatSet.h:85:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:3809:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&’ {aka ‘const std::pair, std::optional >&’} binds to a temporary constructed from type ‘const std::pair, std::optional >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T’ {aka ‘const std::pair, std::optional >’} to make the copy explicit or ‘const std::pair, std::optional >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_service.h:12, from /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_meta_be.h:22, from /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_user.h:20, from /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_user_rados.cc:6: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/string:45, from /usr/include/boost/algorithm/string/std/string_traits.hpp:15, from /usr/include/boost/algorithm/string/std_containers_traits.hpp:19, from /usr/include/boost/algorithm/string.hpp:18, from /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_user_rados.cc:4: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 23%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_aio_throttle.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_aio_throttle.cc.o -MF CMakeFiles/rgw_common.dir/rgw_aio_throttle.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_aio_throttle.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_aio_throttle.cc In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_service.h:12, from /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_zone.h:6, from /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_zone.cc:4: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/string:45, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_service.h:8: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_service.h:12, from /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_zone_utils.h:6, from /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_zone_utils.cc:4: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/string:45, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_service.h:8: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:906:11: required from ‘static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1005:15: required from ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned 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 /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_service.h:12, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_service.cc:4: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/string:45, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_service.h:8: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 55%] Building CXX object CMakeFiles/rocksdb.dir/tools/ldb_tool.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/tools/ldb_tool.cc.o -MF CMakeFiles/rocksdb.dir/tools/ldb_tool.cc.o.d -o CMakeFiles/rocksdb.dir/tools/ldb_tool.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/tools/ldb_tool.cc [ 23%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_auth.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_auth.cc.o -MF CMakeFiles/rgw_common.dir/rgw_auth.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_auth.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_auth.cc In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_aio.cc:17: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/string:45, from /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:4: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_user.h:12, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.cc:14: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/string:45, from /usr/include/c++/12.1.1/bits/locale_classes.h:40, from /usr/include/c++/12.1.1/bits/ios_base.h:41, from /usr/include/c++/12.1.1/ios:42, from /usr/include/c++/12.1.1/ostream:38, from /usr/include/c++/12.1.1/iostream:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.cc:6: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 58%] Building CXX object CMakeFiles/rocksdb.dir/tools/sst_dump_tool.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/tools/sst_dump_tool.cc.o -MF CMakeFiles/rocksdb.dir/tools/sst_dump_tool.cc.o.d -o CMakeFiles/rocksdb.dir/tools/sst_dump_tool.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/tools/sst_dump_tool.cc [ 23%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_auth_s3.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_auth_s3.cc.o -MF CMakeFiles/rgw_common.dir/rgw_auth_s3.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_auth_s3.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_auth_s3.cc In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/common/ceph_crypto.h:10, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:24: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, 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 /build/ceph/src/ceph-15.2.14/src/rgw/rgw_aio_throttle.cc:16: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/string:45, from /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:4: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.cc:9: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, 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 /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/common/ceph_crypto.h:10, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:24: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_cache.h:70:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying [ 58%] Building CXX object CMakeFiles/rocksdb.dir/tools/trace_analyzer_tool.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/tools/trace_analyzer_tool.cc.o -MF CMakeFiles/rocksdb.dir/tools/trace_analyzer_tool.cc.o.d -o CMakeFiles/rocksdb.dir/tools/trace_analyzer_tool.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/tools/trace_analyzer_tool.cc [ 58%] Building CXX object CMakeFiles/rocksdb.dir/util/arena.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/util/arena.cc.o -MF CMakeFiles/rocksdb.dir/util/arena.cc.o.d -o CMakeFiles/rocksdb.dir/util/arena.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/util/arena.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_cache.h:70:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/common/ceph_crypto.h:10, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:24: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/common/ceph_crypto.h:10, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:24: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_zone.cc:1179:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_cache.h:70:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying [ 58%] Building CXX object CMakeFiles/rocksdb.dir/util/auto_roll_logger.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/util/auto_roll_logger.cc.o -MF CMakeFiles/rocksdb.dir/util/auto_roll_logger.cc.o.d -o CMakeFiles/rocksdb.dir/util/auto_roll_logger.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/util/auto_roll_logger.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_user.h:12, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl_s3.cc:12: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/string:45, from /usr/include/c++/12.1.1/bits/locale_classes.h:40, from /usr/include/c++/12.1.1/bits/ios_base.h:41, from /usr/include/c++/12.1.1/ios:42, from /usr/include/c++/12.1.1/ostream:38, from /usr/include/c++/12.1.1/iostream:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl_s3.cc:6: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl_swift.cc:11: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/bits/stl_algobase.h:65, from /usr/include/c++/12.1.1/vector:60, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl_swift.cc:6: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_zone.cc:1179:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_cache.h:70:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying [ 23%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_arn.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_arn.cc.o -MF CMakeFiles/rgw_common.dir/rgw_arn.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_arn.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_arn.cc [ 58%] Building CXX object CMakeFiles/rocksdb.dir/util/bloom.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/util/bloom.cc.o -MF CMakeFiles/rocksdb.dir/util/bloom.cc.o.d -o CMakeFiles/rocksdb.dir/util/bloom.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/util/bloom.cc In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl_s3.cc:9: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, 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 /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/common/ceph_json.h:6, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl_swift.cc:10: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying [ 23%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_basic_types.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_basic_types.cc.o -MF CMakeFiles/rgw_common.dir/rgw_basic_types.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_basic_types.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_basic_types.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying [ 23%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_bucket.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_bucket.cc.o -MF CMakeFiles/rgw_common.dir/rgw_bucket.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_bucket.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_bucket.cc [ 24%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_bucket_sync.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_bucket_sync.cc.o -MF CMakeFiles/rgw_common.dir/rgw_bucket_sync.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_bucket_sync.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_bucket_sync.cc In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/common/ceph_crypto.h:10, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:24, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_service.h:12, from /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_rados.h:6, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_aio.h:26, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_aio.cc:20: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying [ 24%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_cache.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_cache.cc.o -MF CMakeFiles/rgw_common.dir/rgw_cache.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_cache.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_cache.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_auth.cc:7: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/bits/stl_algobase.h:65, from /usr/include/c++/12.1.1/array:43, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_auth.cc:4: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_op.h:35, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rest_s3.h:14, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_auth_s3.cc:12: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/bits/stl_algobase.h:65, from /usr/include/c++/12.1.1/algorithm:60, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_auth_s3.cc:4: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 24%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_common.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_common.cc.o -MF CMakeFiles/rgw_common.dir/rgw_common.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_common.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.cc In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/common/ceph_crypto.h:10, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:24, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_service.h:12, from /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_rados.h:6, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_aio_throttle.h:23, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_aio_throttle.cc:18: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying [ 24%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_compression.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_compression.cc.o -MF CMakeFiles/rgw_common.dir/rgw_compression.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_compression.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_compression.cc [ 24%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_etag_verifier.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_etag_verifier.cc.o -MF CMakeFiles/rgw_common.dir/rgw_etag_verifier.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_etag_verifier.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_etag_verifier.cc In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rados.h:10, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_bucket.cc:17: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/string:45, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_bucket.cc:6: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_arn.cc:5: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/string:45, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_arn.h:5, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_arn.cc:4: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/common/ceph_crypto.h:10, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:24: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying [ 58%] Building CXX object CMakeFiles/rocksdb.dir/util/coding.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/util/coding.cc.o -MF CMakeFiles/rocksdb.dir/util/coding.cc.o.d -o CMakeFiles/rocksdb.dir/util/coding.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/util/coding.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying [ 24%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_cors.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_cors.cc.o -MF CMakeFiles/rgw_common.dir/rgw_cors.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_cors.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_cors.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying [ 24%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_cors_s3.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_cors_s3.cc.o -MF CMakeFiles/rgw_common.dir/rgw_cors_s3.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_cors_s3.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_cors_s3.cc In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/common/ceph_crypto.h:10, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:24: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying [ 24%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_dencoder.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_dencoder.cc.o -MF CMakeFiles/rgw_common.dir/rgw_dencoder.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_dencoder.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_dencoder.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/common/sstring.hh:33, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rest_s3.h:13: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying [ 58%] Building CXX object CMakeFiles/rocksdb.dir/util/compaction_job_stats_impl.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/util/compaction_job_stats_impl.cc.o -MF CMakeFiles/rocksdb.dir/util/compaction_job_stats_impl.cc.o.d -o CMakeFiles/rocksdb.dir/util/compaction_job_stats_impl.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/util/compaction_job_stats_impl.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_role.h:105:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying [ 58%] Building CXX object CMakeFiles/rocksdb.dir/util/comparator.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/util/comparator.cc.o -MF CMakeFiles/rocksdb.dir/util/comparator.cc.o.d -o CMakeFiles/rocksdb.dir/util/comparator.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/util/comparator.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_role.h:105:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying [ 62%] Building CXX object CMakeFiles/rocksdb.dir/util/compression_context_cache.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/util/compression_context_cache.cc.o -MF CMakeFiles/rocksdb.dir/util/compression_context_cache.cc.o.d -o CMakeFiles/rocksdb.dir/util/compression_context_cache.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/util/compression_context_cache.cc In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_bucket_sync.cc:3: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/bits/stl_algobase.h:65, from /usr/include/c++/12.1.1/array:43, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:20: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_cache.h:16, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_cache.cc:4: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/string:45, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_cache.h:7: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 24%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_env.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_env.cc.o -MF CMakeFiles/rgw_common.dir/rgw_env.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_env.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_env.cc [ 24%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_es_query.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_es_query.cc.o -MF CMakeFiles/rgw_common.dir/rgw_es_query.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_es_query.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_es_query.cc In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_cache.h:10: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying [ 62%] Building CXX object CMakeFiles/rocksdb.dir/util/concurrent_arena.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/util/concurrent_arena.cc.o -MF CMakeFiles/rocksdb.dir/util/concurrent_arena.cc.o.d -o CMakeFiles/rocksdb.dir/util/concurrent_arena.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/util/concurrent_arena.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_cache.h:70:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_op.h:35, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.cc:13: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/bits/stl_algobase.h:65, from /usr/include/c++/12.1.1/vector:60, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.cc:5: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_cache.h:70:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying [ 62%] Building CXX object CMakeFiles/rocksdb.dir/util/concurrent_task_limiter_impl.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/util/concurrent_task_limiter_impl.cc.o -MF CMakeFiles/rocksdb.dir/util/concurrent_task_limiter_impl.cc.o.d -o CMakeFiles/rocksdb.dir/util/concurrent_task_limiter_impl.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/util/concurrent_task_limiter_impl.cc [ 62%] Building CXX object CMakeFiles/rocksdb.dir/util/crc32c.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/util/crc32c.cc.o -MF CMakeFiles/rocksdb.dir/util/crc32c.cc.o.d -o CMakeFiles/rocksdb.dir/util/crc32c.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/util/crc32c.cc In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_op.h:35, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_compression.h:11, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_compression.cc:4: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/bits/stl_algobase.h:65, from /usr/include/c++/12.1.1/vector:60, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_compression.h:7: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_op.h:35, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_etag_verifier.h:19, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_etag_verifier.cc:4: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/string:45, from /usr/include/c++/12.1.1/bits/locale_classes.h:40, from /usr/include/c++/12.1.1/bits/ios_base.h:41, from /usr/include/c++/12.1.1/iomanip:40, from /build/ceph/src/ceph-15.2.14/src/include/buffer.h:42, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_putobj.h:18, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_etag_verifier.h:18: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/common/ceph_crypto.h:10, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:24: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying [ 62%] Building CXX object CMakeFiles/rocksdb.dir/util/delete_scheduler.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/util/delete_scheduler.cc.o -MF CMakeFiles/rocksdb.dir/util/delete_scheduler.cc.o.d -o CMakeFiles/rocksdb.dir/util/delete_scheduler.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/util/delete_scheduler.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying [ 24%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_formats.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_formats.cc.o -MF CMakeFiles/rgw_common.dir/rgw_formats.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_formats.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_formats.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying [ 62%] Building CXX object CMakeFiles/rocksdb.dir/util/dynamic_bloom.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/util/dynamic_bloom.cc.o -MF CMakeFiles/rocksdb.dir/util/dynamic_bloom.cc.o.d -o CMakeFiles/rocksdb.dir/util/dynamic_bloom.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/util/dynamic_bloom.cc In file included from /usr/include/string.h:535, from /usr/include/c++/12.1.1/cstring:42, from /usr/include/boost/assert/source_location.hpp:17, from /usr/include/boost/exception/exception.hpp:9, from /usr/include/boost/throw_exception.hpp:21, from /usr/include/boost/utility/string_view.hpp:25, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rest_s3.h:10: In function ‘void* memcpy(void*, const void*, size_t)’, inlined from ‘void* maybe_inline_memcpy(void*, const void*, size_t, size_t)’ at /build/ceph/src/ceph-15.2.14/src/include/inline_memory.h:28:18, inlined from ‘std::streamsize StackStringBuf::xsputn(const char*, std::streamsize) [with long unsigned int SIZE = 4096]’ at /build/ceph/src/ceph-15.2.14/src/common/StackStringStream.h:65:26, inlined from ‘std::streamsize std::basic_streambuf<_CharT, _Traits>::sputn(const char_type*, std::streamsize) [with _CharT = char; _Traits = std::char_traits]’ at /usr/include/c++/12.1.1/streambuf:456:28, inlined from ‘bool boost::io::detail::buffer_fill(std::basic_streambuf<_CharT, _Traits>&, charT, std::size_t) [with charT = char; traits = std::char_traits]’ at /usr/include/boost/io/detail/buffer_fill.hpp:28:47: /usr/include/bits/string_fortified.h:29:33: warning: ‘void* __builtin_memcpy(void*, const void*, long unsigned int)’ specified bound between 9223372036854775808 and 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/common/ceph_json.h:6, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_bucket.cc:14: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, 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 /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_user.h:12, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_cors_s3.cc:25: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/string:45, from /usr/include/c++/12.1.1/bits/locale_classes.h:40, from /usr/include/c++/12.1.1/bits/ios_base.h:41, from /usr/include/c++/12.1.1/ios:42, from /usr/include/c++/12.1.1/ostream:38, from /usr/include/c++/12.1.1/iostream:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_cors_s3.cc:19: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_dencoder.cc:4: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/bits/stl_algobase.h:65, from /usr/include/c++/12.1.1/array:43, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:20: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 62%] Building CXX object CMakeFiles/rocksdb.dir/util/event_logger.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/util/event_logger.cc.o -MF CMakeFiles/rocksdb.dir/util/event_logger.cc.o.d -o CMakeFiles/rocksdb.dir/util/event_logger.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/util/event_logger.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/common/ceph_json.h:6, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.cc:11: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying [ 24%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_gc.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_gc.cc.o -MF CMakeFiles/rgw_common.dir/rgw_gc.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_gc.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_gc.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_cors_s3.cc:22: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying [ 24%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_gc_log.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_gc_log.cc.o -MF CMakeFiles/rgw_common.dir/rgw_gc_log.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_gc_log.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_gc_log.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying In static member function ‘static _Tp* std::__copy_move<_IsMove, true, std::random_access_iterator_tag>::__copy_m(const _Tp*, const _Tp*, _Tp*) [with _Tp = char; bool _IsMove = false]’, inlined from ‘_OI std::__copy_move_a2(_II, _II, _OI) [with bool _IsMove = false; _II = const char*; _OI = char*]’ at /usr/include/c++/12.1.1/bits/stl_algobase.h:495:30, inlined from ‘_OI std::__copy_move_a1(_II, _II, _OI) [with bool _IsMove = false; _II = const char*; _OI = char*]’ at /usr/include/c++/12.1.1/bits/stl_algobase.h:522:42, inlined from ‘_OI std::__copy_move_a(_II, _II, _OI) [with bool _IsMove = false; _II = const char*; _OI = char*]’ at /usr/include/c++/12.1.1/bits/stl_algobase.h:529:31, inlined from ‘_OI std::copy(_II, _II, _OI) [with _II = const char*; _OI = char*]’ at /usr/include/c++/12.1.1/bits/stl_algobase.h:620:7, inlined from ‘basic_sstring::basic_sstring(const char_type*, size_t) [with char_type = char; Size = short unsigned int; Size max_size = 65]’ at /build/ceph/src/ceph-15.2.14/src/common/sstring.hh:210:22, inlined from ‘rgw::auth::s3::AWSEngine::VersionAbstractor::server_signature_t rgw::auth::s3::get_v2_signature(ceph::common::CephContext*, const std::string&, const AWSEngine::VersionAbstractor::string_to_sign_t&)’ at /build/ceph/src/ceph-15.2.14/src/rgw/rgw_auth_s3.cc:812:36: /usr/include/c++/12.1.1/bits/stl_algobase.h:431:30: warning: ‘void* __builtin_memcpy(void*, const void*, long unsigned int)’ forming offset 64 is out of the bounds [0, 64] of object ‘buf’ with type ‘char [64]’ [-Warray-bounds] 431 | __builtin_memmove(__result, __first, sizeof(_Tp) * _Num); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_auth_s3.cc: In function ‘rgw::auth::s3::AWSEngine::VersionAbstractor::server_signature_t rgw::auth::s3::get_v2_signature(ceph::common::CephContext*, const std::string&, const AWSEngine::VersionAbstractor::string_to_sign_t&)’: /build/ceph/src/ceph-15.2.14/src/rgw/rgw_auth_s3.cc:801:8: note: ‘buf’ declared here 801 | char buf[64]; | ^~~ /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/rgw/rgw_etag_verifier.cc: In member function ‘virtual int rgw::putobj::ETagVerifier_MPU::process(ceph::bufferlist&&, uint64_t)’: /build/ceph/src/ceph-15.2.14/src/rgw/rgw_etag_verifier.cc:130:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 130 | if (next_part_index == part_ofs.size()) { | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_etag_verifier.cc:148:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 148 | if (next_part_index == part_ofs.size()) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_env.cc:4: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/bits/stl_algobase.h:65, from /usr/include/c++/12.1.1/array:43, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:20: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_es_query.cc:11: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/bits/stl_algobase.h:65, from /usr/include/c++/12.1.1/list:60, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_es_query.cc:4: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 24%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_http_client.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_http_client.cc.o -MF CMakeFiles/rgw_common.dir/rgw_http_client.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_http_client.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_http_client.cc [ 24%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_json_enc.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_json_enc.cc.o -MF CMakeFiles/rgw_common.dir/rgw_json_enc.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_json_enc.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_json_enc.cc In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/common/ceph_json.h:6, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_op.h:32: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, 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 /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/common/ceph_json.h:6, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_op.h:32: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying [ 65%] Building CXX object CMakeFiles/rocksdb.dir/util/file_reader_writer.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/util/file_reader_writer.cc.o -MF CMakeFiles/rocksdb.dir/util/file_reader_writer.cc.o.d -o CMakeFiles/rocksdb.dir/util/file_reader_writer.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/util/file_reader_writer.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/common/ceph_crypto.h:10, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:24: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_gc_log.h:6, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_gc_log.cc:4: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/string:45, from /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:4: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/common/ceph_json.h:6, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_es_query.cc:10: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/common/ceph_crypto.h:10, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:24: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_cache.h:70:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_cache.h:70:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_gc.h:9, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_gc.cc:4: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/bits/stl_algobase.h:65, from /usr/include/c++/12.1.1/bits/stl_tree.h:63, from /usr/include/c++/12.1.1/set:60, from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:17, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_gc.h:8: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 65%] Building CXX object CMakeFiles/rocksdb.dir/util/file_util.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/util/file_util.cc.o -MF CMakeFiles/rocksdb.dir/util/file_util.cc.o.d -o CMakeFiles/rocksdb.dir/util/file_util.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/util/file_util.cc In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_basic_types.h:9, from /build/ceph/src/ceph-15.2.14/src/cls/rgw/cls_rgw_types.h:11, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_gc_log.h:7: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/cls/rgw/cls_rgw_ops.h:1229:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/cls/rgw/cls_rgw_ops.h:1229:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying [ 24%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_keystone.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_keystone.cc.o -MF CMakeFiles/rgw_common.dir/rgw_keystone.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_keystone.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_keystone.cc In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_formats.cc:20: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/bits/stl_algobase.h:65, from /usr/include/c++/12.1.1/vector:60, from /usr/include/boost/format.hpp:17, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_formats.cc:16: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 24%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_ldap.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_ldap.cc.o -MF CMakeFiles/rgw_common.dir/rgw_ldap.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_ldap.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_ldap.cc [ 24%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_lc.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_lc.cc.o -MF CMakeFiles/rgw_common.dir/rgw_lc.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_lc.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_lc.cc [ 24%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_lc_s3.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_lc_s3.cc.o -MF CMakeFiles/rgw_common.dir/rgw_lc_s3.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_lc_s3.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_lc_s3.cc [ 24%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_metadata.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_metadata.cc.o -MF CMakeFiles/rgw_common.dir/rgw_metadata.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_metadata.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_metadata.cc /build/ceph/src/ceph-15.2.14/src/rgw/rgw_etag_verifier.cc: In member function ‘virtual void rgw::putobj::ETagVerifier_MPU::calculate_etag()’: /build/ceph/src/ceph-15.2.14/src/rgw/rgw_etag_verifier.cc:179:14: warning: ‘%lld’ directive output may be truncated writing between 1 and 20 bytes into a region of size 15 [-Wformat-truncation=] 179 | "-%lld", (long long)(part_ofs.size())); | ^~~~ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_etag_verifier.cc:179:12: note: directive argument in the range [-1152921504606846976, 1152921504606846975] 179 | "-%lld", (long long)(part_ofs.size())); | ^~~~~~~ In file included from /usr/include/stdio.h:906, from /build/ceph/src/ceph-15.2.14/src/include/buffer.h:26: In function ‘int snprintf(char*, size_t, const char*, ...)’, inlined from ‘virtual void rgw::putobj::ETagVerifier_MPU::calculate_etag()’ at /build/ceph/src/ceph-15.2.14/src/rgw/rgw_etag_verifier.cc:177:11: /usr/include/bits/stdio2.h:54:35: note: ‘__builtin___snprintf_chk’ output between 3 and 22 bytes into a destination of size 16 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ [ 24%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_multi.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_multi.cc.o -MF CMakeFiles/rgw_common.dir/rgw_multi.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_multi.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_multi.cc [ 65%] Building CXX object CMakeFiles/rocksdb.dir/util/filename.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/util/filename.cc.o -MF CMakeFiles/rocksdb.dir/util/filename.cc.o.d -o CMakeFiles/rocksdb.dir/util/filename.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/util/filename.cc [ 25%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_multi_del.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_multi_del.cc.o -MF CMakeFiles/rgw_common.dir/rgw_multi_del.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_multi_del.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_multi_del.cc In file included from /build/ceph/src/ceph-15.2.14/src/cls/rgw/cls_rgw_client.h:8, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_lc.cc:21: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/string:45, from /usr/include/c++/12.1.1/bits/locale_classes.h:40, from /usr/include/c++/12.1.1/bits/ios_base.h:41, from /usr/include/c++/12.1.1/ios:42, from /usr/include/c++/12.1.1/ostream:38, from /usr/include/c++/12.1.1/iostream:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_lc.cc:5: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_json_enc.cc:4: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/bits/stl_algobase.h:65, from /usr/include/c++/12.1.1/array:43, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:20: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_http_client.cc:13: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/string:45, from /build/ceph/src/ceph-15.2.14/src/common/errno.h:4, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_http_client.cc:5: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/common/ceph_crypto.h:10, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:24: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying [ 65%] Building CXX object CMakeFiles/rocksdb.dir/util/filter_policy.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/util/filter_policy.cc.o -MF CMakeFiles/rocksdb.dir/util/filter_policy.cc.o.d -o CMakeFiles/rocksdb.dir/util/filter_policy.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/util/filter_policy.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying [ 65%] Building CXX object CMakeFiles/rocksdb.dir/util/hash.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/util/hash.cc.o -MF CMakeFiles/rocksdb.dir/util/hash.cc.o.d -o CMakeFiles/rocksdb.dir/util/hash.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/util/hash.cc In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/common/ceph_crypto.h:10, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:24: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying [ 65%] Building CXX object CMakeFiles/rocksdb.dir/util/jemalloc_nodump_allocator.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/util/jemalloc_nodump_allocator.cc.o -MF CMakeFiles/rocksdb.dir/util/jemalloc_nodump_allocator.cc.o.d -o CMakeFiles/rocksdb.dir/util/jemalloc_nodump_allocator.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/util/jemalloc_nodump_allocator.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying [ 25%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_obj_manifest.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_obj_manifest.cc.o -MF CMakeFiles/rgw_common.dir/rgw_obj_manifest.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_obj_manifest.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_obj_manifest.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_keystone.cc:16: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/iterator:61, from /usr/include/boost/algorithm/string/predicate.hpp:14, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_keystone.cc:7: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying [ 65%] Building CXX object CMakeFiles/rocksdb.dir/util/log_buffer.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/util/log_buffer.cc.o -MF CMakeFiles/rocksdb.dir/util/log_buffer.cc.o.d -o CMakeFiles/rocksdb.dir/util/log_buffer.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/util/log_buffer.cc [ 65%] Building CXX object CMakeFiles/rocksdb.dir/util/murmurhash.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/util/murmurhash.cc.o -MF CMakeFiles/rocksdb.dir/util/murmurhash.cc.o.d -o CMakeFiles/rocksdb.dir/util/murmurhash.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/util/murmurhash.cc [ 25%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_pubsub.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_pubsub.cc.o -MF CMakeFiles/rgw_common.dir/rgw_pubsub.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_pubsub.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_pubsub.cc [ 68%] Building CXX object CMakeFiles/rocksdb.dir/util/random.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/util/random.cc.o -MF CMakeFiles/rocksdb.dir/util/random.cc.o.d -o CMakeFiles/rocksdb.dir/util/random.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/util/random.cc In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/common/ceph_json.h:6, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_keystone.cc:12: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying [ 25%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_sync.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_sync.cc.o -MF CMakeFiles/rgw_common.dir/rgw_sync.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_sync.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_sync.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying [ 68%] Building CXX object CMakeFiles/rocksdb.dir/util/rate_limiter.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/util/rate_limiter.cc.o -MF CMakeFiles/rocksdb.dir/util/rate_limiter.cc.o.d -o CMakeFiles/rocksdb.dir/util/rate_limiter.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/util/rate_limiter.cc In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/common/ceph_crypto.h:10, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:24: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_cache.h:70:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_metadata.h:12, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_metadata.cc:7: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/bits/stl_construct.h:61, from /usr/include/c++/12.1.1/bits/alloc_traits.h:33, from /usr/include/c++/12.1.1/ext/alloc_traits.h:34, from /usr/include/c++/12.1.1/unordered_map:41, from /usr/include/c++/12.1.1/functional:61, from /usr/include/boost/config/no_tr1/functional.hpp:21, from /usr/include/boost/smart_ptr/intrusive_ptr.hpp:24, from /usr/include/boost/intrusive_ptr.hpp:16, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_metadata.cc:4: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_user.h:12, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_lc_s3.cc:11: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/string:45, from /usr/include/c++/12.1.1/bits/locale_classes.h:40, from /usr/include/c++/12.1.1/bits/ios_base.h:41, from /usr/include/c++/12.1.1/ios:42, from /usr/include/c++/12.1.1/ostream:38, from /usr/include/c++/12.1.1/iostream:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_lc_s3.cc:6: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_cache.h:70:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_obj_manifest.h:18, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_multi.h:9, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_multi.cc:12: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/string:45, from /usr/include/c++/12.1.1/bits/locale_classes.h:40, from /usr/include/c++/12.1.1/bits/ios_base.h:41, from /usr/include/c++/12.1.1/ios:42, from /usr/include/c++/12.1.1/ostream:38, from /usr/include/c++/12.1.1/iostream:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_multi.cc:6: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 68%] Building CXX object CMakeFiles/rocksdb.dir/util/slice.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/util/slice.cc.o -MF CMakeFiles/rocksdb.dir/util/slice.cc.o.d -o CMakeFiles/rocksdb.dir/util/slice.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/util/slice.cc In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_multi_del.h:9, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_multi_del.cc:11: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/string:45, from /usr/include/c++/12.1.1/bits/locale_classes.h:40, from /usr/include/c++/12.1.1/bits/ios_base.h:41, from /usr/include/c++/12.1.1/ios:42, from /usr/include/c++/12.1.1/ostream:38, from /usr/include/c++/12.1.1/iostream:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_multi_del.cc:6: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 68%] Building CXX object CMakeFiles/rocksdb.dir/util/sst_file_manager_impl.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/util/sst_file_manager_impl.cc.o -MF CMakeFiles/rocksdb.dir/util/sst_file_manager_impl.cc.o.d -o CMakeFiles/rocksdb.dir/util/sst_file_manager_impl.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/util/sst_file_manager_impl.cc [ 25%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_data_sync.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_data_sync.cc.o -MF CMakeFiles/rgw_common.dir/rgw_data_sync.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_data_sync.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_data_sync.cc In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_multi_del.cc:8: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying [ 25%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_sync_counters.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_sync_counters.cc.o -MF CMakeFiles/rgw_common.dir/rgw_sync_counters.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_sync_counters.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_sync_counters.cc [ 68%] Building CXX object CMakeFiles/rocksdb.dir/util/status.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/util/status.cc.o -MF CMakeFiles/rocksdb.dir/util/status.cc.o.d -o CMakeFiles/rocksdb.dir/util/status.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/util/status.cc [ 68%] Building CXX object CMakeFiles/rocksdb.dir/util/string_util.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/util/string_util.cc.o -MF CMakeFiles/rocksdb.dir/util/string_util.cc.o.d -o CMakeFiles/rocksdb.dir/util/string_util.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/util/string_util.cc In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_basic_types.h:9, from /build/ceph/src/ceph-15.2.14/src/cls/rgw/cls_rgw_types.h:11, from /build/ceph/src/ceph-15.2.14/src/cls/rgw/cls_rgw_ops.h:7, from /build/ceph/src/ceph-15.2.14/src/cls/rgw/cls_rgw_client.h:9: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/cls/rgw/cls_rgw_ops.h:1229:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_lc_s3.cc:9: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying [ 25%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_sync_module.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_sync_module.cc.o -MF CMakeFiles/rgw_common.dir/rgw_sync_module.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_sync_module.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_sync_module.cc In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/common/ceph_json.h:6, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_metadata.cc:5: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, 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 /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_obj_manifest.h:18, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_obj_manifest.cc:4: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/bits/stl_algobase.h:65, from /usr/include/c++/12.1.1/array:43, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:20: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/cls/rgw/cls_rgw_ops.h:1229:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying [ 68%] Building CXX object CMakeFiles/rocksdb.dir/util/sync_point.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/util/sync_point.cc.o -MF CMakeFiles/rocksdb.dir/util/sync_point.cc.o.d -o CMakeFiles/rocksdb.dir/util/sync_point.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/util/sync_point.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_multi.cc:9: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying [ 25%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_sync_module_aws.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_sync_module_aws.cc.o -MF CMakeFiles/rgw_common.dir/rgw_sync_module_aws.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_sync_module_aws.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_sync_module_aws.cc [ 72%] Building CXX object CMakeFiles/rocksdb.dir/util/sync_point_impl.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/util/sync_point_impl.cc.o -MF CMakeFiles/rocksdb.dir/util/sync_point_impl.cc.o.d -o CMakeFiles/rocksdb.dir/util/sync_point_impl.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/util/sync_point_impl.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_service.h:12, from /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_zone.h:6, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_pubsub.cc:4: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/string:45, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_service.h:8: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 25%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_sync_module_es.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_sync_module_es.cc.o -MF CMakeFiles/rgw_common.dir/rgw_sync_module_es.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_sync_module_es.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_sync_module_es.cc In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/common/ceph_crypto.h:10, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:24: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_sync.cc:14: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/string:45, from /usr/include/c++/12.1.1/stdexcept:39, from /usr/include/boost/optional/bad_optional_access.hpp:15, from /usr/include/boost/optional/optional.hpp:34, from /usr/include/boost/optional.hpp:15, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_sync.cc:4: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying [ 72%] Building CXX object CMakeFiles/rocksdb.dir/util/testutil.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/util/testutil.cc.o -MF CMakeFiles/rocksdb.dir/util/testutil.cc.o.d -o CMakeFiles/rocksdb.dir/util/testutil.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/util/testutil.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying [ 72%] Building CXX object CMakeFiles/rocksdb.dir/util/thread_local.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/util/thread_local.cc.o -MF CMakeFiles/rocksdb.dir/util/thread_local.cc.o.d -o CMakeFiles/rocksdb.dir/util/thread_local.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/util/thread_local.cc [ 72%] Building CXX object CMakeFiles/rocksdb.dir/util/threadpool_imp.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/util/threadpool_imp.cc.o -MF CMakeFiles/rocksdb.dir/util/threadpool_imp.cc.o.d -o CMakeFiles/rocksdb.dir/util/threadpool_imp.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/util/threadpool_imp.cc [ 72%] Building CXX object CMakeFiles/rocksdb.dir/util/trace_replay.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/util/trace_replay.cc.o -MF CMakeFiles/rocksdb.dir/util/trace_replay.cc.o.d -o CMakeFiles/rocksdb.dir/util/trace_replay.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/util/trace_replay.cc [ 72%] Building CXX object CMakeFiles/rocksdb.dir/util/transaction_test_util.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/util/transaction_test_util.cc.o -MF CMakeFiles/rocksdb.dir/util/transaction_test_util.cc.o.d -o CMakeFiles/rocksdb.dir/util/transaction_test_util.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/util/transaction_test_util.cc In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/common/ceph_crypto.h:10, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:24: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, 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 /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_data_sync.cc:13: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/string:45, from /usr/include/boost/utility/string_ref_fwd.hpp:19, from /usr/include/boost/utility/string_ref.hpp:22, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_data_sync.cc:4: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/common/ceph_json.h:6, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_sync.cc:6: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying [ 72%] Building CXX object CMakeFiles/rocksdb.dir/util/xxhash.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/util/xxhash.cc.o -MF CMakeFiles/rocksdb.dir/util/xxhash.cc.o.d -o CMakeFiles/rocksdb.dir/util/xxhash.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/util/xxhash.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying [ 72%] Building CXX object CMakeFiles/rocksdb.dir/utilities/backupable/backupable_db.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/utilities/backupable/backupable_db.cc.o -MF CMakeFiles/rocksdb.dir/utilities/backupable/backupable_db.cc.o.d -o CMakeFiles/rocksdb.dir/utilities/backupable/backupable_db.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/utilities/backupable/backupable_db.cc [ 25%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_sync_module_es_rest.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_sync_module_es_rest.cc.o -MF CMakeFiles/rgw_common.dir/rgw_sync_module_es_rest.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_sync_module_es_rest.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_sync_module_es_rest.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying [ 75%] Building CXX object CMakeFiles/rocksdb.dir/utilities/blob_db/blob_compaction_filter.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/utilities/blob_db/blob_compaction_filter.cc.o -MF CMakeFiles/rocksdb.dir/utilities/blob_db/blob_compaction_filter.cc.o.d -o CMakeFiles/rocksdb.dir/utilities/blob_db/blob_compaction_filter.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/utilities/blob_db/blob_compaction_filter.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying [ 25%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_sync_module_log.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_sync_module_log.cc.o -MF CMakeFiles/rgw_common.dir/rgw_sync_module_log.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_sync_module_log.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_sync_module_log.cc In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_sync_module.cc:4: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/bits/stl_algobase.h:65, from /usr/include/c++/12.1.1/array:43, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:20: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 25%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_sync_module_pubsub.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_sync_module_pubsub.cc.o -MF CMakeFiles/rgw_common.dir/rgw_sync_module_pubsub.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_sync_module_pubsub.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_sync_module_pubsub.cc In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_sync_module_aws.cc:6: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/string:45, from /build/ceph/src/ceph-15.2.14/src/common/errno.h:4, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_sync_module_aws.cc:4: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 25%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_sync_policy.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_sync_policy.cc.o -MF CMakeFiles/rgw_common.dir/rgw_sync_policy.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_sync_policy.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_sync_policy.cc In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_sync_module_es.cc:5: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/string:45, from /usr/include/boost/utility/string_ref_fwd.hpp:19, from /usr/include/boost/utility/string_ref.hpp:22, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_b64.h:7, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_sync_module_es.cc:4: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 75%] Building CXX object CMakeFiles/rocksdb.dir/utilities/blob_db/blob_db.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/utilities/blob_db/blob_db.cc.o -MF CMakeFiles/rocksdb.dir/utilities/blob_db/blob_db.cc.o.d -o CMakeFiles/rocksdb.dir/utilities/blob_db/blob_db.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/utilities/blob_db/blob_db.cc [ 25%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_pubsub_push.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_pubsub_push.cc.o -MF CMakeFiles/rgw_common.dir/rgw_pubsub_push.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_pubsub_push.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_pubsub_push.cc In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/common/ceph_json.h:6, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_data_sync.cc:6: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, 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 /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/common/ceph_crypto.h:10, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:24: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying [ 75%] Building CXX object CMakeFiles/rocksdb.dir/utilities/blob_db/blob_db_impl.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/utilities/blob_db/blob_db_impl.cc.o -MF CMakeFiles/rocksdb.dir/utilities/blob_db/blob_db_impl.cc.o.d -o CMakeFiles/rocksdb.dir/utilities/blob_db/blob_db_impl.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/utilities/blob_db/blob_db_impl.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/common/ceph_crypto.h:10, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:24: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::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]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' [ 25%] Built target common-common-objs [ 75%] Building CXX object CMakeFiles/rocksdb.dir/utilities/blob_db/blob_db_impl_filesnapshot.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/utilities/blob_db/blob_db_impl_filesnapshot.cc.o -MF CMakeFiles/rocksdb.dir/utilities/blob_db/blob_db_impl_filesnapshot.cc.o.d -o CMakeFiles/rocksdb.dir/utilities/blob_db/blob_db_impl_filesnapshot.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/utilities/blob_db/blob_db_impl_filesnapshot.cc In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/common/ceph_crypto.h:10, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:24: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_sync_module.h:7, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_sync_module_es.h:7, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_sync_module_es_rest.cc:4: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/bits/stl_algobase.h:65, from /usr/include/c++/12.1.1/array:43, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:20: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_sync_module_log.cc:4: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/bits/stl_algobase.h:65, from /usr/include/c++/12.1.1/array:43, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:20: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying [ 25%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_notify.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_notify.cc.o -MF CMakeFiles/rgw_common.dir/rgw_notify.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_notify.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_notify.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying [ 25%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_notify_event_type.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_notify_event_type.cc.o -MF CMakeFiles/rgw_common.dir/rgw_notify_event_type.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_notify_event_type.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_notify_event_type.cc /build/ceph/src/ceph-15.2.14/src/rgw/rgw_lc.cc: In function ‘std::string rgw::lc::s3_expiration_header(DoutPrefixProvider*, const rgw_obj_key&, const RGWObjTags&, const ceph::real_time&, const std::map, ceph::buffer::v15_2_0::list>&)’: /build/ceph/src/ceph-15.2.14/src/rgw/rgw_lc.cc:2238:31: warning: ‘*(const std::chrono::time_point > >*)((char*)&expiration_date + offsetof(boost::optional > > >,boost::optional > > >::.boost::optional_detail::optional_base > > >::m_storage.boost::optional_detail::aligned_storage > > >::dummy_)).std::chrono::time_point::__d.std::chrono::duration >::__r’ may be used uninitialized [-Wmaybe-uninitialized] 2238 | if ((! expiration_date) || | ~~~~~~~~~~~~~~~~~~~~^~ 2239 | (*expiration_date > *rule_expiration_date)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_lc.cc:2158:36: note: ‘*(const std::chrono::time_point > >*)((char*)&expiration_date + offsetof(boost::optional > > >,boost::optional > > >::.boost::optional_detail::optional_base > > >::m_storage.boost::optional_detail::aligned_storage > > >::dummy_)).std::chrono::time_point::__d.std::chrono::duration >::__r’ was declared here 2158 | boost::optional expiration_date; | ^~~~~~~~~~~~~~~ In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_service.h:12, from /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_zone.h:6, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_sync_module_pubsub.cc:4: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/string:45, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_service.h:8: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_sync_policy.cc:3: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/bits/stl_algobase.h:65, from /usr/include/c++/12.1.1/array:43, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:20: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 25%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_sync_module_pubsub_rest.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_sync_module_pubsub_rest.cc.o -MF CMakeFiles/rgw_common.dir/rgw_sync_module_pubsub_rest.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_sync_module_pubsub_rest.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_sync_module_pubsub_rest.cc In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/common/ceph_crypto.h:10, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:24: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying [ 25%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_sync_trace.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_sync_trace.cc.o -MF CMakeFiles/rgw_common.dir/rgw_sync_trace.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_sync_trace.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_sync_trace.cc In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rados.h:10, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_sal.h:18, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_pubsub.h:7, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_notify.cc:7: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/string:45, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_notify.h:6, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_notify.cc:4: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/common/ceph_crypto.h:10, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:24: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying [ 25%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_trim_bilog.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_trim_bilog.cc.o -MF CMakeFiles/rgw_common.dir/rgw_trim_bilog.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_trim_bilog.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_trim_bilog.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying [ 75%] Building CXX object CMakeFiles/rocksdb.dir/utilities/blob_db/blob_dump_tool.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/utilities/blob_db/blob_dump_tool.cc.o -MF CMakeFiles/rocksdb.dir/utilities/blob_db/blob_dump_tool.cc.o.d -o CMakeFiles/rocksdb.dir/utilities/blob_db/blob_dump_tool.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/utilities/blob_db/blob_dump_tool.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_pubsub_push.cc:11: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/string:45, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_pubsub_push.h:5, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_pubsub_push.cc:4: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/common/ceph_crypto.h:10, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:24: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying [ 25%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_trim_datalog.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_trim_datalog.cc.o -MF CMakeFiles/rgw_common.dir/rgw_trim_datalog.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_trim_datalog.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_trim_datalog.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_role.h:105:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_role.h:105:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying [ 75%] Building CXX object CMakeFiles/rocksdb.dir/utilities/blob_db/blob_file.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/utilities/blob_db/blob_file.cc.o -MF CMakeFiles/rocksdb.dir/utilities/blob_db/blob_file.cc.o.d -o CMakeFiles/rocksdb.dir/utilities/blob_db/blob_file.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/utilities/blob_db/blob_file.cc In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/common/ceph_crypto.h:10, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:24: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying [ 26%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_trim_mdlog.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_trim_mdlog.cc.o -MF CMakeFiles/rgw_common.dir/rgw_trim_mdlog.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_trim_mdlog.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_trim_mdlog.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/common/ceph_crypto.h:10, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:24: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rados.h:10, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_sync_trace.cc:13: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/string:45, from /usr/include/c++/12.1.1/bitset:47, from /usr/include/c++/12.1.1/regex:38, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_sync_trace.cc:7: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying [ 75%] Building CXX object CMakeFiles/rocksdb.dir/utilities/blob_db/blob_log_reader.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/utilities/blob_db/blob_log_reader.cc.o -MF CMakeFiles/rocksdb.dir/utilities/blob_db/blob_log_reader.cc.o.d -o CMakeFiles/rocksdb.dir/utilities/blob_db/blob_log_reader.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/utilities/blob_db/blob_log_reader.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying [ 75%] Building CXX object CMakeFiles/rocksdb.dir/utilities/blob_db/blob_log_writer.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/utilities/blob_db/blob_log_writer.cc.o -MF CMakeFiles/rocksdb.dir/utilities/blob_db/blob_log_writer.cc.o.d -o CMakeFiles/rocksdb.dir/utilities/blob_db/blob_log_writer.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/utilities/blob_db/blob_log_writer.cc [ 79%] Building CXX object CMakeFiles/rocksdb.dir/utilities/blob_db/blob_log_format.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/utilities/blob_db/blob_log_format.cc.o -MF CMakeFiles/rocksdb.dir/utilities/blob_db/blob_log_format.cc.o.d -o CMakeFiles/rocksdb.dir/utilities/blob_db/blob_log_format.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/utilities/blob_db/blob_log_format.cc In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_op.h:35, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rest_pubsub_common.h:6, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_sync_module_pubsub_rest.cc:5: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/bits/stl_algobase.h:65, from /usr/include/c++/12.1.1/algorithm:60, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_sync_module_pubsub_rest.cc:4: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 79%] Building CXX object CMakeFiles/rocksdb.dir/utilities/cassandra/cassandra_compaction_filter.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/utilities/cassandra/cassandra_compaction_filter.cc.o -MF CMakeFiles/rocksdb.dir/utilities/cassandra/cassandra_compaction_filter.cc.o.d -o CMakeFiles/rocksdb.dir/utilities/cassandra/cassandra_compaction_filter.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/utilities/cassandra/cassandra_compaction_filter.cc [ 79%] Building CXX object CMakeFiles/rocksdb.dir/utilities/cassandra/format.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/utilities/cassandra/format.cc.o -MF CMakeFiles/rocksdb.dir/utilities/cassandra/format.cc.o.d -o CMakeFiles/rocksdb.dir/utilities/cassandra/format.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/utilities/cassandra/format.cc [ 26%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_period_history.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_period_history.cc.o -MF CMakeFiles/rgw_common.dir/rgw_period_history.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_period_history.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_period_history.cc In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/msg/msg_types.h:23, from /build/ceph/src/ceph-15.2.14/src/common/ceph_context.h:33, from /build/ceph/src/ceph-15.2.14/src/common/dout.h:29, from /build/ceph/src/ceph-15.2.14/src/include/Context.h:19, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rados.h:11: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying [ 79%] Building CXX object CMakeFiles/rocksdb.dir/utilities/cassandra/merge_operator.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/utilities/cassandra/merge_operator.cc.o -MF CMakeFiles/rocksdb.dir/utilities/cassandra/merge_operator.cc.o.d -o CMakeFiles/rocksdb.dir/utilities/cassandra/merge_operator.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/utilities/cassandra/merge_operator.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying [ 26%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_period_puller.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_period_puller.cc.o -MF CMakeFiles/rgw_common.dir/rgw_period_puller.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_period_puller.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_period_puller.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying [ 79%] Building CXX object CMakeFiles/rocksdb.dir/utilities/checkpoint/checkpoint_impl.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/utilities/checkpoint/checkpoint_impl.cc.o -MF CMakeFiles/rocksdb.dir/utilities/checkpoint/checkpoint_impl.cc.o.d -o CMakeFiles/rocksdb.dir/utilities/checkpoint/checkpoint_impl.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/utilities/checkpoint/checkpoint_impl.cc In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_coroutine.h:26, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_cr_rados.h:9, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_trim_bilog.cc:25: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/string:45, from /usr/include/c++/12.1.1/stdexcept:39, from /usr/include/c++/12.1.1/system_error:41, from /usr/include/c++/12.1.1/mutex:41, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_trim_bilog.cc:17: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 79%] Building CXX object CMakeFiles/rocksdb.dir/utilities/compaction_filters/remove_emptyvalue_compactionfilter.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/utilities/compaction_filters/remove_emptyvalue_compactionfilter.cc.o -MF CMakeFiles/rocksdb.dir/utilities/compaction_filters/remove_emptyvalue_compactionfilter.cc.o.d -o CMakeFiles/rocksdb.dir/utilities/compaction_filters/remove_emptyvalue_compactionfilter.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/utilities/compaction_filters/remove_emptyvalue_compactionfilter.cc [ 79%] Building CXX object CMakeFiles/rocksdb.dir/utilities/debug.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/utilities/debug.cc.o -MF CMakeFiles/rocksdb.dir/utilities/debug.cc.o.d -o CMakeFiles/rocksdb.dir/utilities/debug.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/utilities/debug.cc In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_coroutine.h:26, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_cr_rados.h:9, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_trim_datalog.cc:8: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/bits/stl_algobase.h:65, from /usr/include/c++/12.1.1/vector:60, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_trim_datalog.cc:4: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 26%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_reshard.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_reshard.cc.o -MF CMakeFiles/rgw_common.dir/rgw_reshard.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_reshard.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_reshard.cc In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/msg/msg_types.h:23, from /build/ceph/src/ceph-15.2.14/src/common/ceph_context.h:33, from /build/ceph/src/ceph-15.2.14/src/common/dout.h:29, from /build/ceph/src/ceph-15.2.14/src/common/debug.h:18, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_sync_trace.cc:9: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying [ 82%] Building CXX object CMakeFiles/rocksdb.dir/utilities/env_mirror.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/utilities/env_mirror.cc.o -MF CMakeFiles/rocksdb.dir/utilities/env_mirror.cc.o.d -o CMakeFiles/rocksdb.dir/utilities/env_mirror.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/utilities/env_mirror.cc [ 82%] Building CXX object CMakeFiles/rocksdb.dir/utilities/env_timed.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/utilities/env_timed.cc.o -MF CMakeFiles/rocksdb.dir/utilities/env_timed.cc.o.d -o CMakeFiles/rocksdb.dir/utilities/env_timed.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/utilities/env_timed.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rados.h:10, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_period_puller.cc:4: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/bits/stl_construct.h:61, from /usr/include/c++/12.1.1/bits/alloc_traits.h:33, from /usr/include/c++/12.1.1/ext/alloc_traits.h:34, from /usr/include/c++/12.1.1/unordered_map:41, from /usr/include/c++/12.1.1/functional:61, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rados.h:7: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 26%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_coroutine.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_coroutine.cc.o -MF CMakeFiles/rgw_common.dir/rgw_coroutine.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_coroutine.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_coroutine.cc In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/common/ceph_json.h:6, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_op.h:32: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, 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 /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rados.h:10, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_period_history.cc:5: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/bits/stl_algobase.h:65, from /usr/include/c++/12.1.1/deque:60, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_period_history.h:7, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_period_history.cc:4: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying [ 82%] Building CXX object CMakeFiles/rocksdb.dir/utilities/leveldb_options/leveldb_options.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/utilities/leveldb_options/leveldb_options.cc.o -MF CMakeFiles/rocksdb.dir/utilities/leveldb_options/leveldb_options.cc.o.d -o CMakeFiles/rocksdb.dir/utilities/leveldb_options/leveldb_options.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/utilities/leveldb_options/leveldb_options.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_role.h:105:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying [ 82%] Building CXX object CMakeFiles/rocksdb.dir/utilities/memory/memory_util.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/utilities/memory/memory_util.cc.o -MF CMakeFiles/rocksdb.dir/utilities/memory/memory_util.cc.o.d -o CMakeFiles/rocksdb.dir/utilities/memory/memory_util.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/utilities/memory/memory_util.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying [ 26%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_cr_rados.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_cr_rados.cc.o -MF CMakeFiles/rgw_common.dir/rgw_cr_rados.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_cr_rados.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_cr_rados.cc In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rados.h:10, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_reshard.cc:7: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/string:45, from /usr/include/c++/12.1.1/bits/locale_classes.h:40, from /usr/include/c++/12.1.1/bits/ios_base.h:41, from /usr/include/c++/12.1.1/ios:42, from /usr/include/c++/12.1.1/istream:38, from /usr/include/c++/12.1.1/sstream:38, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_reshard.cc:5: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_role.h:105:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_coroutine.h:26, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_sync.h:12, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_trim_mdlog.cc:7: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/string:45, from /build/ceph/src/ceph-15.2.14/src/common/errno.h:4, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_trim_mdlog.cc:4: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_trim_bilog.h:23, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_trim_bilog.cc:24: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/include/utime.h:27, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_coroutine.h:19: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying [ 26%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_cr_rest.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_cr_rest.cc.o -MF CMakeFiles/rgw_common.dir/rgw_cr_rest.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_cr_rest.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_cr_rest.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying [ 82%] Building CXX object CMakeFiles/rocksdb.dir/utilities/merge_operators/bytesxor.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/utilities/merge_operators/bytesxor.cc.o -MF CMakeFiles/rocksdb.dir/utilities/merge_operators/bytesxor.cc.o.d -o CMakeFiles/rocksdb.dir/utilities/merge_operators/bytesxor.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/utilities/merge_operators/bytesxor.cc [ 82%] Building CXX object CMakeFiles/rocksdb.dir/utilities/merge_operators/max.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/utilities/merge_operators/max.cc.o -MF CMakeFiles/rocksdb.dir/utilities/merge_operators/max.cc.o.d -o CMakeFiles/rocksdb.dir/utilities/merge_operators/max.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/utilities/merge_operators/max.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying [ 82%] Building CXX object CMakeFiles/rocksdb.dir/utilities/merge_operators/put.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/utilities/merge_operators/put.cc.o -MF CMakeFiles/rocksdb.dir/utilities/merge_operators/put.cc.o.d -o CMakeFiles/rocksdb.dir/utilities/merge_operators/put.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/utilities/merge_operators/put.cc [ 82%] Building CXX object CMakeFiles/rocksdb.dir/utilities/merge_operators/string_append/stringappend.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/utilities/merge_operators/string_append/stringappend.cc.o -MF CMakeFiles/rocksdb.dir/utilities/merge_operators/string_append/stringappend.cc.o.d -o CMakeFiles/rocksdb.dir/utilities/merge_operators/string_append/stringappend.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/utilities/merge_operators/string_append/stringappend.cc In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rados.h:10, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_sal.h:18, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_cr_rados.cc:5: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/bits/stl_construct.h:61, from /usr/include/c++/12.1.1/bits/alloc_traits.h:33, from /usr/include/c++/12.1.1/ext/alloc_traits.h:34, from /usr/include/c++/12.1.1/unordered_map:41, from /usr/include/c++/12.1.1/functional:61, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rados.h:7: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 86%] Building CXX object CMakeFiles/rocksdb.dir/utilities/merge_operators/string_append/stringappend2.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/utilities/merge_operators/string_append/stringappend2.cc.o -MF CMakeFiles/rocksdb.dir/utilities/merge_operators/string_append/stringappend2.cc.o.d -o CMakeFiles/rocksdb.dir/utilities/merge_operators/string_append/stringappend2.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/utilities/merge_operators/string_append/stringappend2.cc [ 86%] Building CXX object CMakeFiles/rocksdb.dir/utilities/merge_operators/uint64add.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/utilities/merge_operators/uint64add.cc.o -MF CMakeFiles/rocksdb.dir/utilities/merge_operators/uint64add.cc.o.d -o CMakeFiles/rocksdb.dir/utilities/merge_operators/uint64add.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/utilities/merge_operators/uint64add.cc [ 86%] Building CXX object CMakeFiles/rocksdb.dir/utilities/option_change_migration/option_change_migration.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/utilities/option_change_migration/option_change_migration.cc.o -MF CMakeFiles/rocksdb.dir/utilities/option_change_migration/option_change_migration.cc.o.d -o CMakeFiles/rocksdb.dir/utilities/option_change_migration/option_change_migration.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/utilities/option_change_migration/option_change_migration.cc [ 26%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_cr_tools.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_cr_tools.cc.o -MF CMakeFiles/rgw_common.dir/rgw_cr_tools.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_cr_tools.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_cr_tools.cc In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/include/stringify.h:7, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_sync.h:9: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying [ 86%] Building CXX object CMakeFiles/rocksdb.dir/utilities/options/options_util.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/utilities/options/options_util.cc.o -MF CMakeFiles/rocksdb.dir/utilities/options/options_util.cc.o.d -o CMakeFiles/rocksdb.dir/utilities/options/options_util.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/utilities/options/options_util.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying [ 86%] Building CXX object CMakeFiles/rocksdb.dir/utilities/persistent_cache/block_cache_tier.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/utilities/persistent_cache/block_cache_tier.cc.o -MF CMakeFiles/rocksdb.dir/utilities/persistent_cache/block_cache_tier.cc.o.d -o CMakeFiles/rocksdb.dir/utilities/persistent_cache/block_cache_tier.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/utilities/persistent_cache/block_cache_tier.cc In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_period_history.h:12: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying [ 26%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_object_expirer_core.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_object_expirer_core.cc.o -MF CMakeFiles/rgw_common.dir/rgw_object_expirer_core.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_object_expirer_core.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_object_expirer_core.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/msg/msg_types.h:23, from /build/ceph/src/ceph-15.2.14/src/common/ceph_context.h:33, from /build/ceph/src/ceph-15.2.14/src/common/dout.h:29, from /build/ceph/src/ceph-15.2.14/src/include/Context.h:19, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rados.h:11: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying [ 86%] Building CXX object CMakeFiles/rocksdb.dir/utilities/persistent_cache/block_cache_tier_file.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/utilities/persistent_cache/block_cache_tier_file.cc.o -MF CMakeFiles/rocksdb.dir/utilities/persistent_cache/block_cache_tier_file.cc.o.d -o CMakeFiles/rocksdb.dir/utilities/persistent_cache/block_cache_tier_file.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/utilities/persistent_cache/block_cache_tier_file.cc [ 26%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_op.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_op.cc.o -MF CMakeFiles/rgw_common.dir/rgw_op.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_op.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_op.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_coroutine.h:26, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_coroutine.cc:6: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/string:45, from /build/ceph/src/ceph-15.2.14/src/include/ceph_assert.h:5, from /build/ceph/src/ceph-15.2.14/src/common/dout.h:21, from /build/ceph/src/ceph-15.2.14/src/include/Context.h:19, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_coroutine.cc:4: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/msg/msg_types.h:23, from /build/ceph/src/ceph-15.2.14/src/common/ceph_context.h:33, from /build/ceph/src/ceph-15.2.14/src/common/dout.h:29: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying [ 86%] Building CXX object CMakeFiles/rocksdb.dir/utilities/persistent_cache/block_cache_tier_metadata.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/utilities/persistent_cache/block_cache_tier_metadata.cc.o -MF CMakeFiles/rocksdb.dir/utilities/persistent_cache/block_cache_tier_metadata.cc.o.d -o CMakeFiles/rocksdb.dir/utilities/persistent_cache/block_cache_tier_metadata.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/utilities/persistent_cache/block_cache_tier_metadata.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_coroutine.h:26, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_cr_rest.h:10, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_cr_rest.cc:4: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/bits/stl_construct.h:61, from /usr/include/c++/12.1.1/bits/alloc_traits.h:33, from /usr/include/c++/12.1.1/ext/alloc_traits.h:34, from /usr/include/c++/12.1.1/unordered_map:41, from /usr/include/c++/12.1.1/functional:61, from /usr/include/boost/config/no_tr1/functional.hpp:21, from /usr/include/boost/smart_ptr/intrusive_ptr.hpp:24, from /usr/include/boost/intrusive_ptr.hpp:16, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_cr_rest.h:6: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/msg/msg_types.h:23, from /build/ceph/src/ceph-15.2.14/src/common/ceph_context.h:33, from /build/ceph/src/ceph-15.2.14/src/common/dout.h:29, from /build/ceph/src/ceph-15.2.14/src/include/Context.h:19, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rados.h:11: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying [ 26%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_otp.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_otp.cc.o -MF CMakeFiles/rgw_common.dir/rgw_otp.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_otp.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_otp.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying [ 26%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_policy_s3.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_policy_s3.cc.o -MF CMakeFiles/rgw_common.dir/rgw_policy_s3.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_policy_s3.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_policy_s3.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying [ 89%] Building CXX object CMakeFiles/rocksdb.dir/utilities/persistent_cache/persistent_cache_tier.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/utilities/persistent_cache/persistent_cache_tier.cc.o -MF CMakeFiles/rocksdb.dir/utilities/persistent_cache/persistent_cache_tier.cc.o.d -o CMakeFiles/rocksdb.dir/utilities/persistent_cache/persistent_cache_tier.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/utilities/persistent_cache/persistent_cache_tier.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying [ 89%] Building CXX object CMakeFiles/rocksdb.dir/utilities/persistent_cache/volatile_tier_impl.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/utilities/persistent_cache/volatile_tier_impl.cc.o -MF CMakeFiles/rocksdb.dir/utilities/persistent_cache/volatile_tier_impl.cc.o.d -o CMakeFiles/rocksdb.dir/utilities/persistent_cache/volatile_tier_impl.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/utilities/persistent_cache/volatile_tier_impl.cc In file included from /usr/include/boost/bind.hpp:30, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_op.cc:12: /usr/include/boost/bind.hpp:36:1: note: ‘#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.’ 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ [ 26%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_public_access.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_public_access.cc.o -MF CMakeFiles/rgw_common.dir/rgw_public_access.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_public_access.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_public_access.cc [ 26%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_putobj.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_putobj.cc.o -MF CMakeFiles/rgw_common.dir/rgw_putobj.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_putobj.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_putobj.cc [ 26%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_putobj_processor.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_putobj_processor.cc.o -MF CMakeFiles/rgw_common.dir/rgw_putobj_processor.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_putobj_processor.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_putobj_processor.cc [ 26%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_quota.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_quota.cc.o -MF CMakeFiles/rgw_common.dir/rgw_quota.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_quota.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_quota.cc [ 89%] Building CXX object CMakeFiles/rocksdb.dir/utilities/simulator_cache/sim_cache.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/utilities/simulator_cache/sim_cache.cc.o -MF CMakeFiles/rocksdb.dir/utilities/simulator_cache/sim_cache.cc.o.d -o CMakeFiles/rocksdb.dir/utilities/simulator_cache/sim_cache.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/utilities/simulator_cache/sim_cache.cc In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rados.h:10, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_op.cc:26: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/string:45, from /usr/include/c++/12.1.1/stdexcept:39, from /usr/include/c++/12.1.1/system_error:41, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_op.cc:6: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/include/utime.h:27, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_coroutine.h:19: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, 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 /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_coroutine.h:26, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_cr_rados.h:9, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_cr_tools.h:7, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_cr_tools.cc:6: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/string:45, from /build/ceph/src/ceph-15.2.14/src/common/errno.h:4, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_cr_tools.cc:4: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/msg/msg_types.h:23, from /build/ceph/src/ceph-15.2.14/src/common/ceph_context.h:33, from /build/ceph/src/ceph-15.2.14/src/common/dout.h:29, from /build/ceph/src/ceph-15.2.14/src/include/Context.h:19, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rados.h:11: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying [ 89%] Building CXX object CMakeFiles/rocksdb.dir/utilities/table_properties_collectors/compact_on_deletion_collector.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/utilities/table_properties_collectors/compact_on_deletion_collector.cc.o -MF CMakeFiles/rocksdb.dir/utilities/table_properties_collectors/compact_on_deletion_collector.cc.o.d -o CMakeFiles/rocksdb.dir/utilities/table_properties_collectors/compact_on_deletion_collector.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/utilities/table_properties_collectors/compact_on_deletion_collector.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying [ 89%] Building CXX object CMakeFiles/rocksdb.dir/utilities/trace/file_trace_reader_writer.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/utilities/trace/file_trace_reader_writer.cc.o -MF CMakeFiles/rocksdb.dir/utilities/trace/file_trace_reader_writer.cc.o.d -o CMakeFiles/rocksdb.dir/utilities/trace/file_trace_reader_writer.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/utilities/trace/file_trace_reader_writer.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying [ 89%] Building CXX object CMakeFiles/rocksdb.dir/utilities/transactions/optimistic_transaction_db_impl.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/utilities/transactions/optimistic_transaction_db_impl.cc.o -MF CMakeFiles/rocksdb.dir/utilities/transactions/optimistic_transaction_db_impl.cc.o.d -o CMakeFiles/rocksdb.dir/utilities/transactions/optimistic_transaction_db_impl.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/utilities/transactions/optimistic_transaction_db_impl.cc [ 26%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_rados.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_rados.cc.o -MF CMakeFiles/rgw_common.dir/rgw_rados.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_rados.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rados.cc [ 89%] Building CXX object CMakeFiles/rocksdb.dir/utilities/transactions/optimistic_transaction.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/utilities/transactions/optimistic_transaction.cc.o -MF CMakeFiles/rocksdb.dir/utilities/transactions/optimistic_transaction.cc.o.d -o CMakeFiles/rocksdb.dir/utilities/transactions/optimistic_transaction.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/utilities/transactions/optimistic_transaction.cc In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_user.h:12, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_object_expirer_core.cc:24: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/string:45, from /usr/include/c++/12.1.1/bits/locale_classes.h:40, from /usr/include/c++/12.1.1/bits/ios_base.h:41, from /usr/include/c++/12.1.1/ios:42, from /usr/include/c++/12.1.1/ostream:38, from /usr/include/c++/12.1.1/iostream:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_object_expirer_core.cc:5: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 26%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_resolve.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_resolve.cc.o -MF CMakeFiles/rgw_common.dir/rgw_resolve.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_resolve.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_resolve.cc [ 26%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_rest.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_rest.cc.o -MF CMakeFiles/rgw_common.dir/rgw_rest.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_rest.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rest.cc [ 26%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_rest_client.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_rest_client.cc.o -MF CMakeFiles/rgw_common.dir/rgw_rest_client.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_rest_client.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rest_client.cc In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/include/utime.h:27, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_coroutine.h:19: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_service.h:12, from /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_meta_be_otp.h:21, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_otp.h:12, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_otp.cc:13: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/string:45, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_otp.cc:6: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_policy_s3.cc:8: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/string:45, from /usr/include/c++/12.1.1/stdexcept:39, from /build/ceph/src/ceph-15.2.14/src/common/ceph_json.h:4, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_policy_s3.cc:6: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 26%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_rest_conn.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_rest_conn.cc.o -MF CMakeFiles/rgw_common.dir/rgw_rest_conn.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_rest_conn.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rest_conn.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying [ 89%] Building CXX object CMakeFiles/rocksdb.dir/utilities/transactions/pessimistic_transaction.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/utilities/transactions/pessimistic_transaction.cc.o -MF CMakeFiles/rocksdb.dir/utilities/transactions/pessimistic_transaction.cc.o.d -o CMakeFiles/rocksdb.dir/utilities/transactions/pessimistic_transaction.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/utilities/transactions/pessimistic_transaction.cc In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/auth/Crypto.h:19, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_object_expirer_core.cc:10: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, 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 /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/common/ceph_json.h:6: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/common/ceph_json.h:6, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_otp.cc:12: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_service.h:12, from /build/ceph/src/ceph-15.2.14/src/rgw/services/svc_rados.h:6, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_aio.h:26, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_putobj_processor.cc:16: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/bits/stl_algobase.h:65, from /usr/include/c++/12.1.1/memory:63, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_aio.h:19: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_quota.cc:23: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/bits/stl_algobase.h:65, from /usr/include/c++/12.1.1/bits/specfun.h:45, from /usr/include/c++/12.1.1/cmath:1935, from /usr/include/c++/12.1.1/math.h:36, from /build/ceph/src/ceph-15.2.14/src/include/utime.h:18, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_quota.cc:17: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying [ 27%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_rest_log.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_rest_log.cc.o -MF CMakeFiles/rgw_common.dir/rgw_rest_log.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_rest_log.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rest_log.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying [ 93%] Building CXX object CMakeFiles/rocksdb.dir/utilities/transactions/pessimistic_transaction_db.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/utilities/transactions/pessimistic_transaction_db.cc.o -MF CMakeFiles/rocksdb.dir/utilities/transactions/pessimistic_transaction_db.cc.o.d -o CMakeFiles/rocksdb.dir/utilities/transactions/pessimistic_transaction_db.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/utilities/transactions/pessimistic_transaction_db.cc /build/ceph/src/ceph-15.2.14/src/rgw/rgw_op.cc: In function ‘int iterate_user_manifest_parts(ceph::common::CephContext*, rgw::sal::RGWRadosStore*, off_t, off_t, RGWBucketInfo*, const std::string&, RGWAccessControlPolicy*, const boost::optional&, uint64_t*, uint64_t*, std::string*, int (*)(RGWBucketInfo&, const rgw_bucket_dir_entry&, RGWAccessControlPolicy*, const boost::optional&, off_t, off_t, void*, bool), void*)’: /build/ceph/src/ceph-15.2.14/src/rgw/rgw_op.cc:1722:15: warning: unused variable ‘bucket’ [-Wunused-variable] 1722 | rgw_bucket& bucket = pbucket_info->bucket; | ^~~~~~ In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rados.h:10, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_sal.h:18, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rados.cc:24: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/string:45, from /usr/include/c++/12.1.1/bits/locale_classes.h:40, from /usr/include/c++/12.1.1/bits/ios_base.h:41, from /usr/include/c++/12.1.1/ios:42, from /usr/include/c++/12.1.1/istream:38, from /usr/include/c++/12.1.1/sstream:38, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rados.cc:8: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rados.h:10, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rest_conn.cc:4: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/bits/stl_construct.h:61, from /usr/include/c++/12.1.1/bits/alloc_traits.h:33, from /usr/include/c++/12.1.1/ext/alloc_traits.h:34, from /usr/include/c++/12.1.1/unordered_map:41, from /usr/include/c++/12.1.1/functional:61, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rados.h:7: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/include/utime.h:27, from /build/ceph/src/ceph-15.2.14/src/common/Clock.h:18, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_op.cc:18: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_resolve.cc:15: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/bits/stl_algobase.h:65, from /usr/include/c++/12.1.1/array:43, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:20: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_role.h:105:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying [ 93%] Building CXX object CMakeFiles/rocksdb.dir/utilities/transactions/snapshot_checker.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/utilities/transactions/snapshot_checker.cc.o -MF CMakeFiles/rocksdb.dir/utilities/transactions/snapshot_checker.cc.o.d -o CMakeFiles/rocksdb.dir/utilities/transactions/snapshot_checker.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/utilities/transactions/snapshot_checker.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rest.cc:14: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/string:45, from /usr/include/boost/algorithm/string/std/string_traits.hpp:15, from /usr/include/boost/algorithm/string/std_containers_traits.hpp:19, from /usr/include/boost/algorithm/string.hpp:18, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rest.cc:8: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_role.h:105:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying [ 27%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_rest_metadata.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_rest_metadata.cc.o -MF CMakeFiles/rgw_common.dir/rgw_rest_metadata.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_rest_metadata.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rest_metadata.cc In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/include/utime.h:27: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, 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 /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/common/ceph_crypto.h:10, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:24: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying [ 27%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_rest_pubsub.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_rest_pubsub.cc.o -MF CMakeFiles/rgw_common.dir/rgw_rest_pubsub.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_rest_pubsub.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rest_pubsub.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rest_client.cc:4: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/bits/stl_algobase.h:65, from /usr/include/c++/12.1.1/array:43, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:20: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/common/ceph_crypto.h:10, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:24: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying [ 27%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_rest_pubsub_common.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_rest_pubsub_common.cc.o -MF CMakeFiles/rgw_common.dir/rgw_rest_pubsub_common.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_rest_pubsub_common.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rest_pubsub_common.cc [ 93%] Building CXX object CMakeFiles/rocksdb.dir/utilities/transactions/transaction_base.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/utilities/transactions/transaction_base.cc.o -MF CMakeFiles/rocksdb.dir/utilities/transactions/transaction_base.cc.o.d -o CMakeFiles/rocksdb.dir/utilities/transactions/transaction_base.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/utilities/transactions/transaction_base.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying [ 93%] Building CXX object CMakeFiles/rocksdb.dir/utilities/transactions/transaction_db_mutex_impl.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/utilities/transactions/transaction_db_mutex_impl.cc.o -MF CMakeFiles/rocksdb.dir/utilities/transactions/transaction_db_mutex_impl.cc.o.d -o CMakeFiles/rocksdb.dir/utilities/transactions/transaction_db_mutex_impl.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/utilities/transactions/transaction_db_mutex_impl.cc In file included from /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:41, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rados.cc:41: /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:45:32: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:109:38: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 27%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_rest_realm.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_rest_realm.cc.o -MF CMakeFiles/rgw_common.dir/rgw_rest_realm.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_rest_realm.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rest_realm.cc [ 27%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_rest_role.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_rest_role.cc.o -MF CMakeFiles/rgw_common.dir/rgw_rest_role.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_rest_role.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rest_role.cc [ 93%] Building CXX object CMakeFiles/rocksdb.dir/utilities/transactions/transaction_lock_mgr.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/utilities/transactions/transaction_lock_mgr.cc.o -MF CMakeFiles/rocksdb.dir/utilities/transactions/transaction_lock_mgr.cc.o.d -o CMakeFiles/rocksdb.dir/utilities/transactions/transaction_lock_mgr.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/utilities/transactions/transaction_lock_mgr.cc In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_op.h:35, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rest.h:13, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rest_log.cc:18: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/string:45, from /usr/include/c++/12.1.1/stdexcept:39, from /build/ceph/src/ceph-15.2.14/src/common/ceph_json.h:4, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rest_log.cc:16: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 93%] Building CXX object CMakeFiles/rocksdb.dir/utilities/transactions/transaction_util.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/utilities/transactions/transaction_util.cc.o -MF CMakeFiles/rocksdb.dir/utilities/transactions/transaction_util.cc.o.d -o CMakeFiles/rocksdb.dir/utilities/transactions/transaction_util.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/utilities/transactions/transaction_util.cc In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/common/ceph_crypto.h:10, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:24: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, 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 /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/common/ceph_crypto.h:10, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:24: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/msg/msg_types.h:23, from /build/ceph/src/ceph-15.2.14/src/common/ceph_context.h:33, from /build/ceph/src/ceph-15.2.14/src/common/dout.h:29, from /build/ceph/src/ceph-15.2.14/src/include/Context.h:19, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rados.h:11: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_role.h:105:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_role.h:105:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_role.h:105:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_role.h:105:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying [ 27%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_rest_s3.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_rest_s3.cc.o -MF CMakeFiles/rgw_common.dir/rgw_rest_s3.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_rest_s3.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rest_s3.cc [ 93%] Building CXX object CMakeFiles/rocksdb.dir/utilities/transactions/write_prepared_txn.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/utilities/transactions/write_prepared_txn.cc.o -MF CMakeFiles/rocksdb.dir/utilities/transactions/write_prepared_txn.cc.o.d -o CMakeFiles/rocksdb.dir/utilities/transactions/write_prepared_txn.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/utilities/transactions/write_prepared_txn.cc In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_op.h:35, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rest.h:13, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rest_metadata.cc:18: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/string:45, from /usr/include/boost/utility/string_ref_fwd.hpp:19, from /usr/include/boost/utility/string_ref.hpp:22, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rest.h:8: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_op.h:35, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rest_pubsub_common.h:6, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rest_pubsub.cc:7: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/bits/stl_algobase.h:65, from /usr/include/c++/12.1.1/algorithm:60, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rest_pubsub.cc:4: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/common/ceph_json.h:6, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rados.cc:18: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_cache.h:70:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying [ 27%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_role.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_role.cc.o -MF CMakeFiles/rgw_common.dir/rgw_role.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_role.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_role.cc In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rest_pubsub_common.cc:4: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/bits/stl_algobase.h:65, from /usr/include/c++/12.1.1/array:43, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:20: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/CompatSet.h:85:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying [ 96%] Building CXX object CMakeFiles/rocksdb.dir/utilities/transactions/write_prepared_txn_db.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/utilities/transactions/write_prepared_txn_db.cc.o -MF CMakeFiles/rocksdb.dir/utilities/transactions/write_prepared_txn_db.cc.o.d -o CMakeFiles/rocksdb.dir/utilities/transactions/write_prepared_txn_db.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/utilities/transactions/write_prepared_txn_db.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:3809:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&’ {aka ‘const std::pair, std::optional >&’} binds to a temporary constructed from type ‘const std::pair, std::optional >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T’ {aka ‘const std::pair, std::optional >’} to make the copy explicit or ‘const std::pair, std::optional >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_cache.h:70:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/CompatSet.h:85:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:3809:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&’ {aka ‘const std::pair, std::optional >&’} binds to a temporary constructed from type ‘const std::pair, std::optional >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T’ {aka ‘const std::pair, std::optional >’} to make the copy explicit or ‘const std::pair, std::optional >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/common/ceph_json.h:6: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_op.h:35, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rest.h:13, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rest_realm.h:6, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rest_realm.cc:5: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/string:45, from /build/ceph/src/ceph-15.2.14/src/common/errno.h:4, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rest_realm.cc:4: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_role.h:105:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rest_role.cc:13: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/string:45, from /build/ceph/src/ceph-15.2.14/src/common/errno.h:4, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rest_role.cc:6: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_role.h:105:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying [ 96%] Building CXX object CMakeFiles/rocksdb.dir/utilities/transactions/write_unprepared_txn.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/utilities/transactions/write_unprepared_txn.cc.o -MF CMakeFiles/rocksdb.dir/utilities/transactions/write_unprepared_txn.cc.o.d -o CMakeFiles/rocksdb.dir/utilities/transactions/write_unprepared_txn.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/utilities/transactions/write_unprepared_txn.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:906:11: required from ‘static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1005:15: required from ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rest_pubsub.cc: In member function ‘virtual int RGWPSCreateTopic_ObjStore_AWS::get_params()’: /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rest_pubsub.cc:43:21: warning: loop variable ‘param’ creates a copy from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] 43 | for (const auto param : s->info.args.get_params()) { | ^~~~~ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rest_pubsub.cc:43:21: note: use reference type to prevent copying 43 | for (const auto param : s->info.args.get_params()) { | ^~~~~ | & /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rest_pubsub.cc: In member function ‘void RGWHandler_REST_PSTopic_AWS::rgw_topic_parse_input()’: /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rest_pubsub.cc:344:23: warning: loop variable ‘attr’ creates a copy from type ‘const std::pair’ [-Wrange-loop-construct] 344 | for (const auto attr : map) { | ^~~~ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rest_pubsub.cc:344:23: note: use reference type to prevent copying 344 | for (const auto attr : map) { | ^~~~ | & [ 27%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_sal.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_sal.cc.o -MF CMakeFiles/rgw_common.dir/rgw_sal.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_sal.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_sal.cc In file included from /build/ceph/src/ceph-15.2.14/src/common/sstring.hh:33, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rest.h:10: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_role.h:105:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rados.h:10, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_role.cc:12: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/string:45, from /usr/include/c++/12.1.1/bitset:47, from /usr/include/c++/12.1.1/regex:38, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_role.cc:6: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 96%] Building CXX object CMakeFiles/rocksdb.dir/utilities/transactions/write_unprepared_txn_db.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/utilities/transactions/write_unprepared_txn_db.cc.o -MF CMakeFiles/rocksdb.dir/utilities/transactions/write_unprepared_txn_db.cc.o.d -o CMakeFiles/rocksdb.dir/utilities/transactions/write_unprepared_txn_db.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/utilities/transactions/write_unprepared_txn_db.cc [ 27%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_string.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_string.cc.o -MF CMakeFiles/rgw_common.dir/rgw_string.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_string.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_string.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/common/ceph_crypto.h:10, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:24: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_role.h:105:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/common/ceph_json.h:6, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_op.h:32: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying [ 96%] Building CXX object CMakeFiles/rocksdb.dir/utilities/ttl/db_ttl_impl.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/utilities/ttl/db_ttl_impl.cc.o -MF CMakeFiles/rocksdb.dir/utilities/ttl/db_ttl_impl.cc.o.d -o CMakeFiles/rocksdb.dir/utilities/ttl/db_ttl_impl.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/utilities/ttl/db_ttl_impl.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_role.h:105:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_role.h:105:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_op.h:35, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rest.h:13, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rest_s3.cc:23: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/bits/stl_algobase.h:65, from /usr/include/c++/12.1.1/array:43, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rest_s3.cc:5: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rados.h:10, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_sal.h:18, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_sal.cc:24: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/string:45, from /usr/include/c++/12.1.1/stdexcept:39, from /usr/include/c++/12.1.1/system_error:41, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_sal.cc:18: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/common/ceph_json.h:6, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rest_role.cc:8: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, 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 /build/ceph/src/ceph-15.2.14/src/common/sstring.hh:33, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rest.h:10: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_role.h:105:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_role.h:105:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying [ 96%] Building CXX object CMakeFiles/rocksdb.dir/utilities/write_batch_with_index/write_batch_with_index.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/utilities/write_batch_with_index/write_batch_with_index.cc.o -MF CMakeFiles/rocksdb.dir/utilities/write_batch_with_index/write_batch_with_index.cc.o.d -o CMakeFiles/rocksdb.dir/utilities/write_batch_with_index/write_batch_with_index.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/utilities/write_batch_with_index/write_batch_with_index.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_role.h:105:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying [ 96%] Building CXX object CMakeFiles/rocksdb.dir/utilities/write_batch_with_index/write_batch_with_index_internal.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/utilities/write_batch_with_index/write_batch_with_index_internal.cc.o -MF CMakeFiles/rocksdb.dir/utilities/write_batch_with_index/write_batch_with_index_internal.cc.o.d -o CMakeFiles/rocksdb.dir/utilities/write_batch_with_index/write_batch_with_index_internal.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/utilities/write_batch_with_index/write_batch_with_index_internal.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_role.h:105:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying In file included from /usr/include/string.h:535, from /usr/include/boost/range/detail/implementation_help.hpp:18, from /usr/include/boost/range/end.hpp:20, from /usr/include/boost/algorithm/string/predicate.hpp:17, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_op.cc:11: In function ‘void* memcpy(void*, const void*, size_t)’, inlined from ‘void* maybe_inline_memcpy(void*, const void*, size_t, size_t)’ at /build/ceph/src/ceph-15.2.14/src/include/inline_memory.h:28:18, inlined from ‘std::streamsize StackStringBuf::xsputn(const char*, std::streamsize) [with long unsigned int SIZE = 4096]’ at /build/ceph/src/ceph-15.2.14/src/common/StackStringStream.h:65:26, inlined from ‘std::streamsize std::basic_streambuf<_CharT, _Traits>::sputn(const char_type*, std::streamsize) [with _CharT = char; _Traits = std::char_traits]’ at /usr/include/c++/12.1.1/streambuf:456:28, inlined from ‘bool boost::io::detail::buffer_fill(std::basic_streambuf<_CharT, _Traits>&, charT, std::size_t) [with charT = char; traits = std::char_traits]’ at /usr/include/boost/io/detail/buffer_fill.hpp:28:47: /usr/include/bits/string_fortified.h:29:33: warning: ‘void* __builtin_memcpy(void*, const void*, long unsigned int)’ specified bound between 9223372036854775808 and 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 96%] Building CXX object CMakeFiles/rocksdb.dir/port/port_posix.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/port/port_posix.cc.o -MF CMakeFiles/rocksdb.dir/port/port_posix.cc.o.d -o CMakeFiles/rocksdb.dir/port/port_posix.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/port/port_posix.cc [ 27%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_tag.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_tag.cc.o -MF CMakeFiles/rgw_common.dir/rgw_tag.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_tag.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_tag.cc [ 27%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_tag_s3.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_tag_s3.cc.o -MF CMakeFiles/rgw_common.dir/rgw_tag_s3.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_tag_s3.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_tag_s3.cc In file included from /build/ceph/src/ceph-15.2.14/src/rgw/jwt-cpp/jwt.h:3, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rest_sts.h:10, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_auth_registry.h:17, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rest_s3.cc:39: /build/ceph/src/ceph-15.2.14/src/rgw/picojson/picojson.h: In member function ‘const T& picojson::value::get() const [with T = double]’: /build/ceph/src/ceph-15.2.14/src/rgw/picojson/picojson.h:386:116: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 386 | (type_ == int64_type && (const_cast(this)->type_ = number_type, const_cast(this)->u_.number_ = u_.int64_), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /build/ceph/src/ceph-15.2.14/src/rgw/picojson/picojson.h:374:12: note: in definition of macro ‘GET’ 374 | return var; \ | ^~~ /build/ceph/src/ceph-15.2.14/src/rgw/picojson/picojson.h: In member function ‘T& picojson::value::get() [with T = double]’: /build/ceph/src/ceph-15.2.14/src/rgw/picojson/picojson.h:386:116: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 386 | (type_ == int64_type && (const_cast(this)->type_ = number_type, const_cast(this)->u_.number_ = u_.int64_), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /build/ceph/src/ceph-15.2.14/src/rgw/picojson/picojson.h:378:12: note: in definition of macro ‘GET’ 378 | return var; \ | ^~~ [ 96%] Building CXX object CMakeFiles/rocksdb.dir/env/env_posix.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/env/env_posix.cc.o -MF CMakeFiles/rocksdb.dir/env/env_posix.cc.o.d -o CMakeFiles/rocksdb.dir/env/env_posix.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/env/env_posix.cc [ 27%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_tools.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_tools.cc.o -MF CMakeFiles/rgw_common.dir/rgw_tools.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_tools.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_tools.cc [100%] Building CXX object CMakeFiles/rocksdb.dir/env/io_posix.cc.o /usr/bin/c++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/build/ceph/src/ceph-15.2.14/src/rocksdb -I/build/ceph/src/ceph-15.2.14/src/rocksdb/include -isystem /build/ceph/src/ceph-15.2.14/src/rocksdb/third-party/gtest-1.7.0/fused-src -Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/rocksdb.dir/env/io_posix.cc.o -MF CMakeFiles/rocksdb.dir/env/io_posix.cc.o.d -o CMakeFiles/rocksdb.dir/env/io_posix.cc.o -c /build/ceph/src/ceph-15.2.14/src/rocksdb/env/io_posix.cc In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/common/ceph_json.h:6, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_role.cc:10: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_role.h:105:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying [ 27%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_user.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_user.cc.o -MF CMakeFiles/rgw_common.dir/rgw_user.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_user.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_user.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_role.h:105:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying [ 27%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_website.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_website.cc.o -MF CMakeFiles/rgw_common.dir/rgw_website.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_website.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_website.cc [ 27%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_xml.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_xml.cc.o -MF CMakeFiles/rgw_common.dir/rgw_xml.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_xml.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_xml.cc In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/common/ceph_crypto.h:10, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rest_s3.cc:8: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying [ 27%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_xml_enc.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_xml_enc.cc.o -MF CMakeFiles/rgw_common.dir/rgw_xml_enc.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_xml_enc.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_xml_enc.cc [ 27%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_torrent.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_torrent.cc.o -MF CMakeFiles/rgw_common.dir/rgw_torrent.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_torrent.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_torrent.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_role.h:105:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/msg/msg_types.h:23, from /build/ceph/src/ceph-15.2.14/src/common/ceph_context.h:33, from /build/ceph/src/ceph-15.2.14/src/common/dout.h:29, from /build/ceph/src/ceph-15.2.14/src/include/Context.h:19, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rados.h:11: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/librados/librados_asio.h:17, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_tools.cc:8: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/string:45, from /build/ceph/src/ceph-15.2.14/src/common/errno.h:4, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_tools.cc:6: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying [ 27%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_crypt.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_crypt.cc.o -MF CMakeFiles/rgw_common.dir/rgw_crypt.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_crypt.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_crypt.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_role.h:105:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying [ 27%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_crypt_sanitize.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_crypt_sanitize.cc.o -MF CMakeFiles/rgw_common.dir/rgw_crypt_sanitize.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_crypt_sanitize.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_crypt_sanitize.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying [ 27%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_iam_policy.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -I/build/ceph/src/ceph-15.2.14/build/src/rgw -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_iam_policy.cc.o -MF CMakeFiles/rgw_common.dir/rgw_iam_policy.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_iam_policy.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_iam_policy.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying [100%] Linking CXX static library librocksdb.a /usr/bin/cmake -P CMakeFiles/rocksdb.dir/cmake_clean_target.cmake /usr/bin/cmake -E cmake_link_script CMakeFiles/rocksdb.dir/link.txt --verbose=1 /usr/bin/ar qc librocksdb.a CMakeFiles/rocksdb.dir/cache/clock_cache.cc.o CMakeFiles/rocksdb.dir/cache/lru_cache.cc.o CMakeFiles/rocksdb.dir/cache/sharded_cache.cc.o CMakeFiles/rocksdb.dir/db/builder.cc.o CMakeFiles/rocksdb.dir/db/c.cc.o CMakeFiles/rocksdb.dir/db/column_family.cc.o CMakeFiles/rocksdb.dir/db/compacted_db_impl.cc.o CMakeFiles/rocksdb.dir/db/compaction.cc.o CMakeFiles/rocksdb.dir/db/compaction_iterator.cc.o CMakeFiles/rocksdb.dir/db/compaction_job.cc.o CMakeFiles/rocksdb.dir/db/compaction_picker.cc.o CMakeFiles/rocksdb.dir/db/compaction_picker_fifo.cc.o CMakeFiles/rocksdb.dir/db/compaction_picker_universal.cc.o CMakeFiles/rocksdb.dir/db/convenience.cc.o CMakeFiles/rocksdb.dir/db/db_filesnapshot.cc.o CMakeFiles/rocksdb.dir/db/db_impl.cc.o CMakeFiles/rocksdb.dir/db/db_impl_write.cc.o CMakeFiles/rocksdb.dir/db/db_impl_compaction_flush.cc.o CMakeFiles/rocksdb.dir/db/db_impl_files.cc.o CMakeFiles/rocksdb.dir/db/db_impl_open.cc.o CMakeFiles/rocksdb.dir/db/db_impl_debug.cc.o CMakeFiles/rocksdb.dir/db/db_impl_experimental.cc.o CMakeFiles/rocksdb.dir/db/db_impl_readonly.cc.o CMakeFiles/rocksdb.dir/db/db_impl_secondary.cc.o CMakeFiles/rocksdb.dir/db/db_info_dumper.cc.o CMakeFiles/rocksdb.dir/db/db_iter.cc.o CMakeFiles/rocksdb.dir/db/dbformat.cc.o CMakeFiles/rocksdb.dir/db/error_handler.cc.o CMakeFiles/rocksdb.dir/db/event_helpers.cc.o CMakeFiles/rocksdb.dir/db/experimental.cc.o CMakeFiles/rocksdb.dir/db/external_sst_file_ingestion_job.cc.o CMakeFiles/rocksdb.dir/db/file_indexer.cc.o CMakeFiles/rocksdb.dir/db/flush_job.cc.o CMakeFiles/rocksdb.dir/db/flush_scheduler.cc.o CMakeFiles/rocksdb.dir/db/forward_iterator.cc.o CMakeFiles/rocksdb.dir/db/internal_stats.cc.o CMakeFiles/rocksdb.dir/db/in_memory_stats_history.cc.o CMakeFiles/rocksdb.dir/db/logs_with_prep_tracker.cc.o CMakeFiles/rocksdb.dir/db/log_reader.cc.o CMakeFiles/rocksdb.dir/db/log_writer.cc.o CMakeFiles/rocksdb.dir/db/malloc_stats.cc.o CMakeFiles/rocksdb.dir/db/memtable.cc.o CMakeFiles/rocksdb.dir/db/memtable_list.cc.o CMakeFiles/rocksdb.dir/db/merge_helper.cc.o CMakeFiles/rocksdb.dir/db/merge_operator.cc.o CMakeFiles/rocksdb.dir/db/range_del_aggregator.cc.o CMakeFiles/rocksdb.dir/db/range_tombstone_fragmenter.cc.o CMakeFiles/rocksdb.dir/db/repair.cc.o CMakeFiles/rocksdb.dir/db/snapshot_impl.cc.o CMakeFiles/rocksdb.dir/db/table_cache.cc.o CMakeFiles/rocksdb.dir/db/table_properties_collector.cc.o CMakeFiles/rocksdb.dir/db/transaction_log_impl.cc.o CMakeFiles/rocksdb.dir/db/version_builder.cc.o CMakeFiles/rocksdb.dir/db/version_edit.cc.o CMakeFiles/rocksdb.dir/db/version_set.cc.o CMakeFiles/rocksdb.dir/db/wal_manager.cc.o CMakeFiles/rocksdb.dir/db/write_batch.cc.o CMakeFiles/rocksdb.dir/db/write_batch_base.cc.o CMakeFiles/rocksdb.dir/db/write_controller.cc.o CMakeFiles/rocksdb.dir/db/write_thread.cc.o CMakeFiles/rocksdb.dir/env/env.cc.o CMakeFiles/rocksdb.dir/env/env_chroot.cc.o CMakeFiles/rocksdb.dir/env/env_encryption.cc.o CMakeFiles/rocksdb.dir/env/env_hdfs.cc.o CMakeFiles/rocksdb.dir/env/mock_env.cc.o CMakeFiles/rocksdb.dir/memtable/alloc_tracker.cc.o CMakeFiles/rocksdb.dir/memtable/hash_linklist_rep.cc.o CMakeFiles/rocksdb.dir/memtable/hash_skiplist_rep.cc.o CMakeFiles/rocksdb.dir/memtable/skiplistrep.cc.o CMakeFiles/rocksdb.dir/memtable/vectorrep.cc.o CMakeFiles/rocksdb.dir/memtable/write_buffer_manager.cc.o CMakeFiles/rocksdb.dir/monitoring/histogram.cc.o CMakeFiles/rocksdb.dir/monitoring/histogram_windowing.cc.o CMakeFiles/rocksdb.dir/monitoring/instrumented_mutex.cc.o CMakeFiles/rocksdb.dir/monitoring/iostats_context.cc.o CMakeFiles/rocksdb.dir/monitoring/perf_context.cc.o CMakeFiles/rocksdb.dir/monitoring/perf_level.cc.o CMakeFiles/rocksdb.dir/monitoring/statistics.cc.o CMakeFiles/rocksdb.dir/monitoring/thread_status_impl.cc.o CMakeFiles/rocksdb.dir/monitoring/thread_status_updater.cc.o CMakeFiles/rocksdb.dir/monitoring/thread_status_util.cc.o CMakeFiles/rocksdb.dir/monitoring/thread_status_util_debug.cc.o CMakeFiles/rocksdb.dir/options/cf_options.cc.o CMakeFiles/rocksdb.dir/options/db_options.cc.o CMakeFiles/rocksdb.dir/options/options.cc.o CMakeFiles/rocksdb.dir/options/options_helper.cc.o CMakeFiles/rocksdb.dir/options/options_parser.cc.o CMakeFiles/rocksdb.dir/options/options_sanity_check.cc.o CMakeFiles/rocksdb.dir/port/stack_trace.cc.o CMakeFiles/rocksdb.dir/table/adaptive_table_factory.cc.o CMakeFiles/rocksdb.dir/table/block.cc.o CMakeFiles/rocksdb.dir/table/block_based_filter_block.cc.o CMakeFiles/rocksdb.dir/table/block_based_table_builder.cc.o CMakeFiles/rocksdb.dir/table/block_based_table_factory.cc.o CMakeFiles/rocksdb.dir/table/block_based_table_reader.cc.o CMakeFiles/rocksdb.dir/table/block_builder.cc.o CMakeFiles/rocksdb.dir/table/block_fetcher.cc.o CMakeFiles/rocksdb.dir/table/block_prefix_index.cc.o CMakeFiles/rocksdb.dir/table/bloom_block.cc.o CMakeFiles/rocksdb.dir/table/cuckoo_table_builder.cc.o CMakeFiles/rocksdb.dir/table/cuckoo_table_factory.cc.o CMakeFiles/rocksdb.dir/table/cuckoo_table_reader.cc.o CMakeFiles/rocksdb.dir/table/data_block_hash_index.cc.o CMakeFiles/rocksdb.dir/table/data_block_footer.cc.o CMakeFiles/rocksdb.dir/table/flush_block_policy.cc.o CMakeFiles/rocksdb.dir/table/format.cc.o CMakeFiles/rocksdb.dir/table/full_filter_block.cc.o CMakeFiles/rocksdb.dir/table/get_context.cc.o CMakeFiles/rocksdb.dir/table/index_builder.cc.o CMakeFiles/rocksdb.dir/table/iterator.cc.o CMakeFiles/rocksdb.dir/table/merging_iterator.cc.o CMakeFiles/rocksdb.dir/table/meta_blocks.cc.o CMakeFiles/rocksdb.dir/table/partitioned_filter_block.cc.o CMakeFiles/rocksdb.dir/table/persistent_cache_helper.cc.o CMakeFiles/rocksdb.dir/table/plain_table_builder.cc.o CMakeFiles/rocksdb.dir/table/plain_table_factory.cc.o CMakeFiles/rocksdb.dir/table/plain_table_index.cc.o CMakeFiles/rocksdb.dir/table/plain_table_key_coding.cc.o CMakeFiles/rocksdb.dir/table/plain_table_reader.cc.o CMakeFiles/rocksdb.dir/table/sst_file_reader.cc.o CMakeFiles/rocksdb.dir/table/sst_file_writer.cc.o CMakeFiles/rocksdb.dir/table/table_properties.cc.o CMakeFiles/rocksdb.dir/table/two_level_iterator.cc.o CMakeFiles/rocksdb.dir/tools/db_bench_tool.cc.o CMakeFiles/rocksdb.dir/tools/dump/db_dump_tool.cc.o CMakeFiles/rocksdb.dir/tools/ldb_cmd.cc.o CMakeFiles/rocksdb.dir/tools/ldb_tool.cc.o CMakeFiles/rocksdb.dir/tools/sst_dump_tool.cc.o CMakeFiles/rocksdb.dir/tools/trace_analyzer_tool.cc.o CMakeFiles/rocksdb.dir/util/arena.cc.o CMakeFiles/rocksdb.dir/util/auto_roll_logger.cc.o CMakeFiles/rocksdb.dir/util/bloom.cc.o CMakeFiles/rocksdb.dir/util/coding.cc.o CMakeFiles/rocksdb.dir/util/compaction_job_stats_impl.cc.o CMakeFiles/rocksdb.dir/util/comparator.cc.o CMakeFiles/rocksdb.dir/util/compression_context_cache.cc.o CMakeFiles/rocksdb.dir/util/concurrent_arena.cc.o CMakeFiles/rocksdb.dir/util/concurrent_task_limiter_impl.cc.o CMakeFiles/rocksdb.dir/util/crc32c.cc.o CMakeFiles/rocksdb.dir/util/delete_scheduler.cc.o CMakeFiles/rocksdb.dir/util/dynamic_bloom.cc.o CMakeFiles/rocksdb.dir/util/event_logger.cc.o CMakeFiles/rocksdb.dir/util/file_reader_writer.cc.o CMakeFiles/rocksdb.dir/util/file_util.cc.o CMakeFiles/rocksdb.dir/util/filename.cc.o CMakeFiles/rocksdb.dir/util/filter_policy.cc.o CMakeFiles/rocksdb.dir/util/hash.cc.o CMakeFiles/rocksdb.dir/util/jemalloc_nodump_allocator.cc.o CMakeFiles/rocksdb.dir/util/log_buffer.cc.o CMakeFiles/rocksdb.dir/util/murmurhash.cc.o CMakeFiles/rocksdb.dir/util/random.cc.o CMakeFiles/rocksdb.dir/util/rate_limiter.cc.o CMakeFiles/rocksdb.dir/util/slice.cc.o CMakeFiles/rocksdb.dir/util/sst_file_manager_impl.cc.o CMakeFiles/rocksdb.dir/util/status.cc.o CMakeFiles/rocksdb.dir/util/string_util.cc.o CMakeFiles/rocksdb.dir/util/sync_point.cc.o CMakeFiles/rocksdb.dir/util/sync_point_impl.cc.o CMakeFiles/rocksdb.dir/util/testutil.cc.o CMakeFiles/rocksdb.dir/util/thread_local.cc.o CMakeFiles/rocksdb.dir/util/threadpool_imp.cc.o CMakeFiles/rocksdb.dir/util/trace_replay.cc.o CMakeFiles/rocksdb.dir/util/transaction_test_util.cc.o CMakeFiles/rocksdb.dir/util/xxhash.cc.o CMakeFiles/rocksdb.dir/utilities/backupable/backupable_db.cc.o CMakeFiles/rocksdb.dir/utilities/blob_db/blob_compaction_filter.cc.o CMakeFiles/rocksdb.dir/utilities/blob_db/blob_db.cc.o CMakeFiles/rocksdb.dir/utilities/blob_db/blob_db_impl.cc.o CMakeFiles/rocksdb.dir/utilities/blob_db/blob_db_impl_filesnapshot.cc.o CMakeFiles/rocksdb.dir/utilities/blob_db/blob_dump_tool.cc.o CMakeFiles/rocksdb.dir/utilities/blob_db/blob_file.cc.o CMakeFiles/rocksdb.dir/utilities/blob_db/blob_log_reader.cc.o CMakeFiles/rocksdb.dir/utilities/blob_db/blob_log_writer.cc.o CMakeFiles/rocksdb.dir/utilities/blob_db/blob_log_format.cc.o CMakeFiles/rocksdb.dir/utilities/cassandra/cassandra_compaction_filter.cc.o CMakeFiles/rocksdb.dir/utilities/cassandra/format.cc.o CMakeFiles/rocksdb.dir/utilities/cassandra/merge_operator.cc.o CMakeFiles/rocksdb.dir/utilities/checkpoint/checkpoint_impl.cc.o CMakeFiles/rocksdb.dir/utilities/compaction_filters/remove_emptyvalue_compactionfilter.cc.o CMakeFiles/rocksdb.dir/utilities/debug.cc.o CMakeFiles/rocksdb.dir/utilities/env_mirror.cc.o CMakeFiles/rocksdb.dir/utilities/env_timed.cc.o CMakeFiles/rocksdb.dir/utilities/leveldb_options/leveldb_options.cc.o CMakeFiles/rocksdb.dir/utilities/memory/memory_util.cc.o CMakeFiles/rocksdb.dir/utilities/merge_operators/bytesxor.cc.o CMakeFiles/rocksdb.dir/utilities/merge_operators/max.cc.o CMakeFiles/rocksdb.dir/utilities/merge_operators/put.cc.o CMakeFiles/rocksdb.dir/utilities/merge_operators/string_append/stringappend.cc.o CMakeFiles/rocksdb.dir/utilities/merge_operators/string_append/stringappend2.cc.o CMakeFiles/rocksdb.dir/utilities/merge_operators/uint64add.cc.o CMakeFiles/rocksdb.dir/utilities/option_change_migration/option_change_migration.cc.o CMakeFiles/rocksdb.dir/utilities/options/options_util.cc.o CMakeFiles/rocksdb.dir/utilities/persistent_cache/block_cache_tier.cc.o CMakeFiles/rocksdb.dir/utilities/persistent_cache/block_cache_tier_file.cc.o CMakeFiles/rocksdb.dir/utilities/persistent_cache/block_cache_tier_metadata.cc.o CMakeFiles/rocksdb.dir/utilities/persistent_cache/persistent_cache_tier.cc.o CMakeFiles/rocksdb.dir/utilities/persistent_cache/volatile_tier_impl.cc.o CMakeFiles/rocksdb.dir/utilities/simulator_cache/sim_cache.cc.o CMakeFiles/rocksdb.dir/utilities/table_properties_collectors/compact_on_deletion_collector.cc.o CMakeFiles/rocksdb.dir/utilities/trace/file_trace_reader_writer.cc.o CMakeFiles/rocksdb.dir/utilities/transactions/optimistic_transaction_db_impl.cc.o CMakeFiles/rocksdb.dir/utilities/transactions/optimistic_transaction.cc.o CMakeFiles/rocksdb.dir/utilities/transactions/pessimistic_transaction.cc.o CMakeFiles/rocksdb.dir/utilities/transactions/pessimistic_transaction_db.cc.o CMakeFiles/rocksdb.dir/utilities/transactions/snapshot_checker.cc.o CMakeFiles/rocksdb.dir/utilities/transactions/transaction_base.cc.o CMakeFiles/rocksdb.dir/utilities/transactions/transaction_db_mutex_impl.cc.o CMakeFiles/rocksdb.dir/utilities/transactions/transaction_lock_mgr.cc.o CMakeFiles/rocksdb.dir/utilities/transactions/transaction_util.cc.o CMakeFiles/rocksdb.dir/utilities/transactions/write_prepared_txn.cc.o CMakeFiles/rocksdb.dir/utilities/transactions/write_prepared_txn_db.cc.o CMakeFiles/rocksdb.dir/utilities/transactions/write_unprepared_txn.cc.o CMakeFiles/rocksdb.dir/utilities/transactions/write_unprepared_txn_db.cc.o CMakeFiles/rocksdb.dir/utilities/ttl/db_ttl_impl.cc.o CMakeFiles/rocksdb.dir/utilities/write_batch_with_index/write_batch_with_index.cc.o CMakeFiles/rocksdb.dir/utilities/write_batch_with_index/write_batch_with_index_internal.cc.o CMakeFiles/rocksdb.dir/port/port_posix.cc.o CMakeFiles/rocksdb.dir/env/env_posix.cc.o CMakeFiles/rocksdb.dir/env/io_posix.cc.o CMakeFiles/build_version.dir/build_version.cc.o /usr/bin/ranlib librocksdb.a In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rados.h:10, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_torrent.h:14, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_torrent.cc:9: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/string:45, from /usr/include/c++/12.1.1/bits/locale_classes.h:40, from /usr/include/c++/12.1.1/bits/ios_base.h:41, from /usr/include/c++/12.1.1/ios:42, from /usr/include/c++/12.1.1/istream:38, from /usr/include/c++/12.1.1/sstream:38, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_torrent.cc:7: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_tag.cc:11: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/bits/stl_algobase.h:65, from /usr/include/c++/12.1.1/bits/stl_tree.h:63, from /usr/include/c++/12.1.1/map:60, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_tag.cc:4: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ make[6]: Leaving directory '/build/ceph/src/ceph-15.2.14/build/src/rocksdb' [100%] Built target rocksdb make[5]: Leaving directory '/build/ceph/src/ceph-15.2.14/build/src/rocksdb' /usr/bin/cmake -E cmake_progress_start /build/ceph/src/ceph-15.2.14/build/src/rocksdb/CMakeFiles 0 make[4]: Leaving directory '/build/ceph/src/ceph-15.2.14/build/src/rocksdb' make[3]: Leaving directory '/build/ceph/src/ceph-15.2.14/build/src/rocksdb' [ 27%] Performing install step for 'rocksdb_ext' cd /build/ceph/src/ceph-15.2.14/build/src/rocksdb && true cd /build/ceph/src/ceph-15.2.14/build/src/rocksdb && /usr/bin/cmake -E touch /build/ceph/src/ceph-15.2.14/build/src/rocksdb_ext-prefix/src/rocksdb_ext-stamp/rocksdb_ext-install [ 27%] Completed 'rocksdb_ext' cd /build/ceph/src/ceph-15.2.14/build/src && /usr/bin/cmake -E make_directory /build/ceph/src/ceph-15.2.14/build/src/CMakeFiles cd /build/ceph/src/ceph-15.2.14/build/src && /usr/bin/cmake -E touch /build/ceph/src/ceph-15.2.14/build/src/CMakeFiles/rocksdb_ext-complete In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rados.h:10, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_sal.h:18, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_user.cc:14: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/string:45, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_user.cc:6: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ cd /build/ceph/src/ceph-15.2.14/build/src && /usr/bin/cmake -E touch /build/ceph/src/ceph-15.2.14/build/src/rocksdb_ext-prefix/src/rocksdb_ext-stamp/rocksdb_ext-done make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' [ 27%] Built target rocksdb_ext [ 28%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_rest_user_policy.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_rest_user_policy.cc.o -MF CMakeFiles/rgw_common.dir/rgw_rest_user_policy.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_rest_user_policy.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rest_user_policy.cc In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_tag.h:8, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_tag.cc:10: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying [ 28%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_zone.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_zone.cc.o -MF CMakeFiles/rgw_common.dir/rgw_zone.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_zone.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.cc [ 28%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_sts.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_sts.cc.o -MF CMakeFiles/rgw_common.dir/rgw_sts.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_sts.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_sts.cc In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_xml_enc.cc:17: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/bits/stl_algobase.h:65, from /usr/include/c++/12.1.1/array:43, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:20: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/common/ceph_crypto.h:10, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:24: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying [ 28%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_rest_sts.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_rest_sts.cc.o -MF CMakeFiles/rgw_common.dir/rgw_rest_sts.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_rest_sts.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rest_sts.cc In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_op.h:35, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_crypt.cc:8: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/bits/stl_algobase.h:65, from /usr/include/c++/12.1.1/array:43, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_op.h:18: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying [ 28%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_perf_counters.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_perf_counters.cc.o -MF CMakeFiles/rgw_common.dir/rgw_perf_counters.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_perf_counters.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_perf_counters.cc In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_crypt_sanitize.cc:11: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/bits/stl_algobase.h:65, from /usr/include/c++/12.1.1/array:43, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:20: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_auth.h:14, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_iam_policy.cc:16: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/string:45, from /usr/include/c++/12.1.1/bits/locale_classes.h:40, from /usr/include/c++/12.1.1/bits/ios_base.h:41, from /usr/include/c++/12.1.1/ios:42, from /usr/include/c++/12.1.1/ostream:38, from /usr/include/c++/12.1.1/iostream:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_iam_policy.cc:6: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:41, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_tools.cc:23: /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:45:32: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/interval_set.h:109:38: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/common/ceph_crypto.h:10, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:24: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::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 /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/common/ceph_crypto.h:10, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:24: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying [ 28%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_rest_oidc_provider.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_rest_oidc_provider.cc.o -MF CMakeFiles/rgw_common.dir/rgw_rest_oidc_provider.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_rest_oidc_provider.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rest_oidc_provider.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/common/ceph_json.h:6, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_user.cc:12: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/msg/msg_types.h:23, from /build/ceph/src/ceph-15.2.14/src/common/ceph_context.h:33, from /build/ceph/src/ceph-15.2.14/src/common/dout.h:29, from /build/ceph/src/ceph-15.2.14/src/include/Context.h:19, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rados.h:11: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_cache.h:70:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rados.h:10, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_sts.cc:14: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/string:45, from /usr/include/c++/12.1.1/bitset:47, from /usr/include/c++/12.1.1/regex:38, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_sts.cc:6: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rest_user_policy.cc:14: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/string:45, from /usr/include/c++/12.1.1/bitset:47, from /usr/include/c++/12.1.1/regex:38, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rest_user_policy.cc:5: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_cache.h:70:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying [ 28%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_rest_iam.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_rest_iam.cc.o -MF CMakeFiles/rgw_common.dir/rgw_rest_iam.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_rest_iam.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rest_iam.cc In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_tools.cc:11: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, 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 /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:7, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.cc:6: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/string:45, from /build/ceph/src/ceph-15.2.14/src/common/errno.h:4, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.cc:4: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying In file included from /usr/include/string.h:535, from /usr/include/c++/12.1.1/cstring:42, from /usr/include/boost/assert/source_location.hpp:17, from /usr/include/boost/exception/exception.hpp:9, from /usr/include/boost/throw_exception.hpp:21, from /usr/include/boost/utility/string_view.hpp:25, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:22: In function ‘void* memcpy(void*, const void*, size_t)’, inlined from ‘void* maybe_inline_memcpy(void*, const void*, size_t, size_t)’ at /build/ceph/src/ceph-15.2.14/src/include/inline_memory.h:28:18, inlined from ‘std::streamsize StackStringBuf::xsputn(const char*, std::streamsize) [with long unsigned int SIZE = 4096]’ at /build/ceph/src/ceph-15.2.14/src/common/StackStringStream.h:65:26, inlined from ‘std::streamsize std::basic_streambuf<_CharT, _Traits>::sputn(const char_type*, std::streamsize) [with _CharT = char; _Traits = std::char_traits]’ at /usr/include/c++/12.1.1/streambuf:456:28, inlined from ‘bool boost::io::detail::buffer_fill(std::basic_streambuf&, charT, std::size_t) [with charT = char; traits = std::char_traits]’ at /usr/include/boost/io/detail/buffer_fill.hpp:28:47: /usr/include/bits/string_fortified.h:29:33: warning: ‘void* __builtin_memcpy(void*, const void*, long unsigned int)’ specified bound between 9223372036854775808 and 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/CompatSet.h:85:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:3809:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&’ {aka ‘const std::pair, std::optional >&’} binds to a temporary constructed from type ‘const std::pair, std::optional >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T’ {aka ‘const std::pair, std::optional >’} to make the copy explicit or ‘const std::pair, std::optional >&’ to prevent copying [ 28%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_object_lock.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_object_lock.cc.o -MF CMakeFiles/rgw_common.dir/rgw_object_lock.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_object_lock.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_object_lock.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying [ 28%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_kms.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_kms.cc.o -MF CMakeFiles/rgw_common.dir/rgw_kms.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_kms.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_kms.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/common/ceph_json.h:6, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_op.h:32: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/CompatSet.h:85:13: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/auth/Auth.h:44:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>&’} binds to a temporary constructed from type ‘const std::pair, ceph::buffer::v15_2_0::list>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T’ {aka ‘const std::pair, ceph::buffer::v15_2_0::list>’} to make the copy explicit or ‘const std::pair, ceph::buffer::v15_2_0::list>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:3809:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&’ {aka ‘const std::pair, std::optional >&’} binds to a temporary constructed from type ‘const std::pair, std::optional >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T’ {aka ‘const std::pair, std::optional >’} to make the copy explicit or ‘const std::pair, std::optional >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_role.h:105:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_role.h:105:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying [ 28%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_url.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_url.cc.o -MF CMakeFiles/rgw_common.dir/rgw_url.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_url.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_url.cc /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:906:11: required from ‘static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:667:19: required from ‘std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1005:15: required from ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/osd/osd_types.h:6172:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned 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 /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/common/ceph_json.h:6, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rest_user_policy.cc:9: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying [ 28%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_oidc_provider.cc.o In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_op.h:35, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rest.h:13, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rest_sts.cc:22: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_oidc_provider.cc.o -MF CMakeFiles/rgw_common.dir/rgw_oidc_provider.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_oidc_provider.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_oidc_provider.cc In file included from /usr/include/c++/12.1.1/bits/stl_algobase.h:65, from /usr/include/c++/12.1.1/vector:60, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rest_sts.cc:3: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rest_user_policy.cc:153:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/common/ceph_crypto.h:10, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:24: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rest_user_policy.cc:153:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying [ 28%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_kafka.cc.o cd /build/ceph/src/ceph-15.2.14/build/src/rgw && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-15.2.14/build/src/include -I/build/ceph/src/ceph-15.2.14/src -I/build/ceph/src/ceph-15.2.14/src/dmclock/support/src -I/build/ceph/src/ceph-15.2.14/src/fmt/include -I/build/ceph/src/ceph-15.2.14/src/rgw -I/build/ceph/src/ceph-15.2.14/src/spawn/include -isystem /build/ceph/src/ceph-15.2.14/build/include -isystem /build/ceph/src/ceph-15.2.14/src/xxHash -isystem /build/ceph/src/ceph-15.2.14/src/rapidjson/include -isystem /build/ceph/src/ceph-15.2.14/src/rgw/services -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/rgw/CMakeFiles/rgw_common.dir/rgw_kafka.cc.o -MF CMakeFiles/rgw_common.dir/rgw_kafka.cc.o.d -o CMakeFiles/rgw_common.dir/rgw_kafka.cc.o -c /build/ceph/src/ceph-15.2.14/src/rgw/rgw_kafka.cc In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/common/ceph_json.h:6, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_sts.cc:12: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_role.h:105:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rest_oidc_provider.cc:13: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/string:45, from /build/ceph/src/ceph-15.2.14/src/common/errno.h:4, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rest_oidc_provider.cc:6: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_role.h:105:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying In file included from /usr/include/string.h:535, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rest_s3.cc:6: In function ‘void* memcpy(void*, const void*, size_t)’, inlined from ‘void* maybe_inline_memcpy(void*, const void*, size_t, size_t)’ at /build/ceph/src/ceph-15.2.14/src/include/inline_memory.h:28:18, inlined from ‘std::streamsize StackStringBuf::xsputn(const char*, std::streamsize) [with long unsigned int SIZE = 4096]’ at /build/ceph/src/ceph-15.2.14/src/common/StackStringStream.h:65:26, inlined from ‘std::streamsize std::basic_streambuf<_CharT, _Traits>::sputn(const char_type*, std::streamsize) [with _CharT = char; _Traits = std::char_traits]’ at /usr/include/c++/12.1.1/streambuf:456:28, inlined from ‘bool boost::io::detail::buffer_fill(std::basic_streambuf<_CharT, _Traits>&, charT, std::size_t) [with charT = char; traits = std::char_traits]’ at /usr/include/boost/io/detail/buffer_fill.hpp:28:47: /usr/include/bits/string_fortified.h:29:33: warning: ‘void* __builtin_memcpy(void*, const void*, long unsigned int)’ specified bound between 9223372036854775808 and 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_op.h:35, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rest.h:13, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rest_iam.cc:6: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/iterator:61, from /usr/include/boost/iterator/iterator_categories.hpp:23, from /usr/include/boost/iterator/iterator_adaptor.hpp:14, from /usr/include/boost/token_iterator.hpp:22, from /usr/include/boost/tokenizer.hpp:20, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rest_iam.cc:4: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /usr/include/string.h:535, from /usr/include/c++/12.1.1/cstring:42, from /usr/include/boost/assert/source_location.hpp:17, from /usr/include/boost/exception/exception.hpp:9, from /usr/include/boost/throw_exception.hpp:21, from /usr/include/boost/optional/optional.hpp:36, from /usr/include/boost/optional.hpp:15, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_op.h:25: In function ‘void* memcpy(void*, const void*, size_t)’, inlined from ‘void* maybe_inline_memcpy(void*, const void*, size_t, size_t)’ at /build/ceph/src/ceph-15.2.14/src/include/inline_memory.h:28:18, inlined from ‘std::streamsize StackStringBuf::xsputn(const char*, std::streamsize) [with long unsigned int SIZE = 4096]’ at /build/ceph/src/ceph-15.2.14/src/common/StackStringStream.h:65:26, inlined from ‘std::streamsize std::basic_streambuf<_CharT, _Traits>::sputn(const char_type*, std::streamsize) [with _CharT = char; _Traits = std::char_traits]’ at /usr/include/c++/12.1.1/streambuf:456:28, inlined from ‘bool boost::io::detail::buffer_fill(std::basic_streambuf<_CharT, _Traits>&, charT, std::size_t) [with charT = char; traits = std::char_traits]’ at /usr/include/boost/io/detail/buffer_fill.hpp:28:47: /usr/include/bits/string_fortified.h:29:33: warning: ‘void* __builtin_memcpy(void*, const void*, long unsigned int)’ specified bound between 9223372036854775808 and 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/ceph/src/ceph-15.2.14/src/rgw/jwt-cpp/jwt.h:3, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rest_sts.h:10, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_auth_registry.h:17, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rest_sts.cc:24: /build/ceph/src/ceph-15.2.14/src/rgw/picojson/picojson.h: In member function ‘const T& picojson::value::get() const [with T = double]’: /build/ceph/src/ceph-15.2.14/src/rgw/picojson/picojson.h:386:116: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 386 | (type_ == int64_type && (const_cast(this)->type_ = number_type, const_cast(this)->u_.number_ = u_.int64_), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /build/ceph/src/ceph-15.2.14/src/rgw/picojson/picojson.h:374:12: note: in definition of macro ‘GET’ 374 | return var; \ | ^~~ /build/ceph/src/ceph-15.2.14/src/rgw/picojson/picojson.h: In member function ‘T& picojson::value::get() [with T = double]’: /build/ceph/src/ceph-15.2.14/src/rgw/picojson/picojson.h:386:116: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 386 | (type_ == int64_type && (const_cast(this)->type_ = number_type, const_cast(this)->u_.number_ = u_.int64_), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /build/ceph/src/ceph-15.2.14/src/rgw/picojson/picojson.h:378:12: note: in definition of macro ‘GET’ 378 | return var; \ | ^~~ In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rados.h:10, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_oidc_provider.cc:12: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/string:45, from /usr/include/c++/12.1.1/bitset:47, from /usr/include/c++/12.1.1/regex:38, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_oidc_provider.cc:6: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:39, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_op.h:35, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_crypt.h:11, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_kms.cc:11: /build/ceph/src/ceph-15.2.14/src/include/rados/librados.hpp:105:54: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.1.1/bits/stl_algobase.h:65, from /usr/include/c++/12.1.1/bits/stl_tree.h:63, from /usr/include/c++/12.1.1/map:60, from /build/ceph/src/ceph-15.2.14/src/include/str_map.h:22, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_kms.cc:9: /usr/include/c++/12.1.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/common/ceph_json.h:6, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rest_sts.cc:20: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, 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 /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/common/ceph_json.h:6, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rest_oidc_provider.cc:8: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_role.h:105:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_role.h:105:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_role.h:105:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_role.h:105:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/rgw/jwt-cpp/jwt.h:3, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rest_sts.h:10, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_auth_registry.h:17, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_process.h:10, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rest_iam.cc:10: /build/ceph/src/ceph-15.2.14/src/rgw/picojson/picojson.h: In member function ‘const T& picojson::value::get() const [with T = double]’: /build/ceph/src/ceph-15.2.14/src/rgw/picojson/picojson.h:386:116: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 386 | (type_ == int64_type && (const_cast(this)->type_ = number_type, const_cast(this)->u_.number_ = u_.int64_), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /build/ceph/src/ceph-15.2.14/src/rgw/picojson/picojson.h:374:12: note: in definition of macro ‘GET’ 374 | return var; \ | ^~~ /build/ceph/src/ceph-15.2.14/src/rgw/picojson/picojson.h: In member function ‘T& picojson::value::get() [with T = double]’: /build/ceph/src/ceph-15.2.14/src/rgw/picojson/picojson.h:386:116: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 386 | (type_ == int64_type && (const_cast(this)->type_ = number_type, const_cast(this)->u_.number_ = u_.int64_), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /build/ceph/src/ceph-15.2.14/src/rgw/picojson/picojson.h:378:12: note: in definition of macro ‘GET’ 378 | return var; \ | ^~~ In file included from /build/ceph/src/ceph-15.2.14/src/common/sstring.hh:33, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_rest.h:10: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_role.h:105:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/common/ceph_json.h:6, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_op.h:32: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_role.h:105:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_role.h:105:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_role.h:105:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying In file included from /build/ceph/src/ceph-15.2.14/src/include/encoding.h:41, from /build/ceph/src/ceph-15.2.14/src/include/uuid.h:9, from /build/ceph/src/ceph-15.2.14/src/include/types.h:22, from /build/ceph/src/ceph-15.2.14/src/common/ceph_json.h:6, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_oidc_provider.cc:10: /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:1554:23: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:963:23: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:317:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&’ {aka ‘const std::pair, int>&’} binds to a temporary constructed from type ‘const std::pair, int>’ [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T’ {aka ‘const std::pair, int>’} to make the copy explicit or ‘const std::pair, int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_acl.h:319:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&’ {aka ‘const std::pair&’} binds to a temporary constructed from type ‘const std::pair’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T’ {aka ‘const std::pair’} to make the copy explicit or ‘const std::pair&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:632:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&’ {aka ‘const std::pair, unsigned int>&’} binds to a temporary constructed from type ‘const std::pair, unsigned int>’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T’ {aka ‘const std::pair, unsigned int>’} to make the copy explicit or ‘const std::pair, unsigned int>&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_common.h:859:12: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&’ {aka ‘const std::pair >&’} binds to a temporary constructed from type ‘const std::pair >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T’ {aka ‘const std::pair >’} to make the copy explicit or ‘const std::pair >&’ to prevent copying /build/ceph/src/ceph-15.2.14/src/include/denc.h: In instantiation of ‘static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’: /build/ceph/src/ceph-15.2.14/src/include/denc.h:981:22: required from ‘static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/include/denc.h:1556:17: required from ‘std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]’ /build/ceph/src/ceph-15.2.14/src/rgw/rgw_zone.h:428:11: required from here /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: warning: loop variable ‘e’ of type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} binds to a temporary constructed from type ‘const std::pair, std::__cxx11::basic_string >’ [-Wrange-loop-construct] /build/ceph/src/ceph-15.2.14/src/include/denc.h:1001:21: note: use non-reference type ‘const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T’ {aka ‘const std::pair, std::__cxx11::basic_string >’} to make the copy explicit or ‘const std::pair, std::__cxx11::basic_string >&’ to prevent copying In file included from /usr/include/string.h:535, from /usr/include/c++/12.1.1/cstring:42, from /usr/include/boost/assert/source_location.hpp:17, from /usr/include/boost/exception/exception.hpp:9, from /usr/include/boost/throw_exception.hpp:21, from /usr/include/boost/optional/optional.hpp:36, from /usr/include/boost/optional.hpp:15, from /build/ceph/src/ceph-15.2.14/src/rgw/rgw_op.h:25: In function ‘void* memcpy(void*, const void*, size_t)’, inlined from ‘void* maybe_inline_memcpy(void*, const void*, size_t, size_t)’ at /build/ceph/src/ceph-15.2.14/src/include/inline_memory.h:28:18, inlined from ‘std::streamsize StackStringBuf::xsputn(const char*, std::streamsize) [with long unsigned int SIZE = 4096]’ at /build/ceph/src/ceph-15.2.14/src/common/StackStringStream.h:65:26, inlined from ‘std::streamsize std::basic_streambuf<_CharT, _Traits>::sputn(const char_type*, std::streamsize) [with _CharT = char; _Traits = std::char_traits]’ at /usr/include/c++/12.1.1/streambuf:456:28, inlined from ‘bool boost::io::detail::buffer_fill(std::basic_streambuf<_CharT, _Traits>&, charT, std::size_t) [with charT = char; traits = std::char_traits]’ at /usr/include/boost/io/detail/buffer_fill.hpp:28:47: /usr/include/bits/string_fortified.h:29:33: warning: ‘void* __builtin_memcpy(void*, const void*, long unsigned int)’ specified bound between 9223372036854775808 and 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' [ 28%] Built target rgw_common make[1]: Leaving directory '/build/ceph/src/ceph-15.2.14/build' make: *** [Makefile:149: all] Error 2 make: Leaving directory '/build/ceph/src/ceph-15.2.14/build' ==> ERROR: A failure occurred in build().  Aborting... ==> ERROR: Build failed, check /var/lib/archbuild/extra-riscv64/felix15/build receiving incremental file list ceph-15.2.14-6-riscv64-build.log ceph-15.2.14-6-riscv64-prepare.log sent 62 bytes received 308,897 bytes 205,972.67 bytes/sec total size is 7,600,006 speedup is 24.60