<86>Oct 9 05:28:20 userdel[3556288]: delete user 'rooter' <86>Oct 9 05:28:20 userdel[3556288]: removed group 'rooter' owned by 'rooter' <86>Oct 9 05:28:20 userdel[3556288]: removed shadow group 'rooter' owned by 'rooter' <86>Oct 9 05:28:20 groupadd[3556342]: group added to /etc/group: name=rooter, GID=708 <86>Oct 9 05:28:20 groupadd[3556342]: new group: name=rooter, GID=708 <86>Oct 9 05:28:20 useradd[3556359]: new user: name=rooter, UID=708, GID=708, home=/root, shell=/bin/bash <86>Oct 9 05:28:20 userdel[3556390]: delete user 'builder' <86>Oct 9 05:28:20 userdel[3556390]: removed group 'builder' owned by 'builder' <86>Oct 9 05:28:20 userdel[3556390]: removed shadow group 'builder' owned by 'builder' <86>Oct 9 05:28:20 groupadd[3556643]: group added to /etc/group: name=builder, GID=709 <86>Oct 9 05:28:20 groupadd[3556643]: group added to /etc/gshadow: name=builder <86>Oct 9 05:28:20 groupadd[3556643]: new group: name=builder, GID=709 <86>Oct 9 05:28:20 useradd[3556724]: new user: name=builder, UID=709, GID=709, home=/usr/src, shell=/bin/bash <13>Oct 9 05:28:25 rpmi: rpm-macros-valgrind-0.2-alt1 sisyphus+233110.100.1.1 1561384303 installed <13>Oct 9 05:28:27 rpmi: libboost_system1.77.0-1:1.77.0-alt2 sisyphus+283811.100.1.1 1629969952 installed <13>Oct 9 05:28:27 rpmi: libgdbm-1.8.3-alt10 sisyphus+278100.1600.1.1 1626058413 installed <13>Oct 9 05:28:27 rpmi: libidn2-2.3.2-alt1 sisyphus+281238.100.1.2 1627476321 installed <13>Oct 9 05:28:27 rpmi: libboost_atomic1.77.0-1:1.77.0-alt2 sisyphus+283811.100.1.1 1629969952 installed <13>Oct 9 05:28:27 rpmi: libboost_contract1.77.0-1:1.77.0-alt2 sisyphus+283811.100.1.1 1629969952 installed <13>Oct 9 05:28:27 rpmi: libboost_chrono1.77.0-1:1.77.0-alt2 sisyphus+283811.100.1.1 1629969952 installed <13>Oct 9 05:28:27 rpmi: libboost_timer1.77.0-1:1.77.0-alt2 sisyphus+283811.100.1.1 1629969952 installed <13>Oct 9 05:28:27 rpmi: libboost_thread1.77.0-1:1.77.0-alt2 sisyphus+283811.100.1.1 1629969952 installed <13>Oct 9 05:28:27 rpmi: libboost_type_erasure1.77.0-1:1.77.0-alt2 sisyphus+283811.100.1.1 1629969952 installed <13>Oct 9 05:28:27 rpmi: libboost_filesystem1.77.0-1:1.77.0-alt2 sisyphus+283811.100.1.1 1629969952 installed <13>Oct 9 05:28:30 rpmi: valgrind-3.17.0-alt3 sisyphus+284325.100.1.1 1630488680 installed <13>Oct 9 05:28:30 rpmi: libyaml2-0.2.5-alt1 sisyphus+278391.100.1.1 1626094928 installed <13>Oct 9 05:28:30 rpmi: libyaml-cpp0-0.6.3-alt1 sisyphus+276405.100.1.1 1624996717 installed <13>Oct 9 05:28:30 rpmi: libstemmer-2.0.0-alt1 sisyphus+278406.100.1.1 1626096572 installed <13>Oct 9 05:28:30 rpmi: libsnappy-1.1.7-alt1 sisyphus+276400.100.1.2 1625016393 installed <13>Oct 9 05:28:31 rpmi: libpython-2.7.18-alt8 sisyphus+286676.100.1.1 1633726916 installed <13>Oct 9 05:28:31 rpmi: python2-base-2.7.18-alt8 sisyphus+286676.100.1.1 1633726916 installed <13>Oct 9 05:28:31 rpmi: libpcrecpp3-8.45-alt2 sisyphus+283722.100.1.2 1629848198 installed <13>Oct 9 05:28:31 rpmi: libpcre16-8.45-alt2 sisyphus+283722.100.1.2 1629848198 installed <13>Oct 9 05:28:31 rpmi: pcretest-8.45-alt2 sisyphus+283722.100.1.2 1629848198 installed <13>Oct 9 05:28:31 rpmi: libpcre-devel-8.45-alt2 sisyphus+283722.100.1.2 1629848198 installed <13>Oct 9 05:28:31 rpmi: libunwind-1.5.0-alt2 sisyphus+285898.300.3.1 1632505140 installed <13>Oct 9 05:28:31 rpmi: libgperftools-2.9.1-alt1 sisyphus+277248.100.1.1 1625421068 installed <13>Oct 9 05:28:31 rpmi: libexpat-2.2.10-alt1 sisyphus+276608.100.1.2 1625153355 installed <13>Oct 9 05:28:31 rpmi: liblz4-1:1.9.3-alt1 sisyphus+278100.4000.1.1 1626059441 installed <13>Oct 9 05:28:31 rpmi: libsystemd-1:249.4-alt2 sisyphus+284628.100.1.1 1630859802 installed <13>Oct 9 05:28:31 rpmi: libdbus-1.12.20-alt1 sisyphus+281278.100.1.1 1627484261 installed <13>Oct 9 05:28:31 rpmi: libpcap0.8-2:1.9.1-alt2 sisyphus+278380.100.1.1 1626093290 installed <13>Oct 9 05:28:31 rpmi: publicsuffix-list-dafsa-20210929-alt1 sisyphus+286161.100.1.1 1632988273 installed <13>Oct 9 05:28:31 rpmi: libpsl-0.21.1-alt2 sisyphus+279461.100.1.1 1626547547 installed <13>Oct 9 05:28:31 rpmi: libnghttp2-1.41.0-alt1 sisyphus+275115.100.1.1 1624405462 installed <13>Oct 9 05:28:31 rpmi: openldap-common-2.4.59-alt1 sisyphus+282933.100.1.1 1629124747 installed <13>Oct 9 05:28:31 rpmi: libverto-0.3.2-alt1_1 sisyphus+279289.100.1.3 1626493868 installed <13>Oct 9 05:28:31 rpmi: liblmdb-0.9.23-alt1 sisyphus+275369.100.1.2 1624493869 installed <13>Oct 9 05:28:31 rpmi: libkeyutils-1.6.3-alt1 sisyphus+266061.100.1.1 1612919566 installed <13>Oct 9 05:28:31 rpmi: libcom_err-1.46.4.0.5.4cda-alt1 sisyphus+283826.100.1.1 1629975345 installed <13>Oct 9 05:28:31 rpmi: libbrotlicommon-1.0.9-alt2 sisyphus+278430.100.1.2 1626213212 installed <13>Oct 9 05:28:31 rpmi: libbrotlidec-1.0.9-alt2 sisyphus+278430.100.1.2 1626213212 installed <13>Oct 9 05:28:31 rpmi: libboost_program_options1.77.0-1:1.77.0-alt2 sisyphus+283811.100.1.1 1629969952 installed <13>Oct 9 05:28:31 rpmi: gcc-c++-common-1.4.27-alt1 sisyphus+278099.1300.1.1 1626028636 installed <13>Oct 9 05:28:31 rpmi: libstdc++11-devel-11.2.1-alt1 sisyphus+285602.200.1.1 1632233545 installed <13>Oct 9 05:28:32 rpmi: gcc11-c++-11.2.1-alt1 sisyphus+285602.200.1.1 1632233545 installed <13>Oct 9 05:28:32 rpmi: libp11-kit-0.23.15-alt2 sisyphus+278382.100.1.2 1626190666 installed <13>Oct 9 05:28:32 rpmi: libtasn1-4.17.0-alt2 sisyphus+285706.100.1.1 1632328563 installed <13>Oct 9 05:28:32 rpmi: libboost_context1.77.0-1:1.77.0-alt2 sisyphus+283811.100.1.1 1629969952 installed <13>Oct 9 05:28:32 rpmi: libboost_fiber1.77.0-1:1.77.0-alt2 sisyphus+283811.100.1.1 1629969952 installed <13>Oct 9 05:28:32 rpmi: libboost_stacktrace1.77.0-1:1.77.0-alt2 sisyphus+283811.100.1.1 1629969952 installed <13>Oct 9 05:28:32 rpmi: libboost_nowide1.77.0-1:1.77.0-alt2 sisyphus+283811.100.1.1 1629969952 installed <13>Oct 9 05:28:32 rpmi: libboost_test1.77.0-1:1.77.0-alt2 sisyphus+283811.100.1.1 1629969952 installed <13>Oct 9 05:28:32 rpmi: libboost_serialization1.77.0-1:1.77.0-alt2 sisyphus+283811.100.1.1 1629969952 installed <13>Oct 9 05:28:32 rpmi: libboost_random1.77.0-1:1.77.0-alt2 sisyphus+283811.100.1.1 1629969952 installed <13>Oct 9 05:28:32 rpmi: libboost_iostreams1.77.0-1:1.77.0-alt2 sisyphus+283811.100.1.1 1629969952 installed <13>Oct 9 05:28:32 rpmi: libboost_json1.77.0-1:1.77.0-alt2 sisyphus+283811.100.1.1 1629969952 installed <13>Oct 9 05:28:32 rpmi: libboost_regex1.77.0-1:1.77.0-alt2 sisyphus+283811.100.1.1 1629969952 installed <13>Oct 9 05:28:32 rpmi: libboost_graph1.77.0-1:1.77.0-alt2 sisyphus+283811.100.1.1 1629969952 installed <13>Oct 9 05:28:32 rpmi: libboost_date_time1.77.0-1:1.77.0-alt2 sisyphus+283811.100.1.1 1629969952 installed <13>Oct 9 05:28:32 rpmi: libboost_container1.77.0-1:1.77.0-alt2 sisyphus+283811.100.1.1 1629969952 installed <13>Oct 9 05:28:34 rpmi: boost-devel-headers-1:1.77.0-alt2 sisyphus+283811.100.1.1 1629969952 installed <13>Oct 9 05:28:34 rpmi: boost-devel-1:1.77.0-alt2 sisyphus+283811.100.1.1 1629969952 installed <13>Oct 9 05:28:34 rpmi: bc-1:1.07.1-alt1 sisyphus+278100.400.1.1 1626056612 installed <13>Oct 9 05:28:34 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+278157.100.2.1 1626055790 installed <13>Oct 9 05:28:34 rpmi: alternatives-0.5.1-alt1 sisyphus+278157.100.2.1 1626055790 installed <13>Oct 9 05:28:34 rpmi: ca-certificates-2021.10.06-alt1 sisyphus+286526.200.1.1 1633528578 installed <13>Oct 9 05:28:34 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Oct 9 05:28:34 rpmi: p11-kit-trust-0.23.15-alt2 sisyphus+278382.100.1.2 1626190666 installed <13>Oct 9 05:28:34 rpmi: libcrypto1.1-1.1.1l-alt1 sisyphus+283685.100.1.1 1629815887 installed <13>Oct 9 05:28:34 rpmi: libssl1.1-1.1.1l-alt1 sisyphus+283685.100.1.1 1629815887 installed <13>Oct 9 05:28:34 rpmi: python3-3.9.7-alt3 sisyphus+286270.40.2.1 1633128995 installed <13>Oct 9 05:28:35 rpmi: python3-base-3.9.7-alt3 sisyphus+286270.40.2.1 1633128995 installed <13>Oct 9 05:28:35 rpmi: python-modules-encodings-2.7.18-alt8 sisyphus+286676.100.1.1 1633726916 installed <13>Oct 9 05:28:35 rpmi: python-modules-compiler-2.7.18-alt8 sisyphus+286676.100.1.1 1633726916 installed <13>Oct 9 05:28:35 rpmi: python-modules-email-2.7.18-alt8 sisyphus+286676.100.1.1 1633726916 installed <13>Oct 9 05:28:35 rpmi: python-modules-unittest-2.7.18-alt8 sisyphus+286676.100.1.1 1633726916 installed <13>Oct 9 05:28:35 rpmi: python-modules-2.7.18-alt8 sisyphus+286676.100.1.1 1633726916 installed <86>Oct 9 05:28:35 groupadd[3620427]: group added to /etc/group: name=_keytab, GID=499 <86>Oct 9 05:28:35 groupadd[3620427]: group added to /etc/gshadow: name=_keytab <86>Oct 9 05:28:35 groupadd[3620427]: new group: name=_keytab, GID=499 <13>Oct 9 05:28:35 rpmi: libkrb5-1.19.2-alt2 sisyphus+281652.100.1.1 1627900207 installed <86>Oct 9 05:28:35 groupadd[3620764]: group added to /etc/group: name=sasl, GID=498 <86>Oct 9 05:28:35 groupadd[3620764]: group added to /etc/gshadow: name=sasl <86>Oct 9 05:28:35 groupadd[3620764]: new group: name=sasl, GID=498 <13>Oct 9 05:28:35 rpmi: libsasl2-3-2.1.27-alt2.2 sisyphus+282040.40.2.1 1628929840 installed <13>Oct 9 05:28:35 rpmi: libldap-2.4.59-alt1 sisyphus+282933.100.1.1 1629124747 installed <13>Oct 9 05:28:35 rpmi: libcurl-7.79.1-alt1 sisyphus+285949.100.1.1 1632605340 installed <13>Oct 9 05:28:35 rpmi: python3-module-pymongo-3.8.0-alt2 sisyphus+281201.100.1.1 1627463452 installed <13>Oct 9 05:28:35 rpmi: python3-module-bson-3.8.0-alt2 sisyphus+281201.100.1.1 1627463452 installed <13>Oct 9 05:28:35 rpmi: libcurl-devel-7.79.1-alt1 sisyphus+285949.100.1.1 1632605340 installed <13>Oct 9 05:28:35 rpmi: libsasl2-devel-2.1.27-alt2.2 sisyphus+282040.40.2.1 1628929840 installed <13>Oct 9 05:28:35 rpmi: python-modules-json-2.7.18-alt8 sisyphus+286676.100.1.1 1633726916 installed <13>Oct 9 05:28:35 rpmi: python3-module-Cheetah-3.2.6-alt1 sisyphus+286570.100.1.1 1633588001 installed <13>Oct 9 05:28:35 rpmi: python3-module-pkg_resources-1:58.1.0-alt1 sisyphus+285983.100.1.1 1632727228 installed <13>Oct 9 05:28:35 rpmi: python3-module-psutil-5.8.0-alt1 sisyphus+277411.100.1.1 1625535804 installed <13>Oct 9 05:28:35 rpmi: python3-module-yaml-5.4.1-alt2 sisyphus+281629.100.1.1 1627893015 installed <13>Oct 9 05:28:35 rpmi: scons-4.0.1-alt1 sisyphus+276030.100.2.2 1624920187 installed <13>Oct 9 05:28:35 rpmi: libssl-devel-1.1.1l-alt1 sisyphus+283685.100.1.1 1629815887 installed <13>Oct 9 05:28:35 rpmi: boost-filesystem-devel-1:1.77.0-alt2 sisyphus+283811.100.1.1 1629969952 installed <13>Oct 9 05:28:35 rpmi: boost-program_options-devel-1:1.77.0-alt2 sisyphus+283811.100.1.1 1629969952 installed <13>Oct 9 05:28:35 rpmi: gcc-c++-11-alt1 sisyphus+285602.400.1.1 1632238564 installed <13>Oct 9 05:28:35 rpmi: libpcap-devel-2:1.9.1-alt2 sisyphus+278380.100.1.1 1626093290 installed <13>Oct 9 05:28:35 rpmi: libsystemd-devel-1:249.4-alt2 sisyphus+284628.100.1.1 1630859802 installed <13>Oct 9 05:28:35 rpmi: libgperftools-devel-2.9.1-alt1 sisyphus+277248.100.1.1 1625421068 installed <13>Oct 9 05:28:35 rpmi: libpcrecpp-devel-8.45-alt2 sisyphus+283722.100.1.2 1629848198 installed <13>Oct 9 05:28:35 rpmi: libsnappy-devel-1.1.7-alt1 sisyphus+276400.100.1.2 1625016393 installed <13>Oct 9 05:28:35 rpmi: libstemmer-devel-2.0.0-alt1 sisyphus+278406.100.1.1 1626096572 installed <13>Oct 9 05:28:35 rpmi: libyaml-cpp-devel-0.6.3-alt1 sisyphus+276405.100.1.1 1624996717 installed <13>Oct 9 05:28:35 rpmi: valgrind-devel-3.17.0-alt3 sisyphus+284325.100.1.1 1630488680 installed <13>Oct 9 05:28:35 rpmi: libreadline-devel-7.0.3-alt4 sisyphus+283725.100.1.2 1629849376 installed <13>Oct 9 05:28:35 rpmi: zlib-devel-1.2.11-alt2 sisyphus+283721.100.1.1 1629847002 installed <13>Oct 9 05:28:35 rpmi: liblzma-devel-5.2.5-alt3 sisyphus+283840.100.1.1 1629978447 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/mongo-4.4.6-alt1.nosrc.rpm (w1.gzdio) Installing mongo-4.4.6-alt1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.17771 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf mongo-4.4.6 + echo 'Source #0 (mongo-4.4.6.tar):' Source #0 (mongo-4.4.6.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/mongo-4.4.6.tar + cd mongo-4.4.6 + /bin/chmod -c -Rf u+rwX,go-w . + sed -i 's/\r//' README + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.17771 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd mongo-4.4.6 ++ pkg-config --cflags libpcrecpp + scons -j 4 --use-system-tcmalloc --use-system-pcre --use-system-snappy --use-system-valgrind --use-system-zlib --use-system-stemmer --use-system-yaml --nostrip --use-sasl-client --wiredtiger=on --ssl=on MONGO_VERSION=4.4.6-alt1 --disable-warnings-as-errors 'CCFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/pcre' --install-mode=legacy core scons: Reading SConscript files ... scons: running with args /usr/bin/python3 /usr/bin/scons -j 4 --use-system-tcmalloc --use-system-pcre --use-system-snappy --use-system-valgrind --use-system-zlib --use-system-stemmer --use-system-yaml --nostrip --use-sasl-client --wiredtiger=on --ssl=on MONGO_VERSION=4.4.6-alt1 --disable-warnings-as-errors CCFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/pcre --install-mode=legacy core Mkdir("build/scons") scons version: 4.0.1 python version: 3 9 7 'final' 0 CC is gcc gcc found in $PATH at /usr/bin/gcc /usr/bin/gcc resolves to /usr/bin/gcc_wrapper CXX is g++ g++ found in $PATH at /usr/bin/g++ /usr/bin/g++ resolves to /usr/bin/gcc_wrapper Checking whether the C compiler works... yes Checking whether the C++ compiler works... yes Checking that the C++ compiler can link a C++ program... yes Checking if C++ compiler "g++" is GCC... yes Checking if C compiler "gcc" is GCC... yes Detected a x86_64 processor Checking if target OS linux is supported by the toolchain... yes Checking if C compiler is GCC 8.2 or newer...yes Checking if C++ compiler is GCC 8.2 or newer...yes Checking if C compiler supports -Wno-unused-local-typedefs... yes Checking if C compiler supports -Wno-unused-function... yes Checking if C compiler supports -Wno-unused-private-field... no Checking if C compiler supports -Wno-deprecated-declarations... yes Checking if C compiler supports -Wno-tautological-constant-out-of-range-compare... no Checking if C compiler supports -Wno-tautological-constant-compare... no Checking if C compiler supports -Wno-tautological-unsigned-zero-compare... no Checking if C compiler supports -Wno-tautological-unsigned-enum-zero-compare... no Checking if C compiler supports -Wno-unused-const-variable... yes Checking if C compiler supports -Wno-unused-but-set-variable... yes Checking if C compiler supports -Wno-missing-braces... yes Checking if C compiler supports -Wno-inconsistent-missing-override... no Checking if C compiler supports -Wno-potentially-evaluated-expression... no Checking if C++ compiler supports -Wpessimizing-move... yes Checking if C++ compiler supports -Wredundant-move... yes Checking if C++ compiler supports -Wno-maybe-uninitialized... yes Checking if C++ compiler supports -Wno-undefined-var-template... no Checking if C++ compiler supports -Wno-instantiation-after-specialization... no Checking if C compiler supports -Wno-unused-lambda-capture... no Checking if C compiler supports -Wno-exceptions... yes Checking if C++ compiler supports -fsized-deallocation... yes Checking if C++ compiler supports -Wno-defaulted-function-deleted... no Checking if C++ compiler supports -Wunused-exception-parameter... no Checking -Wnon-virtual-dtor for false positives... no Checking if C compiler supports -fstack-protector-strong... yes Checking if we are using libstdc++... yes Checking if C++ compiler supports -std=c++17... yes Checking if C compiler supports -std=c11... yes WARNING: System versions of C++ libraries must be compiled with C++14/17 support Checking for C++17... yes Checking for memset_s... no Checking for C function strnlen()... yes Checking for libstdc++ 5.3.0 or better... yes Checking if we are on a POSIX system... yes Checking if the POSIX monotonic clock is supported... yes Checking off_t is 8 bytes... yes Checking if linker supports -fuse-ld=lld... no Checking if linker supports -fuse-ld=gold... yes Checking if linker supports -Wl,--no-threads... yes Checking if linker supports -Wl,--build-id... yes Checking if linker supports -Wl,--hash-style=gnu... yes Checking if linker supports -Wl,-z,noexecstack... yes Checking if linker supports -Wl,--warn-execstack... yes Checking if linker supports -Wl,-z,relro... yes Checking for glibc with non-broken _FORTIFY_SOURCE...yes Checking if C compiler supports -fno-builtin-memcmp... yes Checking for storage class thread_local yes Checking for C++14 std::enable_if_t support...yes Checking if pthread_setname_np is supported... yes Checking for SSLeay_version(0) in C library crypto... yes Checking for SSL_version(NULL) in C library ssl... yes Checking that linking to OpenSSL works...yes Checking whether FIPS_mode_set is declared... yes Checking whether d2i_ASN1_SEQUENCE_ANY is declared... yes Checking if SSL_[CTX_]_set_ecdh_auto is supported... yes Checking if EC_KEY_new_by_curve_name is supported... yes Using SSL Provider: openssl Checking for C library pcre... yes Checking for C library pcrecpp... yes Checking for C library snappy... yes Checking for C library z... yes Checking for C library stemmer... yes Checking for C library yaml-cpp... yes Checking for C library rt... yes Checking for C library dl... yes Checking for C++ header file execinfo.h... yes Checking whether backtrace is declared... yes Checking whether backtrace_symbols is declared... yes Checking whether backtrace_symbols_fd is declared... yes Checking for C library pcap... yes Checking for sasl_version_info(0, 0, 0, 0, 0, 0) in C library sasl2... yes Checking for C library tcmalloc... yes Checking if std::atomic works... yes Checking if std::atomic works... yes Checking if std::atomic works... yes Checking if std::atomic works... yes Checking for extended alignment 64 for concurrency types... yes Checking for mongoc_get_major_version() in C library mongoc-1.0... no Checking for curl_global_init(0) in C library curl... yes Checking for curl_global_init(0) in C library curl... yes Checking for C header file sys/sdt.h... no Checking for C function fallocate()... yes Checking for C function sync_file_range()... yes Checking for C header file x86intrin.h... yes Checking for C header file arm_neon.h... no scons: done reading SConscript files. scons: Building targets ... Generating build/opt/mongo/client/read_preference_gen.cpp Generating build/opt/mongo/s/database_version_gen.cpp /usr/bin/python3 src/mongo/base/generate_error_codes.py src/mongo/base/error_codes.yml src/mongo/base/error_codes.tpl.h build/opt/mongo/base/error_codes.h Generating build/opt/mongo/db/generic_cursor_gen.cpp Generating build/opt/mongo/db/query/query_knobs_gen.cpp Generating build/opt/mongo/db/repl/apply_ops_gen.cpp Generating build/opt/mongo/db/pipeline/runtime_constants_gen.cpp /usr/bin/python3 src/mongo/db/auth/generate_action_types.py src/mongo/db/auth/action_types.txt build/opt/mongo/db/auth/action_type_gen.h build/opt/mongo/db/auth/action_type_gen.cpp Generating build/opt/mongo/db/repl/oplog_entry_gen.cpp /usr/bin/python3 src/mongo/base/generate_error_codes.py src/mongo/base/error_codes.yml src/mongo/base/error_codes.tpl.cpp build/opt/mongo/base/error_codes.cpp Generating build/opt/mongo/db/read_write_concern_provenance_base_gen.cpp Generating build/opt/mongo/db/pipeline/exchange_spec_gen.cpp Generating build/opt/mongo/db/logical_session_id_gen.cpp Generating build/opt/mongo/db/ops/single_write_result_gen.cpp Creating 'build/opt/mongo/config.h' Generating build/opt/mongo/db/query/tailable_mode_gen.cpp Generating build/opt/mongo/db/ops/write_ops_gen.cpp Generating build/opt/mongo/client/hedging_mode_gen.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/digitformatter.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -pipe -frecord-gcc-switches -g -O2 -flto=auto -I/usr/include/pcre -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/digitformatter.cpp Generating build/opt/mongo/db/repl/repl_set_config_gen.cpp Generating build/opt/mongo/db/repl/optime_and_wall_time_base_gen.cpp Generating build/opt/mongo/rpc/topology_version_gen.cpp Generating build/opt/mongo/db/repl/repl_settings_gen.cpp g++ -o build/opt/mongo/util/timer.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/pcre -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/unwind/platform/linux_x86_64/install/include -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -Ibuild/opt -Isrc src/mongo/util/timer.cpp g++ -o build/opt/mongo/db/concurrency/lock_state.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/pcre -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -Ibuild/opt -Isrc src/mongo/db/concurrency/lock_state.cpp g++ -o build/opt/mongo/db/startup_warnings_mongod.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/pcre -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -Ibuild/opt -Isrc src/mongo/db/startup_warnings_mongod.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/collationfastlatin.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -pipe -frecord-gcc-switches -g -O2 -flto=auto -I/usr/include/pcre -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/collationfastlatin.cpp Generating build/opt/mongo/db/logical_clock_gen.cpp g++ -o build/opt/mongo/db/logical_clock_gen.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/pcre -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -Ibuild/opt -Isrc build/opt/mongo/db/logical_clock_gen.cpp g++ -o build/opt/mongo/db/matcher/expression.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/pcre -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -Ibuild/opt -Isrc src/mongo/db/matcher/expression.cpp In file included from src/mongo/db/pipeline/expression_context.h:44, from src/mongo/db/exec/plan_stage.h:37, from src/mongo/db/query/explain.h:32, from src/mongo/db/commands.h:47, from src/mongo/db/commands/server_status.h:32, from src/mongo/db/storage/flow_control.h:34, from src/mongo/db/concurrency/lock_state.cpp:43: src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)': src/mongo/db/pipeline/aggregation_request.h:90:25: warning: redundant move in return statement [-Wredundant-move] 90 | return std::move(pipeline); | ~~~~~~~~~^~~~~~~~~~ src/mongo/db/pipeline/aggregation_request.h:90:25: note: remove 'std::move' call In file included from src/mongo/db/pipeline/expression_context.h:44, from src/mongo/db/exec/plan_stage.h:37, from src/mongo/db/query/explain.h:32, from src/mongo/db/commands.h:47, from build/opt/mongo/db/logical_clock_gen.cpp:16: src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)': src/mongo/db/pipeline/aggregation_request.h:90:25: warning: redundant move in return statement [-Wredundant-move] 90 | return std::move(pipeline); | ~~~~~~~~~^~~~~~~~~~ src/mongo/db/pipeline/aggregation_request.h:90:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_text_base.h:32, from src/mongo/db/matcher/extensions_callback.h:33, from src/mongo/db/matcher/extensions_callback_noop.h:32, from src/mongo/db/query/canonical_query.h:36, from src/mongo/db/query/explain.h:34, from src/mongo/db/commands.h:47, from src/mongo/db/commands/server_status.h:32, from src/mongo/db/storage/flow_control.h:34, from src/mongo/db/concurrency/lock_state.cpp:43: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:201:25: warning: redundant move in return statement [-Wredundant-move] 201 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:201:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:223:25: warning: redundant move in return statement [-Wredundant-move] 223 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:223:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:245:25: warning: redundant move in return statement [-Wredundant-move] 245 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:245:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:267:25: warning: redundant move in return statement [-Wredundant-move] 267 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:267:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:289:25: warning: redundant move in return statement [-Wredundant-move] 289 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:289:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:308:25: warning: redundant move in return statement [-Wredundant-move] 308 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:308:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:352:25: warning: redundant move in return statement [-Wredundant-move] 352 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:352:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:395:25: warning: redundant move in return statement [-Wredundant-move] 395 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:395:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_text_base.h:32, from src/mongo/db/matcher/extensions_callback.h:33, from src/mongo/db/matcher/extensions_callback_noop.h:32, from src/mongo/db/query/canonical_query.h:36, from src/mongo/db/query/explain.h:34, from src/mongo/db/commands.h:47, from build/opt/mongo/db/logical_clock_gen.cpp:16: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:201:25: warning: redundant move in return statement [-Wredundant-move] 201 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:201:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:223:25: warning: redundant move in return statement [-Wredundant-move] 223 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:223:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:245:25: warning: redundant move in return statement [-Wredundant-move] 245 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:245:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:267:25: warning: redundant move in return statement [-Wredundant-move] 267 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:267:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:289:25: warning: redundant move in return statement [-Wredundant-move] 289 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:289:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:579:25: warning: redundant move in return statement [-Wredundant-move] 579 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:579:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:600:25: warning: redundant move in return statement [-Wredundant-move] 600 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:600:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:308:25: warning: redundant move in return statement [-Wredundant-move] 308 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:308:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:621:25: warning: redundant move in return statement [-Wredundant-move] 621 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:621:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:352:25: warning: redundant move in return statement [-Wredundant-move] 352 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:352:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:642:25: warning: redundant move in return statement [-Wredundant-move] 642 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:642:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:395:25: warning: redundant move in return statement [-Wredundant-move] 395 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:395:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:38, from src/mongo/db/matcher/copyable_match_expression.h:32, from src/mongo/db/query/projection_ast.h:33, from src/mongo/db/query/projection.h:33, from src/mongo/db/query/canonical_query.h:38, from src/mongo/db/query/explain.h:34, from src/mongo/db/commands.h:47, from src/mongo/db/commands/server_status.h:32, from src/mongo/db/storage/flow_control.h:34, from src/mongo/db/concurrency/lock_state.cpp:43: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:579:25: warning: redundant move in return statement [-Wredundant-move] 579 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:579:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:600:25: warning: redundant move in return statement [-Wredundant-move] 600 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:600:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:621:25: warning: redundant move in return statement [-Wredundant-move] 621 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:621:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:39, from src/mongo/db/matcher/copyable_match_expression.h:32, from src/mongo/db/query/projection_ast.h:33, from src/mongo/db/query/projection.h:33, from src/mongo/db/query/canonical_query.h:38, from src/mongo/db/query/explain.h:34, from src/mongo/db/commands.h:47, from src/mongo/db/commands/server_status.h:32, from src/mongo/db/storage/flow_control.h:34, from src/mongo/db/concurrency/lock_state.cpp:43: src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr mongo::InternalSchemaBinDataSubTypeExpression::shallowClone() const': src/mongo/db/matcher/expression_type.h:196:25: warning: redundant move in return statement [-Wredundant-move] 196 | return std::move(expr); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_type.h:196:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:642:25: warning: redundant move in return statement [-Wredundant-move] 642 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:642:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:38, from src/mongo/db/matcher/copyable_match_expression.h:32, from src/mongo/db/query/projection_ast.h:33, from src/mongo/db/query/projection.h:33, from src/mongo/db/query/canonical_query.h:38, from src/mongo/db/query/explain.h:34, from src/mongo/db/commands.h:47, from build/opt/mongo/db/logical_clock_gen.cpp:16: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:39, from src/mongo/db/matcher/copyable_match_expression.h:32, from src/mongo/db/query/projection_ast.h:33, from src/mongo/db/query/projection.h:33, from src/mongo/db/query/canonical_query.h:38, from src/mongo/db/query/explain.h:34, from src/mongo/db/commands.h:47, from build/opt/mongo/db/logical_clock_gen.cpp:16: src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr mongo::InternalSchemaBinDataSubTypeExpression::shallowClone() const': src/mongo/db/matcher/expression_type.h:196:25: warning: redundant move in return statement [-Wredundant-move] 196 | return std::move(expr); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_type.h:196:25: note: remove 'std::move' call src/mongo/db/concurrency/lock_state.cpp: In member function 'virtual boost::optional mongo::LockerImpl::getLockerInfo(boost::optional >) const': src/mongo/db/concurrency/lock_state.cpp:729:21: warning: redundant move in return statement [-Wredundant-move] 729 | return std::move(lockerInfo); | ~~~~~~~~~^~~~~~~~~~~~ src/mongo/db/concurrency/lock_state.cpp:729:21: note: remove 'std::move' call g++ -o build/opt/mongo/util/procparser.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/pcre -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -Ibuild/opt -Isrc src/mongo/util/procparser.cpp Creating 'build/opt/third_party/wiredtiger/wiredtiger.h' gcc -o build/opt/third_party/wiredtiger/src/cursor/cur_hs.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/pcre -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Isrc/third_party/zstandard-1.4.3/zstd/lib -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/cursor/cur_hs.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/opt/mongo/db/repl/read_concern_args.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/pcre -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -Ibuild/opt -Isrc src/mongo/db/repl/read_concern_args.cpp src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr mongo::TypeMatchExpressionBase::shallowClone() const [with T = mongo::InternalSchemaBinDataEncryptedTypeExpression]': src/mongo/db/matcher/expression_type.h:69:38: required from here src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move] 74 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:74:30: note: remove 'std::move' call src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr mongo::TypeMatchExpressionBase::shallowClone() const [with T = mongo::InternalSchemaTypeExpression]': src/mongo/db/matcher/expression_type.h:69:38: required from here src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:74:30: note: remove 'std::move' call src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr mongo::TypeMatchExpressionBase::shallowClone() const [with T = mongo::TypeMatchExpression]': src/mongo/db/matcher/expression_type.h:69:38: required from here src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:74:30: note: remove 'std::move' call In file included from src/third_party/boost-1.70.0/boost/concept/assert.hpp:35, from src/third_party/boost-1.70.0/boost/concept_check.hpp:20, from src/third_party/boost-1.70.0/boost/range/concepts.hpp:19, from src/third_party/boost-1.70.0/boost/range/size_type.hpp:20, from src/third_party/boost-1.70.0/boost/range/size.hpp:21, from src/third_party/boost-1.70.0/boost/range/functions.hpp:20, from src/third_party/boost-1.70.0/boost/range/iterator_range_core.hpp:38, from src/third_party/boost-1.70.0/boost/algorithm/string/finder.hpp:16, from src/mongo/util/procparser.cpp:38: src/third_party/boost-1.70.0/boost/concept/detail/general.hpp: In instantiation of 'static void boost::concepts::requirement::failed() [with Model = boost::concepts::usage_requirements >]': src/third_party/boost-1.70.0/boost/concept_check.hpp:167:5: required from 'struct boost::CopyConstructible' src/third_party/boost-1.70.0/boost/range/concepts.hpp:125:16: required from 'struct boost::range_detail::IncrementableIteratorConcept' src/third_party/boost-1.70.0/boost/range/concepts.hpp:147:16: required from 'struct boost::range_detail::SinglePassIteratorConcept' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of 'template boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, boost::concepts::detail::wrap_constraints*) [with Model = boost::range_detail::SinglePassIteratorConcept]' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:42:5: required from 'const bool boost::concepts::not_satisfied >::value' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:45:51: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] src/third_party/boost-1.70.0/boost/range/algorithm/equal.hpp:174:13: required from 'bool boost::range::equal(const SinglePassRange1&, const SinglePassRange2&) [with SinglePassRange1 = boost::iterator_range; SinglePassRange2 = boost::iterator_range]' src/third_party/boost-1.70.0/boost/range/iterator_range_core.hpp:646:32: required from 'bool boost::operator==(const boost::iterator_range&, const boost::iterator_range&) [with Iterator1T = const char*; Iterator2T = const char*]' src/third_party/boost-1.70.0/boost/algorithm/string/find_iterator.hpp:333:32: required from 'bool boost::algorithm::split_iterator::equal(const boost::algorithm::split_iterator&) const [with IteratorT = const char*]' src/third_party/boost-1.70.0/boost/iterator/iterator_facade.hpp:568:26: required from 'static bool boost::iterators::iterator_core_access::equal(const Facade1&, const Facade2&, mpl_::true_) [with Facade1 = boost::algorithm::split_iterator; Facade2 = boost::algorithm::split_iterator; mpl_::true_ = mpl_::bool_]' src/third_party/boost-1.70.0/boost/iterator/iterator_facade.hpp:901:3: required from 'typename boost::iterators::detail::enable_if_interoperable::type>::type boost::iterators::operator!=(const boost::iterators::iterator_facade&, const boost::iterators::iterator_facade&) [with Derived1 = boost::algorithm::split_iterator; V1 = const boost::iterator_range; TC1 = boost::iterators::forward_traversal_tag; Reference1 = const boost::iterator_range&; Difference1 = long int; Derived2 = boost::algorithm::split_iterator; V2 = const boost::iterator_range; TC2 = boost::iterators::forward_traversal_tag; Reference2 = const boost::iterator_range&; Difference2 = long int; typename boost::iterators::detail::enable_if_interoperable::type>::type = bool; typename boost::mpl::apply2::type = bool]' src/mongo/util/procparser.cpp:222:42: required from here src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:39:47: warning: 'this' pointer is null [-Wnonnull] 39 | static void failed() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ In file included from src/third_party/boost-1.70.0/boost/concept_check.hpp:31, from src/third_party/boost-1.70.0/boost/range/concepts.hpp:19, from src/third_party/boost-1.70.0/boost/range/size_type.hpp:20, from src/third_party/boost-1.70.0/boost/range/size.hpp:21, from src/third_party/boost-1.70.0/boost/range/functions.hpp:20, from src/third_party/boost-1.70.0/boost/range/iterator_range_core.hpp:38, from src/third_party/boost-1.70.0/boost/algorithm/string/finder.hpp:16, from src/mongo/util/procparser.cpp:38: src/third_party/boost-1.70.0/boost/concept/usage.hpp:16:5: note: in a call to non-static member function 'boost::concepts::usage_requirements::~usage_requirements() [with Model = boost::CopyConstructible]' 16 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from src/third_party/boost-1.70.0/boost/concept/assert.hpp:35, from src/third_party/boost-1.70.0/boost/concept_check.hpp:20, from src/third_party/boost-1.70.0/boost/range/concepts.hpp:19, from src/third_party/boost-1.70.0/boost/range/size_type.hpp:20, from src/third_party/boost-1.70.0/boost/range/size.hpp:21, from src/third_party/boost-1.70.0/boost/range/functions.hpp:20, from src/third_party/boost-1.70.0/boost/range/iterator_range_core.hpp:38, from src/third_party/boost-1.70.0/boost/algorithm/string/finder.hpp:16, from src/mongo/util/procparser.cpp:38: src/third_party/boost-1.70.0/boost/concept/detail/general.hpp: In instantiation of 'static void boost::concepts::requirement::failed() [with Model = boost::concepts::usage_requirements >]': src/third_party/boost-1.70.0/boost/concept_check.hpp:208:5: required from 'struct boost::Convertible' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of 'template boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, boost::concepts::detail::wrap_constraints*) [with Model = boost::Convertible]' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:42:5: required from 'const bool boost::concepts::not_satisfied >::value' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:45:51: required from 'struct boost::concepts::not_satisfied >' src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:51:8: required from 'struct boost::concepts::requirement_)>' src/third_party/boost-1.70.0/boost/iterator/iterator_concepts.hpp:114:7: [ skipping 11 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] src/third_party/boost-1.70.0/boost/range/algorithm/equal.hpp:174:13: required from 'bool boost::range::equal(const SinglePassRange1&, const SinglePassRange2&) [with SinglePassRange1 = boost::iterator_range; SinglePassRange2 = boost::iterator_range]' src/third_party/boost-1.70.0/boost/range/iterator_range_core.hpp:646:32: required from 'bool boost::operator==(const boost::iterator_range&, const boost::iterator_range&) [with Iterator1T = const char*; Iterator2T = const char*]' src/third_party/boost-1.70.0/boost/algorithm/string/find_iterator.hpp:333:32: required from 'bool boost::algorithm::split_iterator::equal(const boost::algorithm::split_iterator&) const [with IteratorT = const char*]' src/third_party/boost-1.70.0/boost/iterator/iterator_facade.hpp:568:26: required from 'static bool boost::iterators::iterator_core_access::equal(const Facade1&, const Facade2&, mpl_::true_) [with Facade1 = boost::algorithm::split_iterator; Facade2 = boost::algorithm::split_iterator; mpl_::true_ = mpl_::bool_]' src/third_party/boost-1.70.0/boost/iterator/iterator_facade.hpp:901:3: required from 'typename boost::iterators::detail::enable_if_interoperable::type>::type boost::iterators::operator!=(const boost::iterators::iterator_facade&, const boost::iterators::iterator_facade&) [with Derived1 = boost::algorithm::split_iterator; V1 = const boost::iterator_range; TC1 = boost::iterators::forward_traversal_tag; Reference1 = const boost::iterator_range&; Difference1 = long int; Derived2 = boost::algorithm::split_iterator; V2 = const boost::iterator_range; TC2 = boost::iterators::forward_traversal_tag; Reference2 = const boost::iterator_range&; Difference2 = long int; typename boost::iterators::detail::enable_if_interoperable::type>::type = bool; typename boost::mpl::apply2::type = bool]' src/mongo/util/procparser.cpp:222:42: required from here src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:39:47: warning: 'this' pointer is null [-Wnonnull] 39 | static void failed() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ In file included from src/third_party/boost-1.70.0/boost/concept_check.hpp:31, from src/third_party/boost-1.70.0/boost/range/concepts.hpp:19, from src/third_party/boost-1.70.0/boost/range/size_type.hpp:20, from src/third_party/boost-1.70.0/boost/range/size.hpp:21, from src/third_party/boost-1.70.0/boost/range/functions.hpp:20, from src/third_party/boost-1.70.0/boost/range/iterator_range_core.hpp:38, from src/third_party/boost-1.70.0/boost/algorithm/string/finder.hpp:16, from src/mongo/util/procparser.cpp:38: src/third_party/boost-1.70.0/boost/concept/usage.hpp:16:5: note: in a call to non-static member function 'boost::concepts::usage_requirements::~usage_requirements() [with Model = boost::Convertible]' 16 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from src/third_party/boost-1.70.0/boost/concept/assert.hpp:35, from src/third_party/boost-1.70.0/boost/concept_check.hpp:20, from src/third_party/boost-1.70.0/boost/range/concepts.hpp:19, from src/third_party/boost-1.70.0/boost/range/size_type.hpp:20, from src/third_party/boost-1.70.0/boost/range/size.hpp:21, from src/third_party/boost-1.70.0/boost/range/functions.hpp:20, from src/third_party/boost-1.70.0/boost/range/iterator_range_core.hpp:38, from src/third_party/boost-1.70.0/boost/algorithm/string/finder.hpp:16, from src/mongo/util/procparser.cpp:38: src/third_party/boost-1.70.0/boost/concept/detail/general.hpp: In instantiation of 'static void boost::concepts::requirement::failed() [with Model = boost::Convertible]': src/third_party/boost-1.70.0/boost/iterator/iterator_concepts.hpp:114:7: required from 'struct boost::range_detail::IncrementableIteratorConcept' src/third_party/boost-1.70.0/boost/range/concepts.hpp:147:16: required from 'struct boost::range_detail::SinglePassIteratorConcept' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of 'template boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, boost::concepts::detail::wrap_constraints*) [with Model = boost::range_detail::SinglePassIteratorConcept]' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:42:5: required from 'const bool boost::concepts::not_satisfied >::value' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:45:51: required from 'struct boost::concepts::not_satisfied >' src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:51:8: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] src/third_party/boost-1.70.0/boost/range/algorithm/equal.hpp:174:13: required from 'bool boost::range::equal(const SinglePassRange1&, const SinglePassRange2&) [with SinglePassRange1 = boost::iterator_range; SinglePassRange2 = boost::iterator_range]' src/third_party/boost-1.70.0/boost/range/iterator_range_core.hpp:646:32: required from 'bool boost::operator==(const boost::iterator_range&, const boost::iterator_range&) [with Iterator1T = const char*; Iterator2T = const char*]' src/third_party/boost-1.70.0/boost/algorithm/string/find_iterator.hpp:333:32: required from 'bool boost::algorithm::split_iterator::equal(const boost::algorithm::split_iterator&) const [with IteratorT = const char*]' src/third_party/boost-1.70.0/boost/iterator/iterator_facade.hpp:568:26: required from 'static bool boost::iterators::iterator_core_access::equal(const Facade1&, const Facade2&, mpl_::true_) [with Facade1 = boost::algorithm::split_iterator; Facade2 = boost::algorithm::split_iterator; mpl_::true_ = mpl_::bool_]' src/third_party/boost-1.70.0/boost/iterator/iterator_facade.hpp:901:3: required from 'typename boost::iterators::detail::enable_if_interoperable::type>::type boost::iterators::operator!=(const boost::iterators::iterator_facade&, const boost::iterators::iterator_facade&) [with Derived1 = boost::algorithm::split_iterator; V1 = const boost::iterator_range; TC1 = boost::iterators::forward_traversal_tag; Reference1 = const boost::iterator_range&; Difference1 = long int; Derived2 = boost::algorithm::split_iterator; V2 = const boost::iterator_range; TC2 = boost::iterators::forward_traversal_tag; Reference2 = const boost::iterator_range&; Difference2 = long int; typename boost::iterators::detail::enable_if_interoperable::type>::type = bool; typename boost::mpl::apply2::type = bool]' src/mongo/util/procparser.cpp:222:42: required from here src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:39:47: warning: 'this' pointer is null [-Wnonnull] 39 | static void failed() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ In file included from src/third_party/boost-1.70.0/boost/concept_check.hpp:31, from src/third_party/boost-1.70.0/boost/range/concepts.hpp:19, from src/third_party/boost-1.70.0/boost/range/size_type.hpp:20, from src/third_party/boost-1.70.0/boost/range/size.hpp:21, from src/third_party/boost-1.70.0/boost/range/functions.hpp:20, from src/third_party/boost-1.70.0/boost/range/iterator_range_core.hpp:38, from src/third_party/boost-1.70.0/boost/algorithm/string/finder.hpp:16, from src/mongo/util/procparser.cpp:38: src/third_party/boost-1.70.0/boost/concept/usage.hpp:30:7: note: in a call to non-static member function 'boost::Convertible::~Convertible() [with X = boost::iterators::random_access_traversal_tag; Y = boost::iterators::incrementable_traversal_tag]' 30 | ~model() | ^ src/third_party/boost-1.70.0/boost/concept_check.hpp:208:5: note: in expansion of macro 'BOOST_CONCEPT_USAGE' 208 | BOOST_CONCEPT_USAGE(Convertible) { | ^~~~~~~~~~~~~~~~~~~ In file included from src/third_party/boost-1.70.0/boost/concept/assert.hpp:35, from src/third_party/boost-1.70.0/boost/concept_check.hpp:20, from src/third_party/boost-1.70.0/boost/range/concepts.hpp:19, from src/third_party/boost-1.70.0/boost/range/size_type.hpp:20, from src/third_party/boost-1.70.0/boost/range/size.hpp:21, from src/third_party/boost-1.70.0/boost/range/functions.hpp:20, from src/third_party/boost-1.70.0/boost/range/iterator_range_core.hpp:38, from src/third_party/boost-1.70.0/boost/algorithm/string/finder.hpp:16, from src/mongo/util/procparser.cpp:38: src/third_party/boost-1.70.0/boost/concept/detail/general.hpp: In instantiation of 'static void boost::concepts::requirement::failed() [with Model = boost::concepts::usage_requirements >]': src/third_party/boost-1.70.0/boost/range/concepts.hpp:136:13: required from 'struct boost::range_detail::IncrementableIteratorConcept' src/third_party/boost-1.70.0/boost/range/concepts.hpp:147:16: required from 'struct boost::range_detail::SinglePassIteratorConcept' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of 'template boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, boost::concepts::detail::wrap_constraints*) [with Model = boost::range_detail::SinglePassIteratorConcept]' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:42:5: required from 'const bool boost::concepts::not_satisfied >::value' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:45:51: required from 'struct boost::concepts::not_satisfied >' src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:51:8: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] src/third_party/boost-1.70.0/boost/range/algorithm/equal.hpp:174:13: required from 'bool boost::range::equal(const SinglePassRange1&, const SinglePassRange2&) [with SinglePassRange1 = boost::iterator_range; SinglePassRange2 = boost::iterator_range]' src/third_party/boost-1.70.0/boost/range/iterator_range_core.hpp:646:32: required from 'bool boost::operator==(const boost::iterator_range&, const boost::iterator_range&) [with Iterator1T = const char*; Iterator2T = const char*]' src/third_party/boost-1.70.0/boost/algorithm/string/find_iterator.hpp:333:32: required from 'bool boost::algorithm::split_iterator::equal(const boost::algorithm::split_iterator&) const [with IteratorT = const char*]' src/third_party/boost-1.70.0/boost/iterator/iterator_facade.hpp:568:26: required from 'static bool boost::iterators::iterator_core_access::equal(const Facade1&, const Facade2&, mpl_::true_) [with Facade1 = boost::algorithm::split_iterator; Facade2 = boost::algorithm::split_iterator; mpl_::true_ = mpl_::bool_]' src/third_party/boost-1.70.0/boost/iterator/iterator_facade.hpp:901:3: required from 'typename boost::iterators::detail::enable_if_interoperable::type>::type boost::iterators::operator!=(const boost::iterators::iterator_facade&, const boost::iterators::iterator_facade&) [with Derived1 = boost::algorithm::split_iterator; V1 = const boost::iterator_range; TC1 = boost::iterators::forward_traversal_tag; Reference1 = const boost::iterator_range&; Difference1 = long int; Derived2 = boost::algorithm::split_iterator; V2 = const boost::iterator_range; TC2 = boost::iterators::forward_traversal_tag; Reference2 = const boost::iterator_range&; Difference2 = long int; typename boost::iterators::detail::enable_if_interoperable::type>::type = bool; typename boost::mpl::apply2::type = bool]' src/mongo/util/procparser.cpp:222:42: required from here src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:39:47: warning: 'this' pointer is null [-Wnonnull] 39 | static void failed() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ In file included from src/third_party/boost-1.70.0/boost/concept_check.hpp:31, from src/third_party/boost-1.70.0/boost/range/concepts.hpp:19, from src/third_party/boost-1.70.0/boost/range/size_type.hpp:20, from src/third_party/boost-1.70.0/boost/range/size.hpp:21, from src/third_party/boost-1.70.0/boost/range/functions.hpp:20, from src/third_party/boost-1.70.0/boost/range/iterator_range_core.hpp:38, from src/third_party/boost-1.70.0/boost/algorithm/string/finder.hpp:16, from src/mongo/util/procparser.cpp:38: src/third_party/boost-1.70.0/boost/concept/usage.hpp:16:5: note: in a call to non-static member function 'boost::concepts::usage_requirements::~usage_requirements() [with Model = boost::range_detail::IncrementableIteratorConcept]' 16 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from src/third_party/boost-1.70.0/boost/concept/assert.hpp:35, from src/third_party/boost-1.70.0/boost/concept_check.hpp:20, from src/third_party/boost-1.70.0/boost/range/concepts.hpp:19, from src/third_party/boost-1.70.0/boost/range/size_type.hpp:20, from src/third_party/boost-1.70.0/boost/range/size.hpp:21, from src/third_party/boost-1.70.0/boost/range/functions.hpp:20, from src/third_party/boost-1.70.0/boost/range/iterator_range_core.hpp:38, from src/third_party/boost-1.70.0/boost/algorithm/string/finder.hpp:16, from src/mongo/util/procparser.cpp:38: src/third_party/boost-1.70.0/boost/concept/detail/general.hpp: In instantiation of 'static void boost::concepts::requirement::failed() [with Model = boost::concepts::usage_requirements >]': src/third_party/boost-1.70.0/boost/concept_check.hpp:233:5: required from 'struct boost::EqualityComparable' src/third_party/boost-1.70.0/boost/range/concepts.hpp:147:16: required from 'struct boost::range_detail::SinglePassIteratorConcept' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of 'template boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, boost::concepts::detail::wrap_constraints*) [with Model = boost::range_detail::SinglePassIteratorConcept]' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:42:5: required from 'const bool boost::concepts::not_satisfied >::value' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:45:51: required from 'struct boost::concepts::not_satisfied >' src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:51:8: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] src/third_party/boost-1.70.0/boost/range/algorithm/equal.hpp:174:13: required from 'bool boost::range::equal(const SinglePassRange1&, const SinglePassRange2&) [with SinglePassRange1 = boost::iterator_range; SinglePassRange2 = boost::iterator_range]' src/third_party/boost-1.70.0/boost/range/iterator_range_core.hpp:646:32: required from 'bool boost::operator==(const boost::iterator_range&, const boost::iterator_range&) [with Iterator1T = const char*; Iterator2T = const char*]' src/third_party/boost-1.70.0/boost/algorithm/string/find_iterator.hpp:333:32: required from 'bool boost::algorithm::split_iterator::equal(const boost::algorithm::split_iterator&) const [with IteratorT = const char*]' src/third_party/boost-1.70.0/boost/iterator/iterator_facade.hpp:568:26: required from 'static bool boost::iterators::iterator_core_access::equal(const Facade1&, const Facade2&, mpl_::true_) [with Facade1 = boost::algorithm::split_iterator; Facade2 = boost::algorithm::split_iterator; mpl_::true_ = mpl_::bool_]' src/third_party/boost-1.70.0/boost/iterator/iterator_facade.hpp:901:3: required from 'typename boost::iterators::detail::enable_if_interoperable::type>::type boost::iterators::operator!=(const boost::iterators::iterator_facade&, const boost::iterators::iterator_facade&) [with Derived1 = boost::algorithm::split_iterator; V1 = const boost::iterator_range; TC1 = boost::iterators::forward_traversal_tag; Reference1 = const boost::iterator_range&; Difference1 = long int; Derived2 = boost::algorithm::split_iterator; V2 = const boost::iterator_range; TC2 = boost::iterators::forward_traversal_tag; Reference2 = const boost::iterator_range&; Difference2 = long int; typename boost::iterators::detail::enable_if_interoperable::type>::type = bool; typename boost::mpl::apply2::type = bool]' src/mongo/util/procparser.cpp:222:42: required from here src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:39:47: warning: 'this' pointer is null [-Wnonnull] 39 | static void failed() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ In file included from src/third_party/boost-1.70.0/boost/concept_check.hpp:31, from src/third_party/boost-1.70.0/boost/range/concepts.hpp:19, from src/third_party/boost-1.70.0/boost/range/size_type.hpp:20, from src/third_party/boost-1.70.0/boost/range/size.hpp:21, from src/third_party/boost-1.70.0/boost/range/functions.hpp:20, from src/third_party/boost-1.70.0/boost/range/iterator_range_core.hpp:38, from src/third_party/boost-1.70.0/boost/algorithm/string/finder.hpp:16, from src/mongo/util/procparser.cpp:38: src/third_party/boost-1.70.0/boost/concept/usage.hpp:16:5: note: in a call to non-static member function 'boost::concepts::usage_requirements::~usage_requirements() [with Model = boost::EqualityComparable]' 16 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from src/third_party/boost-1.70.0/boost/concept/assert.hpp:35, from src/third_party/boost-1.70.0/boost/concept_check.hpp:20, from src/third_party/boost-1.70.0/boost/range/concepts.hpp:19, from src/third_party/boost-1.70.0/boost/range/size_type.hpp:20, from src/third_party/boost-1.70.0/boost/range/size.hpp:21, from src/third_party/boost-1.70.0/boost/range/functions.hpp:20, from src/third_party/boost-1.70.0/boost/range/iterator_range_core.hpp:38, from src/third_party/boost-1.70.0/boost/algorithm/string/finder.hpp:16, from src/mongo/util/procparser.cpp:38: src/third_party/boost-1.70.0/boost/concept/detail/general.hpp: In instantiation of 'static void boost::concepts::requirement::failed() [with Model = boost::concepts::usage_requirements >]': src/third_party/boost-1.70.0/boost/concept_check.hpp:208:5: required from 'struct boost::Convertible' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of 'template boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, boost::concepts::detail::wrap_constraints*) [with Model = boost::Convertible]' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:42:5: required from 'const bool boost::concepts::not_satisfied >::value' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:45:51: required from 'struct boost::concepts::not_satisfied >' src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:51:8: required from 'struct boost::concepts::requirement_)>' src/third_party/boost-1.70.0/boost/range/concepts.hpp:152:13: [ skipping 10 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] src/third_party/boost-1.70.0/boost/range/algorithm/equal.hpp:174:13: required from 'bool boost::range::equal(const SinglePassRange1&, const SinglePassRange2&) [with SinglePassRange1 = boost::iterator_range; SinglePassRange2 = boost::iterator_range]' src/third_party/boost-1.70.0/boost/range/iterator_range_core.hpp:646:32: required from 'bool boost::operator==(const boost::iterator_range&, const boost::iterator_range&) [with Iterator1T = const char*; Iterator2T = const char*]' src/third_party/boost-1.70.0/boost/algorithm/string/find_iterator.hpp:333:32: required from 'bool boost::algorithm::split_iterator::equal(const boost::algorithm::split_iterator&) const [with IteratorT = const char*]' src/third_party/boost-1.70.0/boost/iterator/iterator_facade.hpp:568:26: required from 'static bool boost::iterators::iterator_core_access::equal(const Facade1&, const Facade2&, mpl_::true_) [with Facade1 = boost::algorithm::split_iterator; Facade2 = boost::algorithm::split_iterator; mpl_::true_ = mpl_::bool_]' src/third_party/boost-1.70.0/boost/iterator/iterator_facade.hpp:901:3: required from 'typename boost::iterators::detail::enable_if_interoperable::type>::type boost::iterators::operator!=(const boost::iterators::iterator_facade&, const boost::iterators::iterator_facade&) [with Derived1 = boost::algorithm::split_iterator; V1 = const boost::iterator_range; TC1 = boost::iterators::forward_traversal_tag; Reference1 = const boost::iterator_range&; Difference1 = long int; Derived2 = boost::algorithm::split_iterator; V2 = const boost::iterator_range; TC2 = boost::iterators::forward_traversal_tag; Reference2 = const boost::iterator_range&; Difference2 = long int; typename boost::iterators::detail::enable_if_interoperable::type>::type = bool; typename boost::mpl::apply2::type = bool]' src/mongo/util/procparser.cpp:222:42: required from here src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:39:47: warning: 'this' pointer is null [-Wnonnull] 39 | static void failed() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ In file included from src/third_party/boost-1.70.0/boost/concept_check.hpp:31, from src/third_party/boost-1.70.0/boost/range/concepts.hpp:19, from src/third_party/boost-1.70.0/boost/range/size_type.hpp:20, from src/third_party/boost-1.70.0/boost/range/size.hpp:21, from src/third_party/boost-1.70.0/boost/range/functions.hpp:20, from src/third_party/boost-1.70.0/boost/range/iterator_range_core.hpp:38, from src/third_party/boost-1.70.0/boost/algorithm/string/finder.hpp:16, from src/mongo/util/procparser.cpp:38: src/third_party/boost-1.70.0/boost/concept/usage.hpp:16:5: note: in a call to non-static member function 'boost::concepts::usage_requirements::~usage_requirements() [with Model = boost::Convertible]' 16 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from src/third_party/boost-1.70.0/boost/concept/assert.hpp:35, from src/third_party/boost-1.70.0/boost/concept_check.hpp:20, from src/third_party/boost-1.70.0/boost/range/concepts.hpp:19, from src/third_party/boost-1.70.0/boost/range/size_type.hpp:20, from src/third_party/boost-1.70.0/boost/range/size.hpp:21, from src/third_party/boost-1.70.0/boost/range/functions.hpp:20, from src/third_party/boost-1.70.0/boost/range/iterator_range_core.hpp:38, from src/third_party/boost-1.70.0/boost/algorithm/string/finder.hpp:16, from src/mongo/util/procparser.cpp:38: src/third_party/boost-1.70.0/boost/concept/detail/general.hpp: In instantiation of 'static void boost::concepts::requirement::failed() [with Model = boost::Convertible]': src/third_party/boost-1.70.0/boost/range/concepts.hpp:152:13: required from 'struct boost::range_detail::SinglePassIteratorConcept' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of 'template boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, boost::concepts::detail::wrap_constraints*) [with Model = boost::range_detail::SinglePassIteratorConcept]' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:42:5: required from 'const bool boost::concepts::not_satisfied >::value' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:45:51: required from 'struct boost::concepts::not_satisfied >' src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:51:8: required from 'struct boost::concepts::requirement_)>' src/third_party/boost-1.70.0/boost/range/concepts.hpp:278:9: [ skipping 5 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] src/third_party/boost-1.70.0/boost/range/algorithm/equal.hpp:174:13: required from 'bool boost::range::equal(const SinglePassRange1&, const SinglePassRange2&) [with SinglePassRange1 = boost::iterator_range; SinglePassRange2 = boost::iterator_range]' src/third_party/boost-1.70.0/boost/range/iterator_range_core.hpp:646:32: required from 'bool boost::operator==(const boost::iterator_range&, const boost::iterator_range&) [with Iterator1T = const char*; Iterator2T = const char*]' src/third_party/boost-1.70.0/boost/algorithm/string/find_iterator.hpp:333:32: required from 'bool boost::algorithm::split_iterator::equal(const boost::algorithm::split_iterator&) const [with IteratorT = const char*]' src/third_party/boost-1.70.0/boost/iterator/iterator_facade.hpp:568:26: required from 'static bool boost::iterators::iterator_core_access::equal(const Facade1&, const Facade2&, mpl_::true_) [with Facade1 = boost::algorithm::split_iterator; Facade2 = boost::algorithm::split_iterator; mpl_::true_ = mpl_::bool_]' src/third_party/boost-1.70.0/boost/iterator/iterator_facade.hpp:901:3: required from 'typename boost::iterators::detail::enable_if_interoperable::type>::type boost::iterators::operator!=(const boost::iterators::iterator_facade&, const boost::iterators::iterator_facade&) [with Derived1 = boost::algorithm::split_iterator; V1 = const boost::iterator_range; TC1 = boost::iterators::forward_traversal_tag; Reference1 = const boost::iterator_range&; Difference1 = long int; Derived2 = boost::algorithm::split_iterator; V2 = const boost::iterator_range; TC2 = boost::iterators::forward_traversal_tag; Reference2 = const boost::iterator_range&; Difference2 = long int; typename boost::iterators::detail::enable_if_interoperable::type>::type = bool; typename boost::mpl::apply2::type = bool]' src/mongo/util/procparser.cpp:222:42: required from here src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:39:47: warning: 'this' pointer is null [-Wnonnull] 39 | static void failed() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ In file included from src/third_party/boost-1.70.0/boost/concept_check.hpp:31, from src/third_party/boost-1.70.0/boost/range/concepts.hpp:19, from src/third_party/boost-1.70.0/boost/range/size_type.hpp:20, from src/third_party/boost-1.70.0/boost/range/size.hpp:21, from src/third_party/boost-1.70.0/boost/range/functions.hpp:20, from src/third_party/boost-1.70.0/boost/range/iterator_range_core.hpp:38, from src/third_party/boost-1.70.0/boost/algorithm/string/finder.hpp:16, from src/mongo/util/procparser.cpp:38: src/third_party/boost-1.70.0/boost/concept/usage.hpp:30:7: note: in a call to non-static member function 'boost::Convertible::~Convertible() [with X = boost::iterators::random_access_traversal_tag; Y = boost::iterators::single_pass_traversal_tag]' 30 | ~model() | ^ src/third_party/boost-1.70.0/boost/concept_check.hpp:208:5: note: in expansion of macro 'BOOST_CONCEPT_USAGE' 208 | BOOST_CONCEPT_USAGE(Convertible) { | ^~~~~~~~~~~~~~~~~~~ In file included from src/third_party/boost-1.70.0/boost/concept/assert.hpp:35, from src/third_party/boost-1.70.0/boost/concept_check.hpp:20, from src/third_party/boost-1.70.0/boost/range/concepts.hpp:19, from src/third_party/boost-1.70.0/boost/range/size_type.hpp:20, from src/third_party/boost-1.70.0/boost/range/size.hpp:21, from src/third_party/boost-1.70.0/boost/range/functions.hpp:20, from src/third_party/boost-1.70.0/boost/range/iterator_range_core.hpp:38, from src/third_party/boost-1.70.0/boost/algorithm/string/finder.hpp:16, from src/mongo/util/procparser.cpp:38: src/third_party/boost-1.70.0/boost/concept/detail/general.hpp: In instantiation of 'static void boost::concepts::requirement::failed() [with Model = boost::concepts::usage_requirements >]': src/third_party/boost-1.70.0/boost/range/concepts.hpp:158:13: required from 'struct boost::range_detail::SinglePassIteratorConcept' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of 'template boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, boost::concepts::detail::wrap_constraints*) [with Model = boost::range_detail::SinglePassIteratorConcept]' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:42:5: required from 'const bool boost::concepts::not_satisfied >::value' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:45:51: required from 'struct boost::concepts::not_satisfied >' src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:51:8: required from 'struct boost::concepts::requirement_)>' src/third_party/boost-1.70.0/boost/range/concepts.hpp:278:9: [ skipping 5 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] src/third_party/boost-1.70.0/boost/range/algorithm/equal.hpp:174:13: required from 'bool boost::range::equal(const SinglePassRange1&, const SinglePassRange2&) [with SinglePassRange1 = boost::iterator_range; SinglePassRange2 = boost::iterator_range]' src/third_party/boost-1.70.0/boost/range/iterator_range_core.hpp:646:32: required from 'bool boost::operator==(const boost::iterator_range&, const boost::iterator_range&) [with Iterator1T = const char*; Iterator2T = const char*]' src/third_party/boost-1.70.0/boost/algorithm/string/find_iterator.hpp:333:32: required from 'bool boost::algorithm::split_iterator::equal(const boost::algorithm::split_iterator&) const [with IteratorT = const char*]' src/third_party/boost-1.70.0/boost/iterator/iterator_facade.hpp:568:26: required from 'static bool boost::iterators::iterator_core_access::equal(const Facade1&, const Facade2&, mpl_::true_) [with Facade1 = boost::algorithm::split_iterator; Facade2 = boost::algorithm::split_iterator; mpl_::true_ = mpl_::bool_]' src/third_party/boost-1.70.0/boost/iterator/iterator_facade.hpp:901:3: required from 'typename boost::iterators::detail::enable_if_interoperable::type>::type boost::iterators::operator!=(const boost::iterators::iterator_facade&, const boost::iterators::iterator_facade&) [with Derived1 = boost::algorithm::split_iterator; V1 = const boost::iterator_range; TC1 = boost::iterators::forward_traversal_tag; Reference1 = const boost::iterator_range&; Difference1 = long int; Derived2 = boost::algorithm::split_iterator; V2 = const boost::iterator_range; TC2 = boost::iterators::forward_traversal_tag; Reference2 = const boost::iterator_range&; Difference2 = long int; typename boost::iterators::detail::enable_if_interoperable::type>::type = bool; typename boost::mpl::apply2::type = bool]' src/mongo/util/procparser.cpp:222:42: required from here src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:39:47: warning: 'this' pointer is null [-Wnonnull] 39 | static void failed() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ In file included from src/third_party/boost-1.70.0/boost/concept_check.hpp:31, from src/third_party/boost-1.70.0/boost/range/concepts.hpp:19, from src/third_party/boost-1.70.0/boost/range/size_type.hpp:20, from src/third_party/boost-1.70.0/boost/range/size.hpp:21, from src/third_party/boost-1.70.0/boost/range/functions.hpp:20, from src/third_party/boost-1.70.0/boost/range/iterator_range_core.hpp:38, from src/third_party/boost-1.70.0/boost/algorithm/string/finder.hpp:16, from src/mongo/util/procparser.cpp:38: src/third_party/boost-1.70.0/boost/concept/usage.hpp:16:5: note: in a call to non-static member function 'boost::concepts::usage_requirements::~usage_requirements() [with Model = boost::range_detail::SinglePassIteratorConcept]' 16 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from src/third_party/boost-1.70.0/boost/concept/assert.hpp:35, from src/third_party/boost-1.70.0/boost/concept_check.hpp:20, from src/third_party/boost-1.70.0/boost/range/concepts.hpp:19, from src/third_party/boost-1.70.0/boost/range/size_type.hpp:20, from src/third_party/boost-1.70.0/boost/range/size.hpp:21, from src/third_party/boost-1.70.0/boost/range/functions.hpp:20, from src/third_party/boost-1.70.0/boost/range/iterator_range_core.hpp:38, from src/third_party/boost-1.70.0/boost/algorithm/string/finder.hpp:16, from src/mongo/util/procparser.cpp:38: src/third_party/boost-1.70.0/boost/concept/detail/general.hpp: In instantiation of 'static void boost::concepts::requirement::failed() [with Model = boost::range_detail::SinglePassIteratorConcept]': src/third_party/boost-1.70.0/boost/range/concepts.hpp:278:9: required from 'struct boost::SinglePassRangeConcept >' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of 'template boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, boost::concepts::detail::wrap_constraints*) [with Model = boost::SinglePassRangeConcept >]' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:42:5: required from 'const bool boost::concepts::not_satisfied > >::value' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:45:51: required from 'struct boost::concepts::not_satisfied > >' src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:51:8: required from 'struct boost::concepts::requirement_ >)>' src/third_party/boost-1.70.0/boost/range/algorithm/equal.hpp:174:13: required from 'bool boost::range::equal(const SinglePassRange1&, const SinglePassRange2&) [with SinglePassRange1 = boost::iterator_range; SinglePassRange2 = boost::iterator_range]' src/third_party/boost-1.70.0/boost/range/iterator_range_core.hpp:646:32: required from 'bool boost::operator==(const boost::iterator_range&, const boost::iterator_range&) [with Iterator1T = const char*; Iterator2T = const char*]' src/third_party/boost-1.70.0/boost/algorithm/string/find_iterator.hpp:333:32: required from 'bool boost::algorithm::split_iterator::equal(const boost::algorithm::split_iterator&) const [with IteratorT = const char*]' src/third_party/boost-1.70.0/boost/iterator/iterator_facade.hpp:568:26: required from 'static bool boost::iterators::iterator_core_access::equal(const Facade1&, const Facade2&, mpl_::true_) [with Facade1 = boost::algorithm::split_iterator; Facade2 = boost::algorithm::split_iterator; mpl_::true_ = mpl_::bool_]' src/third_party/boost-1.70.0/boost/iterator/iterator_facade.hpp:901:3: required from 'typename boost::iterators::detail::enable_if_interoperable::type>::type boost::iterators::operator!=(const boost::iterators::iterator_facade&, const boost::iterators::iterator_facade&) [with Derived1 = boost::algorithm::split_iterator; V1 = const boost::iterator_range; TC1 = boost::iterators::forward_traversal_tag; Reference1 = const boost::iterator_range&; Difference1 = long int; Derived2 = boost::algorithm::split_iterator; V2 = const boost::iterator_range; TC2 = boost::iterators::forward_traversal_tag; Reference2 = const boost::iterator_range&; Difference2 = long int; typename boost::iterators::detail::enable_if_interoperable::type>::type = bool; typename boost::mpl::apply2::type = bool]' src/mongo/util/procparser.cpp:222:42: required from here src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:39:47: warning: 'this' pointer is null [-Wnonnull] 39 | static void failed() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ In file included from src/third_party/boost-1.70.0/boost/concept_check.hpp:31, from src/third_party/boost-1.70.0/boost/range/concepts.hpp:19, from src/third_party/boost-1.70.0/boost/range/size_type.hpp:20, from src/third_party/boost-1.70.0/boost/range/size.hpp:21, from src/third_party/boost-1.70.0/boost/range/functions.hpp:20, from src/third_party/boost-1.70.0/boost/range/iterator_range_core.hpp:38, from src/third_party/boost-1.70.0/boost/algorithm/string/finder.hpp:16, from src/mongo/util/procparser.cpp:38: src/third_party/boost-1.70.0/boost/concept/usage.hpp:30:7: note: in a call to non-static member function 'boost::range_detail::SinglePassIteratorConcept::~SinglePassIteratorConcept() [with Iterator = const char*]' 30 | ~model() | ^ src/third_party/boost-1.70.0/boost/range/concepts.hpp:158:13: note: in expansion of macro 'BOOST_CONCEPT_USAGE' 158 | BOOST_CONCEPT_USAGE(SinglePassIteratorConcept) | ^~~~~~~~~~~~~~~~~~~ In file included from src/third_party/boost-1.70.0/boost/concept/assert.hpp:35, from src/third_party/boost-1.70.0/boost/concept_check.hpp:20, from src/third_party/boost-1.70.0/boost/range/concepts.hpp:19, from src/third_party/boost-1.70.0/boost/range/size_type.hpp:20, from src/third_party/boost-1.70.0/boost/range/size.hpp:21, from src/third_party/boost-1.70.0/boost/range/functions.hpp:20, from src/third_party/boost-1.70.0/boost/range/iterator_range_core.hpp:38, from src/third_party/boost-1.70.0/boost/algorithm/string/finder.hpp:16, from src/mongo/util/procparser.cpp:38: src/third_party/boost-1.70.0/boost/concept/detail/general.hpp: In instantiation of 'static void boost::concepts::requirement::failed() [with Model = boost::concepts::usage_requirements > >]': src/third_party/boost-1.70.0/boost/range/concepts.hpp:284:9: required from 'struct boost::SinglePassRangeConcept >' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of 'template boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, boost::concepts::detail::wrap_constraints*) [with Model = boost::SinglePassRangeConcept >]' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:42:5: required from 'const bool boost::concepts::not_satisfied > >::value' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:45:51: required from 'struct boost::concepts::not_satisfied > >' src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:51:8: required from 'struct boost::concepts::requirement_ >)>' src/third_party/boost-1.70.0/boost/range/algorithm/equal.hpp:174:13: required from 'bool boost::range::equal(const SinglePassRange1&, const SinglePassRange2&) [with SinglePassRange1 = boost::iterator_range; SinglePassRange2 = boost::iterator_range]' src/third_party/boost-1.70.0/boost/range/iterator_range_core.hpp:646:32: required from 'bool boost::operator==(const boost::iterator_range&, const boost::iterator_range&) [with Iterator1T = const char*; Iterator2T = const char*]' src/third_party/boost-1.70.0/boost/algorithm/string/find_iterator.hpp:333:32: required from 'bool boost::algorithm::split_iterator::equal(const boost::algorithm::split_iterator&) const [with IteratorT = const char*]' src/third_party/boost-1.70.0/boost/iterator/iterator_facade.hpp:568:26: required from 'static bool boost::iterators::iterator_core_access::equal(const Facade1&, const Facade2&, mpl_::true_) [with Facade1 = boost::algorithm::split_iterator; Facade2 = boost::algorithm::split_iterator; mpl_::true_ = mpl_::bool_]' src/third_party/boost-1.70.0/boost/iterator/iterator_facade.hpp:901:3: required from 'typename boost::iterators::detail::enable_if_interoperable::type>::type boost::iterators::operator!=(const boost::iterators::iterator_facade&, const boost::iterators::iterator_facade&) [with Derived1 = boost::algorithm::split_iterator; V1 = const boost::iterator_range; TC1 = boost::iterators::forward_traversal_tag; Reference1 = const boost::iterator_range&; Difference1 = long int; Derived2 = boost::algorithm::split_iterator; V2 = const boost::iterator_range; TC2 = boost::iterators::forward_traversal_tag; Reference2 = const boost::iterator_range&; Difference2 = long int; typename boost::iterators::detail::enable_if_interoperable::type>::type = bool; typename boost::mpl::apply2::type = bool]' src/mongo/util/procparser.cpp:222:42: required from here src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:39:47: warning: 'this' pointer is null [-Wnonnull] 39 | static void failed() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ In file included from src/third_party/boost-1.70.0/boost/concept_check.hpp:31, from src/third_party/boost-1.70.0/boost/range/concepts.hpp:19, from src/third_party/boost-1.70.0/boost/range/size_type.hpp:20, from src/third_party/boost-1.70.0/boost/range/size.hpp:21, from src/third_party/boost-1.70.0/boost/range/functions.hpp:20, from src/third_party/boost-1.70.0/boost/range/iterator_range_core.hpp:38, from src/third_party/boost-1.70.0/boost/algorithm/string/finder.hpp:16, from src/mongo/util/procparser.cpp:38: src/third_party/boost-1.70.0/boost/concept/usage.hpp:16:5: note: in a call to non-static member function 'boost::concepts::usage_requirements::~usage_requirements() [with Model = boost::SinglePassRangeConcept >]' 16 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from src/third_party/boost-1.70.0/boost/concept/assert.hpp:35, from src/third_party/boost-1.70.0/boost/concept_check.hpp:20, from src/third_party/boost-1.70.0/boost/range/concepts.hpp:19, from src/third_party/boost-1.70.0/boost/range/size_type.hpp:20, from src/third_party/boost-1.70.0/boost/range/size.hpp:21, from src/third_party/boost-1.70.0/boost/range/functions.hpp:20, from src/third_party/boost-1.70.0/boost/range/iterator_range_core.hpp:38, from src/third_party/boost-1.70.0/boost/algorithm/string/finder.hpp:16, from src/mongo/util/procparser.cpp:38: src/third_party/boost-1.70.0/boost/concept/detail/general.hpp: In instantiation of 'static void boost::concepts::requirement::failed() [with Model = boost::SinglePassRangeConcept >]': src/third_party/boost-1.70.0/boost/range/algorithm/equal.hpp:174:13: required from 'bool boost::range::equal(const SinglePassRange1&, const SinglePassRange2&) [with SinglePassRange1 = boost::iterator_range; SinglePassRange2 = boost::iterator_range]' src/third_party/boost-1.70.0/boost/range/iterator_range_core.hpp:646:32: required from 'bool boost::operator==(const boost::iterator_range&, const boost::iterator_range&) [with Iterator1T = const char*; Iterator2T = const char*]' src/third_party/boost-1.70.0/boost/algorithm/string/find_iterator.hpp:333:32: required from 'bool boost::algorithm::split_iterator::equal(const boost::algorithm::split_iterator&) const [with IteratorT = const char*]' src/third_party/boost-1.70.0/boost/iterator/iterator_facade.hpp:568:26: required from 'static bool boost::iterators::iterator_core_access::equal(const Facade1&, const Facade2&, mpl_::true_) [with Facade1 = boost::algorithm::split_iterator; Facade2 = boost::algorithm::split_iterator; mpl_::true_ = mpl_::bool_]' src/third_party/boost-1.70.0/boost/iterator/iterator_facade.hpp:901:3: required from 'typename boost::iterators::detail::enable_if_interoperable::type>::type boost::iterators::operator!=(const boost::iterators::iterator_facade&, const boost::iterators::iterator_facade&) [with Derived1 = boost::algorithm::split_iterator; V1 = const boost::iterator_range; TC1 = boost::iterators::forward_traversal_tag; Reference1 = const boost::iterator_range&; Difference1 = long int; Derived2 = boost::algorithm::split_iterator; V2 = const boost::iterator_range; TC2 = boost::iterators::forward_traversal_tag; Reference2 = const boost::iterator_range&; Difference2 = long int; typename boost::iterators::detail::enable_if_interoperable::type>::type = bool; typename boost::mpl::apply2::type = bool]' src/mongo/util/procparser.cpp:222:42: required from here src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:39:47: warning: 'this' pointer is null [-Wnonnull] 39 | static void failed() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ In file included from src/third_party/boost-1.70.0/boost/concept_check.hpp:31, from src/third_party/boost-1.70.0/boost/range/concepts.hpp:19, from src/third_party/boost-1.70.0/boost/range/size_type.hpp:20, from src/third_party/boost-1.70.0/boost/range/size.hpp:21, from src/third_party/boost-1.70.0/boost/range/functions.hpp:20, from src/third_party/boost-1.70.0/boost/range/iterator_range_core.hpp:38, from src/third_party/boost-1.70.0/boost/algorithm/string/finder.hpp:16, from src/mongo/util/procparser.cpp:38: src/third_party/boost-1.70.0/boost/concept/usage.hpp:30:7: note: in a call to non-static member function 'boost::SinglePassRangeConcept::~SinglePassRangeConcept() [with T = const boost::iterator_range]' 30 | ~model() | ^ src/third_party/boost-1.70.0/boost/range/concepts.hpp:284:9: note: in expansion of macro 'BOOST_CONCEPT_USAGE' 284 | BOOST_CONCEPT_USAGE(SinglePassRangeConcept) | ^~~~~~~~~~~~~~~~~~~ src/third_party/boost-1.70.0/boost/concept/usage.hpp: In instantiation of 'boost::concepts::usage_requirements::~usage_requirements() [with Model = boost::CopyConstructible]': src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:39:47: required from 'static void boost::concepts::requirement::failed() [with Model = boost::concepts::usage_requirements >]' src/third_party/boost-1.70.0/boost/concept_check.hpp:167:5: required from 'struct boost::CopyConstructible' src/third_party/boost-1.70.0/boost/range/concepts.hpp:125:16: required from 'struct boost::range_detail::IncrementableIteratorConcept' src/third_party/boost-1.70.0/boost/range/concepts.hpp:147:16: required from 'struct boost::range_detail::SinglePassIteratorConcept' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of 'template boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, boost::concepts::detail::wrap_constraints*) [with Model = boost::range_detail::SinglePassIteratorConcept]' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:42:5: [ skipping 8 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] src/third_party/boost-1.70.0/boost/range/algorithm/equal.hpp:174:13: required from 'bool boost::range::equal(const SinglePassRange1&, const SinglePassRange2&) [with SinglePassRange1 = boost::iterator_range; SinglePassRange2 = boost::iterator_range]' src/third_party/boost-1.70.0/boost/range/iterator_range_core.hpp:646:32: required from 'bool boost::operator==(const boost::iterator_range&, const boost::iterator_range&) [with Iterator1T = const char*; Iterator2T = const char*]' src/third_party/boost-1.70.0/boost/algorithm/string/find_iterator.hpp:333:32: required from 'bool boost::algorithm::split_iterator::equal(const boost::algorithm::split_iterator&) const [with IteratorT = const char*]' src/third_party/boost-1.70.0/boost/iterator/iterator_facade.hpp:568:26: required from 'static bool boost::iterators::iterator_core_access::equal(const Facade1&, const Facade2&, mpl_::true_) [with Facade1 = boost::algorithm::split_iterator; Facade2 = boost::algorithm::split_iterator; mpl_::true_ = mpl_::bool_]' src/third_party/boost-1.70.0/boost/iterator/iterator_facade.hpp:901:3: required from 'typename boost::iterators::detail::enable_if_interoperable::type>::type boost::iterators::operator!=(const boost::iterators::iterator_facade&, const boost::iterators::iterator_facade&) [with Derived1 = boost::algorithm::split_iterator; V1 = const boost::iterator_range; TC1 = boost::iterators::forward_traversal_tag; Reference1 = const boost::iterator_range&; Difference1 = long int; Derived2 = boost::algorithm::split_iterator; V2 = const boost::iterator_range; TC2 = boost::iterators::forward_traversal_tag; Reference2 = const boost::iterator_range&; Difference2 = long int; typename boost::iterators::detail::enable_if_interoperable::type>::type = bool; typename boost::mpl::apply2::type = bool]' src/mongo/util/procparser.cpp:222:42: required from here src/third_party/boost-1.70.0/boost/concept/usage.hpp:16:48: warning: 'this' pointer is null [-Wnonnull] 16 | ~usage_requirements() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ src/third_party/boost-1.70.0/boost/concept/usage.hpp:30:7: note: in a call to non-static member function 'boost::CopyConstructible::~CopyConstructible() [with TT = const char*]' 30 | ~model() | ^ src/third_party/boost-1.70.0/boost/concept_check.hpp:167:5: note: in expansion of macro 'BOOST_CONCEPT_USAGE' 167 | BOOST_CONCEPT_USAGE(CopyConstructible) { | ^~~~~~~~~~~~~~~~~~~ src/third_party/boost-1.70.0/boost/concept/usage.hpp: In instantiation of 'boost::concepts::usage_requirements::~usage_requirements() [with Model = boost::Convertible]': src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:39:47: required from 'static void boost::concepts::requirement::failed() [with Model = boost::concepts::usage_requirements >]' src/third_party/boost-1.70.0/boost/concept_check.hpp:208:5: required from 'struct boost::Convertible' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of 'template boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, boost::concepts::detail::wrap_constraints*) [with Model = boost::Convertible]' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:42:5: required from 'const bool boost::concepts::not_satisfied >::value' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:45:51: required from 'struct boost::concepts::not_satisfied >' src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:51:8: [ skipping 12 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] src/third_party/boost-1.70.0/boost/range/algorithm/equal.hpp:174:13: required from 'bool boost::range::equal(const SinglePassRange1&, const SinglePassRange2&) [with SinglePassRange1 = boost::iterator_range; SinglePassRange2 = boost::iterator_range]' src/third_party/boost-1.70.0/boost/range/iterator_range_core.hpp:646:32: required from 'bool boost::operator==(const boost::iterator_range&, const boost::iterator_range&) [with Iterator1T = const char*; Iterator2T = const char*]' src/third_party/boost-1.70.0/boost/algorithm/string/find_iterator.hpp:333:32: required from 'bool boost::algorithm::split_iterator::equal(const boost::algorithm::split_iterator&) const [with IteratorT = const char*]' src/third_party/boost-1.70.0/boost/iterator/iterator_facade.hpp:568:26: required from 'static bool boost::iterators::iterator_core_access::equal(const Facade1&, const Facade2&, mpl_::true_) [with Facade1 = boost::algorithm::split_iterator; Facade2 = boost::algorithm::split_iterator; mpl_::true_ = mpl_::bool_]' src/third_party/boost-1.70.0/boost/iterator/iterator_facade.hpp:901:3: required from 'typename boost::iterators::detail::enable_if_interoperable::type>::type boost::iterators::operator!=(const boost::iterators::iterator_facade&, const boost::iterators::iterator_facade&) [with Derived1 = boost::algorithm::split_iterator; V1 = const boost::iterator_range; TC1 = boost::iterators::forward_traversal_tag; Reference1 = const boost::iterator_range&; Difference1 = long int; Derived2 = boost::algorithm::split_iterator; V2 = const boost::iterator_range; TC2 = boost::iterators::forward_traversal_tag; Reference2 = const boost::iterator_range&; Difference2 = long int; typename boost::iterators::detail::enable_if_interoperable::type>::type = bool; typename boost::mpl::apply2::type = bool]' src/mongo/util/procparser.cpp:222:42: required from here src/third_party/boost-1.70.0/boost/concept/usage.hpp:16:48: warning: 'this' pointer is null [-Wnonnull] 16 | ~usage_requirements() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ src/third_party/boost-1.70.0/boost/concept/usage.hpp:30:7: note: in a call to non-static member function 'boost::Convertible::~Convertible() [with X = boost::iterators::random_access_traversal_tag; Y = boost::iterators::incrementable_traversal_tag]' 30 | ~model() | ^ src/third_party/boost-1.70.0/boost/concept_check.hpp:208:5: note: in expansion of macro 'BOOST_CONCEPT_USAGE' 208 | BOOST_CONCEPT_USAGE(Convertible) { | ^~~~~~~~~~~~~~~~~~~ src/third_party/boost-1.70.0/boost/concept/usage.hpp: In instantiation of 'boost::concepts::usage_requirements::~usage_requirements() [with Model = boost::range_detail::IncrementableIteratorConcept]': src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:39:47: required from 'static void boost::concepts::requirement::failed() [with Model = boost::concepts::usage_requirements >]' src/third_party/boost-1.70.0/boost/range/concepts.hpp:136:13: required from 'struct boost::range_detail::IncrementableIteratorConcept' src/third_party/boost-1.70.0/boost/range/concepts.hpp:147:16: required from 'struct boost::range_detail::SinglePassIteratorConcept' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of 'template boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, boost::concepts::detail::wrap_constraints*) [with Model = boost::range_detail::SinglePassIteratorConcept]' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:42:5: required from 'const bool boost::concepts::not_satisfied >::value' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:45:51: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] src/third_party/boost-1.70.0/boost/range/algorithm/equal.hpp:174:13: required from 'bool boost::range::equal(const SinglePassRange1&, const SinglePassRange2&) [with SinglePassRange1 = boost::iterator_range; SinglePassRange2 = boost::iterator_range]' src/third_party/boost-1.70.0/boost/range/iterator_range_core.hpp:646:32: required from 'bool boost::operator==(const boost::iterator_range&, const boost::iterator_range&) [with Iterator1T = const char*; Iterator2T = const char*]' src/third_party/boost-1.70.0/boost/algorithm/string/find_iterator.hpp:333:32: required from 'bool boost::algorithm::split_iterator::equal(const boost::algorithm::split_iterator&) const [with IteratorT = const char*]' src/third_party/boost-1.70.0/boost/iterator/iterator_facade.hpp:568:26: required from 'static bool boost::iterators::iterator_core_access::equal(const Facade1&, const Facade2&, mpl_::true_) [with Facade1 = boost::algorithm::split_iterator; Facade2 = boost::algorithm::split_iterator; mpl_::true_ = mpl_::bool_]' src/third_party/boost-1.70.0/boost/iterator/iterator_facade.hpp:901:3: required from 'typename boost::iterators::detail::enable_if_interoperable::type>::type boost::iterators::operator!=(const boost::iterators::iterator_facade&, const boost::iterators::iterator_facade&) [with Derived1 = boost::algorithm::split_iterator; V1 = const boost::iterator_range; TC1 = boost::iterators::forward_traversal_tag; Reference1 = const boost::iterator_range&; Difference1 = long int; Derived2 = boost::algorithm::split_iterator; V2 = const boost::iterator_range; TC2 = boost::iterators::forward_traversal_tag; Reference2 = const boost::iterator_range&; Difference2 = long int; typename boost::iterators::detail::enable_if_interoperable::type>::type = bool; typename boost::mpl::apply2::type = bool]' src/mongo/util/procparser.cpp:222:42: required from here src/third_party/boost-1.70.0/boost/concept/usage.hpp:16:48: warning: 'this' pointer is null [-Wnonnull] 16 | ~usage_requirements() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ src/third_party/boost-1.70.0/boost/concept/usage.hpp:30:7: note: in a call to non-static member function 'boost::range_detail::IncrementableIteratorConcept::~IncrementableIteratorConcept() [with Iterator = const char*]' 30 | ~model() | ^ src/third_party/boost-1.70.0/boost/range/concepts.hpp:136:13: note: in expansion of macro 'BOOST_CONCEPT_USAGE' 136 | BOOST_CONCEPT_USAGE(IncrementableIteratorConcept) | ^~~~~~~~~~~~~~~~~~~ src/third_party/boost-1.70.0/boost/concept/usage.hpp: In instantiation of 'boost::concepts::usage_requirements::~usage_requirements() [with Model = boost::EqualityComparable]': src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:39:47: required from 'static void boost::concepts::requirement::failed() [with Model = boost::concepts::usage_requirements >]' src/third_party/boost-1.70.0/boost/concept_check.hpp:233:5: required from 'struct boost::EqualityComparable' src/third_party/boost-1.70.0/boost/range/concepts.hpp:147:16: required from 'struct boost::range_detail::SinglePassIteratorConcept' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of 'template boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, boost::concepts::detail::wrap_constraints*) [with Model = boost::range_detail::SinglePassIteratorConcept]' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:42:5: required from 'const bool boost::concepts::not_satisfied >::value' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:45:51: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] src/third_party/boost-1.70.0/boost/range/algorithm/equal.hpp:174:13: required from 'bool boost::range::equal(const SinglePassRange1&, const SinglePassRange2&) [with SinglePassRange1 = boost::iterator_range; SinglePassRange2 = boost::iterator_range]' src/third_party/boost-1.70.0/boost/range/iterator_range_core.hpp:646:32: required from 'bool boost::operator==(const boost::iterator_range&, const boost::iterator_range&) [with Iterator1T = const char*; Iterator2T = const char*]' src/third_party/boost-1.70.0/boost/algorithm/string/find_iterator.hpp:333:32: required from 'bool boost::algorithm::split_iterator::equal(const boost::algorithm::split_iterator&) const [with IteratorT = const char*]' src/third_party/boost-1.70.0/boost/iterator/iterator_facade.hpp:568:26: required from 'static bool boost::iterators::iterator_core_access::equal(const Facade1&, const Facade2&, mpl_::true_) [with Facade1 = boost::algorithm::split_iterator; Facade2 = boost::algorithm::split_iterator; mpl_::true_ = mpl_::bool_]' src/third_party/boost-1.70.0/boost/iterator/iterator_facade.hpp:901:3: required from 'typename boost::iterators::detail::enable_if_interoperable::type>::type boost::iterators::operator!=(const boost::iterators::iterator_facade&, const boost::iterators::iterator_facade&) [with Derived1 = boost::algorithm::split_iterator; V1 = const boost::iterator_range; TC1 = boost::iterators::forward_traversal_tag; Reference1 = const boost::iterator_range&; Difference1 = long int; Derived2 = boost::algorithm::split_iterator; V2 = const boost::iterator_range; TC2 = boost::iterators::forward_traversal_tag; Reference2 = const boost::iterator_range&; Difference2 = long int; typename boost::iterators::detail::enable_if_interoperable::type>::type = bool; typename boost::mpl::apply2::type = bool]' src/mongo/util/procparser.cpp:222:42: required from here src/third_party/boost-1.70.0/boost/concept/usage.hpp:16:48: warning: 'this' pointer is null [-Wnonnull] 16 | ~usage_requirements() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ src/third_party/boost-1.70.0/boost/concept/usage.hpp:30:7: note: in a call to non-static member function 'boost::EqualityComparable::~EqualityComparable() [with TT = const char*]' 30 | ~model() | ^ src/third_party/boost-1.70.0/boost/concept_check.hpp:233:5: note: in expansion of macro 'BOOST_CONCEPT_USAGE' 233 | BOOST_CONCEPT_USAGE(EqualityComparable) { | ^~~~~~~~~~~~~~~~~~~ src/third_party/boost-1.70.0/boost/concept/usage.hpp: In instantiation of 'boost::concepts::usage_requirements::~usage_requirements() [with Model = boost::Convertible]': src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:39:47: required from 'static void boost::concepts::requirement::failed() [with Model = boost::concepts::usage_requirements >]' src/third_party/boost-1.70.0/boost/concept_check.hpp:208:5: required from 'struct boost::Convertible' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of 'template boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, boost::concepts::detail::wrap_constraints*) [with Model = boost::Convertible]' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:42:5: required from 'const bool boost::concepts::not_satisfied >::value' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:45:51: required from 'struct boost::concepts::not_satisfied >' src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:51:8: [ skipping 11 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] src/third_party/boost-1.70.0/boost/range/algorithm/equal.hpp:174:13: required from 'bool boost::range::equal(const SinglePassRange1&, const SinglePassRange2&) [with SinglePassRange1 = boost::iterator_range; SinglePassRange2 = boost::iterator_range]' src/third_party/boost-1.70.0/boost/range/iterator_range_core.hpp:646:32: required from 'bool boost::operator==(const boost::iterator_range&, const boost::iterator_range&) [with Iterator1T = const char*; Iterator2T = const char*]' src/third_party/boost-1.70.0/boost/algorithm/string/find_iterator.hpp:333:32: required from 'bool boost::algorithm::split_iterator::equal(const boost::algorithm::split_iterator&) const [with IteratorT = const char*]' src/third_party/boost-1.70.0/boost/iterator/iterator_facade.hpp:568:26: required from 'static bool boost::iterators::iterator_core_access::equal(const Facade1&, const Facade2&, mpl_::true_) [with Facade1 = boost::algorithm::split_iterator; Facade2 = boost::algorithm::split_iterator; mpl_::true_ = mpl_::bool_]' src/third_party/boost-1.70.0/boost/iterator/iterator_facade.hpp:901:3: required from 'typename boost::iterators::detail::enable_if_interoperable::type>::type boost::iterators::operator!=(const boost::iterators::iterator_facade&, const boost::iterators::iterator_facade&) [with Derived1 = boost::algorithm::split_iterator; V1 = const boost::iterator_range; TC1 = boost::iterators::forward_traversal_tag; Reference1 = const boost::iterator_range&; Difference1 = long int; Derived2 = boost::algorithm::split_iterator; V2 = const boost::iterator_range; TC2 = boost::iterators::forward_traversal_tag; Reference2 = const boost::iterator_range&; Difference2 = long int; typename boost::iterators::detail::enable_if_interoperable::type>::type = bool; typename boost::mpl::apply2::type = bool]' src/mongo/util/procparser.cpp:222:42: required from here src/third_party/boost-1.70.0/boost/concept/usage.hpp:16:48: warning: 'this' pointer is null [-Wnonnull] 16 | ~usage_requirements() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ src/third_party/boost-1.70.0/boost/concept/usage.hpp:30:7: note: in a call to non-static member function 'boost::Convertible::~Convertible() [with X = boost::iterators::random_access_traversal_tag; Y = boost::iterators::single_pass_traversal_tag]' 30 | ~model() | ^ src/third_party/boost-1.70.0/boost/concept_check.hpp:208:5: note: in expansion of macro 'BOOST_CONCEPT_USAGE' 208 | BOOST_CONCEPT_USAGE(Convertible) { | ^~~~~~~~~~~~~~~~~~~ src/third_party/boost-1.70.0/boost/concept/usage.hpp: In instantiation of 'boost::concepts::usage_requirements::~usage_requirements() [with Model = boost::range_detail::SinglePassIteratorConcept]': src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:39:47: required from 'static void boost::concepts::requirement::failed() [with Model = boost::concepts::usage_requirements >]' src/third_party/boost-1.70.0/boost/range/concepts.hpp:158:13: required from 'struct boost::range_detail::SinglePassIteratorConcept' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of 'template boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, boost::concepts::detail::wrap_constraints*) [with Model = boost::range_detail::SinglePassIteratorConcept]' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:42:5: required from 'const bool boost::concepts::not_satisfied >::value' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:45:51: required from 'struct boost::concepts::not_satisfied >' src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:51:8: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] src/third_party/boost-1.70.0/boost/range/algorithm/equal.hpp:174:13: required from 'bool boost::range::equal(const SinglePassRange1&, const SinglePassRange2&) [with SinglePassRange1 = boost::iterator_range; SinglePassRange2 = boost::iterator_range]' src/third_party/boost-1.70.0/boost/range/iterator_range_core.hpp:646:32: required from 'bool boost::operator==(const boost::iterator_range&, const boost::iterator_range&) [with Iterator1T = const char*; Iterator2T = const char*]' src/third_party/boost-1.70.0/boost/algorithm/string/find_iterator.hpp:333:32: required from 'bool boost::algorithm::split_iterator::equal(const boost::algorithm::split_iterator&) const [with IteratorT = const char*]' src/third_party/boost-1.70.0/boost/iterator/iterator_facade.hpp:568:26: required from 'static bool boost::iterators::iterator_core_access::equal(const Facade1&, const Facade2&, mpl_::true_) [with Facade1 = boost::algorithm::split_iterator; Facade2 = boost::algorithm::split_iterator; mpl_::true_ = mpl_::bool_]' src/third_party/boost-1.70.0/boost/iterator/iterator_facade.hpp:901:3: required from 'typename boost::iterators::detail::enable_if_interoperable::type>::type boost::iterators::operator!=(const boost::iterators::iterator_facade&, const boost::iterators::iterator_facade&) [with Derived1 = boost::algorithm::split_iterator; V1 = const boost::iterator_range; TC1 = boost::iterators::forward_traversal_tag; Reference1 = const boost::iterator_range&; Difference1 = long int; Derived2 = boost::algorithm::split_iterator; V2 = const boost::iterator_range; TC2 = boost::iterators::forward_traversal_tag; Reference2 = const boost::iterator_range&; Difference2 = long int; typename boost::iterators::detail::enable_if_interoperable::type>::type = bool; typename boost::mpl::apply2::type = bool]' src/mongo/util/procparser.cpp:222:42: required from here src/third_party/boost-1.70.0/boost/concept/usage.hpp:16:48: warning: 'this' pointer is null [-Wnonnull] 16 | ~usage_requirements() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ src/third_party/boost-1.70.0/boost/concept/usage.hpp:30:7: note: in a call to non-static member function 'boost::range_detail::SinglePassIteratorConcept::~SinglePassIteratorConcept() [with Iterator = const char*]' 30 | ~model() | ^ src/third_party/boost-1.70.0/boost/range/concepts.hpp:158:13: note: in expansion of macro 'BOOST_CONCEPT_USAGE' 158 | BOOST_CONCEPT_USAGE(SinglePassIteratorConcept) | ^~~~~~~~~~~~~~~~~~~ src/third_party/boost-1.70.0/boost/concept/usage.hpp: In instantiation of 'boost::concepts::usage_requirements::~usage_requirements() [with Model = boost::SinglePassRangeConcept >]': src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:39:47: required from 'static void boost::concepts::requirement::failed() [with Model = boost::concepts::usage_requirements > >]' src/third_party/boost-1.70.0/boost/range/concepts.hpp:284:9: required from 'struct boost::SinglePassRangeConcept >' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of 'template boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, boost::concepts::detail::wrap_constraints*) [with Model = boost::SinglePassRangeConcept >]' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:42:5: required from 'const bool boost::concepts::not_satisfied > >::value' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:45:51: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] src/third_party/boost-1.70.0/boost/range/algorithm/equal.hpp:174:13: required from 'bool boost::range::equal(const SinglePassRange1&, const SinglePassRange2&) [with SinglePassRange1 = boost::iterator_range; SinglePassRange2 = boost::iterator_range]' src/third_party/boost-1.70.0/boost/range/iterator_range_core.hpp:646:32: required from 'bool boost::operator==(const boost::iterator_range&, const boost::iterator_range&) [with Iterator1T = const char*; Iterator2T = const char*]' src/third_party/boost-1.70.0/boost/algorithm/string/find_iterator.hpp:333:32: required from 'bool boost::algorithm::split_iterator::equal(const boost::algorithm::split_iterator&) const [with IteratorT = const char*]' src/third_party/boost-1.70.0/boost/iterator/iterator_facade.hpp:568:26: required from 'static bool boost::iterators::iterator_core_access::equal(const Facade1&, const Facade2&, mpl_::true_) [with Facade1 = boost::algorithm::split_iterator; Facade2 = boost::algorithm::split_iterator; mpl_::true_ = mpl_::bool_]' src/third_party/boost-1.70.0/boost/iterator/iterator_facade.hpp:901:3: required from 'typename boost::iterators::detail::enable_if_interoperable::type>::type boost::iterators::operator!=(const boost::iterators::iterator_facade&, const boost::iterators::iterator_facade&) [with Derived1 = boost::algorithm::split_iterator; V1 = const boost::iterator_range; TC1 = boost::iterators::forward_traversal_tag; Reference1 = const boost::iterator_range&; Difference1 = long int; Derived2 = boost::algorithm::split_iterator; V2 = const boost::iterator_range; TC2 = boost::iterators::forward_traversal_tag; Reference2 = const boost::iterator_range&; Difference2 = long int; typename boost::iterators::detail::enable_if_interoperable::type>::type = bool; typename boost::mpl::apply2::type = bool]' src/mongo/util/procparser.cpp:222:42: required from here src/third_party/boost-1.70.0/boost/concept/usage.hpp:16:48: warning: 'this' pointer is null [-Wnonnull] 16 | ~usage_requirements() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ src/third_party/boost-1.70.0/boost/concept/usage.hpp:30:7: note: in a call to non-static member function 'boost::SinglePassRangeConcept::~SinglePassRangeConcept() [with T = const boost::iterator_range]' 30 | ~model() | ^ src/third_party/boost-1.70.0/boost/range/concepts.hpp:284:9: note: in expansion of macro 'BOOST_CONCEPT_USAGE' 284 | BOOST_CONCEPT_USAGE(SinglePassRangeConcept) | ^~~~~~~~~~~~~~~~~~~ In file included from src/mongo/db/matcher/expression_parser.h:39, from src/mongo/db/matcher/copyable_match_expression.h:32, from src/mongo/db/query/projection_ast.h:33, from src/mongo/db/query/projection.h:33, from src/mongo/db/query/canonical_query.h:38, from src/mongo/db/query/explain.h:34, from src/mongo/db/commands.h:47, from src/mongo/db/commands/server_status.h:32, from src/mongo/db/storage/flow_control.h:34, from src/mongo/db/concurrency/lock_state.cpp:43: src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr mongo::TypeMatchExpressionBase::shallowClone() const [with T = mongo::InternalSchemaBinDataEncryptedTypeExpression]': src/mongo/db/matcher/expression_type.h:69:38: required from here src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move] 74 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:74:30: note: remove 'std::move' call src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr mongo::TypeMatchExpressionBase::shallowClone() const [with T = mongo::InternalSchemaTypeExpression]': src/mongo/db/matcher/expression_type.h:69:38: required from here src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:74:30: note: remove 'std::move' call src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr mongo::TypeMatchExpressionBase::shallowClone() const [with T = mongo::TypeMatchExpression]': src/mongo/db/matcher/expression_type.h:69:38: required from here src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:74:30: note: remove 'std::move' call ar rcsTD build/opt/mongo/util/libprocparser.a build/opt/mongo/util/procparser.o Skipping ranlib for thin archive build/opt/mongo/util/libprocparser.a g++ -o build/opt/third_party/icu4c-57.1/source/common/normalizer2.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -pipe -frecord-gcc-switches -g -O2 -flto=auto -I/usr/include/pcre -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/normalizer2.cpp g++ -o build/opt/third_party/icu4c-57.1/source/common/caniter.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -pipe -frecord-gcc-switches -g -O2 -flto=auto -I/usr/include/pcre -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/caniter.cpp g++ -o build/opt/mongo/executor/async_multicaster.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/pcre -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -Ibuild/opt -Isrc src/mongo/executor/async_multicaster.cpp gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_lgamma.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/pcre -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_lgamma.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/opt/mongo/logv2/log_detail.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/pcre -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/unwind/platform/linux_x86_64/install/include -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -Ibuild/opt -Isrc src/mongo/logv2/log_detail.cpp Generating build/opt/mongo/s/catalog/type_chunk_base_gen.cpp Generating build/opt/mongo/db/commands/txn_cmds_gen.cpp Generating build/opt/mongo/db/kill_sessions_gen.cpp g++ -o build/opt/mongo/s/write_ops/batch_write_exec.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/pcre -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -Ibuild/opt -Isrc src/mongo/s/write_ops/batch_write_exec.cpp g++ -o build/opt/mongo/s/write_ops/batch_write_op.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/pcre -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -Ibuild/opt -Isrc src/mongo/s/write_ops/batch_write_op.cpp g++ -o build/opt/mongo/s/write_ops/write_op.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/pcre -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -Ibuild/opt -Isrc src/mongo/s/write_ops/write_op.cpp g++ -o build/opt/mongo/s/write_ops/chunk_manager_targeter.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/pcre -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -Ibuild/opt -Isrc src/mongo/s/write_ops/chunk_manager_targeter.cpp In file included from src/mongo/db/matcher/expression_text_base.h:32, from src/mongo/db/matcher/extensions_callback.h:33, from src/mongo/db/matcher/extensions_callback_noop.h:32, from src/mongo/db/query/canonical_query.h:36, from src/mongo/db/query/plan_cache.h:36, from src/mongo/db/query/query_solution.h:40, from src/mongo/db/query/plan_executor.h:36, from src/mongo/db/catalog/collection.h:48, from src/mongo/db/catalog/collection_catalog.h:36, from src/mongo/db/curop.h:35, from src/mongo/db/stats/single_transaction_stats.h:32, from src/mongo/s/transaction_router.h:39, from src/mongo/s/write_ops/batch_write_exec.cpp:49: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:201:25: warning: redundant move in return statement [-Wredundant-move] 201 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:201:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:223:25: warning: redundant move in return statement [-Wredundant-move] 223 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:223:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:245:25: warning: redundant move in return statement [-Wredundant-move] 245 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:245:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:267:25: warning: redundant move in return statement [-Wredundant-move] 267 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:267:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:289:25: warning: redundant move in return statement [-Wredundant-move] 289 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:289:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:308:25: warning: redundant move in return statement [-Wredundant-move] 308 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:308:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:352:25: warning: redundant move in return statement [-Wredundant-move] 352 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:352:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:395:25: warning: redundant move in return statement [-Wredundant-move] 395 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:395:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:579:25: warning: redundant move in return statement [-Wredundant-move] 579 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:579:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:600:25: warning: redundant move in return statement [-Wredundant-move] 600 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:600:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:621:25: warning: redundant move in return statement [-Wredundant-move] 621 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:621:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:642:25: warning: redundant move in return statement [-Wredundant-move] 642 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:642:25: note: remove 'std::move' call In file included from src/mongo/db/pipeline/expression_context.h:44, from src/mongo/db/matcher/extensions_callback.h:35, from src/mongo/db/matcher/extensions_callback_noop.h:32, from src/mongo/db/query/canonical_query.h:36, from src/mongo/db/query/plan_cache.h:36, from src/mongo/db/query/query_solution.h:40, from src/mongo/db/query/plan_executor.h:36, from src/mongo/db/catalog/collection.h:48, from src/mongo/db/catalog/collection_catalog.h:36, from src/mongo/db/curop.h:35, from src/mongo/db/stats/single_transaction_stats.h:32, from src/mongo/s/transaction_router.h:39, from src/mongo/s/write_ops/batch_write_exec.cpp:49: src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)': src/mongo/db/pipeline/aggregation_request.h:90:25: warning: redundant move in return statement [-Wredundant-move] 90 | return std::move(pipeline); | ~~~~~~~~~^~~~~~~~~~ src/mongo/db/pipeline/aggregation_request.h:90:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_text_base.h:32, from src/mongo/db/matcher/extensions_callback.h:33, from src/mongo/db/matcher/extensions_callback_noop.h:32, from src/mongo/db/query/canonical_query.h:36, from src/mongo/db/query/plan_cache.h:36, from src/mongo/db/query/query_solution.h:40, from src/mongo/db/query/plan_executor.h:36, from src/mongo/db/catalog/collection.h:48, from src/mongo/db/catalog/database.h:38, from src/mongo/db/s/database_sharding_state.h:32, from src/mongo/s/write_ops/batch_write_op.cpp:40: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:201:25: warning: redundant move in return statement [-Wredundant-move] 201 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:201:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:223:25: warning: redundant move in return statement [-Wredundant-move] 223 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:223:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:245:25: warning: redundant move in return statement [-Wredundant-move] 245 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:245:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:267:25: warning: redundant move in return statement [-Wredundant-move] 267 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:267:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:289:25: warning: redundant move in return statement [-Wredundant-move] 289 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:289:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:308:25: warning: redundant move in return statement [-Wredundant-move] 308 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:308:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:352:25: warning: redundant move in return statement [-Wredundant-move] 352 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:352:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:395:25: warning: redundant move in return statement [-Wredundant-move] 395 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:395:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:579:25: warning: redundant move in return statement [-Wredundant-move] 579 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:579:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:600:25: warning: redundant move in return statement [-Wredundant-move] 600 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:600:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:621:25: warning: redundant move in return statement [-Wredundant-move] 621 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:621:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:642:25: warning: redundant move in return statement [-Wredundant-move] 642 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:642:25: note: remove 'std::move' call In file included from src/mongo/db/pipeline/expression_context.h:44, from src/mongo/db/matcher/extensions_callback.h:35, from src/mongo/db/matcher/extensions_callback_noop.h:32, from src/mongo/db/query/canonical_query.h:36, from src/mongo/db/query/plan_cache.h:36, from src/mongo/db/query/query_solution.h:40, from src/mongo/db/query/plan_executor.h:36, from src/mongo/db/catalog/collection.h:48, from src/mongo/db/catalog/database.h:38, from src/mongo/db/s/database_sharding_state.h:32, from src/mongo/s/write_ops/batch_write_op.cpp:40: src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)': src/mongo/db/pipeline/aggregation_request.h:90:25: warning: redundant move in return statement [-Wredundant-move] 90 | return std::move(pipeline); | ~~~~~~~~~^~~~~~~~~~ src/mongo/db/pipeline/aggregation_request.h:90:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:38, from src/mongo/db/matcher/copyable_match_expression.h:32, from src/mongo/db/query/projection_ast.h:33, from src/mongo/db/query/projection.h:33, from src/mongo/db/query/canonical_query.h:38, from src/mongo/db/query/plan_cache.h:36, from src/mongo/db/query/query_solution.h:40, from src/mongo/db/query/plan_executor.h:36, from src/mongo/db/catalog/collection.h:48, from src/mongo/db/catalog/collection_catalog.h:36, from src/mongo/db/curop.h:35, from src/mongo/db/stats/single_transaction_stats.h:32, from src/mongo/s/transaction_router.h:39, from src/mongo/s/write_ops/batch_write_exec.cpp:49: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:39, from src/mongo/db/matcher/copyable_match_expression.h:32, from src/mongo/db/query/projection_ast.h:33, from src/mongo/db/query/projection.h:33, from src/mongo/db/query/canonical_query.h:38, from src/mongo/db/query/plan_cache.h:36, from src/mongo/db/query/query_solution.h:40, from src/mongo/db/query/plan_executor.h:36, from src/mongo/db/catalog/collection.h:48, from src/mongo/db/catalog/collection_catalog.h:36, from src/mongo/db/curop.h:35, from src/mongo/db/stats/single_transaction_stats.h:32, from src/mongo/s/transaction_router.h:39, from src/mongo/s/write_ops/batch_write_exec.cpp:49: src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr mongo::InternalSchemaBinDataSubTypeExpression::shallowClone() const': src/mongo/db/matcher/expression_type.h:196:25: warning: redundant move in return statement [-Wredundant-move] 196 | return std::move(expr); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_type.h:196:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:38, from src/mongo/db/matcher/copyable_match_expression.h:32, from src/mongo/db/query/projection_ast.h:33, from src/mongo/db/query/projection.h:33, from src/mongo/db/query/canonical_query.h:38, from src/mongo/db/query/plan_cache.h:36, from src/mongo/db/query/query_solution.h:40, from src/mongo/db/query/plan_executor.h:36, from src/mongo/db/catalog/collection.h:48, from src/mongo/db/catalog/database.h:38, from src/mongo/db/s/database_sharding_state.h:32, from src/mongo/s/write_ops/batch_write_op.cpp:40: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:39, from src/mongo/db/matcher/copyable_match_expression.h:32, from src/mongo/db/query/projection_ast.h:33, from src/mongo/db/query/projection.h:33, from src/mongo/db/query/canonical_query.h:38, from src/mongo/db/query/plan_cache.h:36, from src/mongo/db/query/query_solution.h:40, from src/mongo/db/query/plan_executor.h:36, from src/mongo/db/catalog/collection.h:48, from src/mongo/db/catalog/database.h:38, from src/mongo/db/s/database_sharding_state.h:32, from src/mongo/s/write_ops/batch_write_op.cpp:40: src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr mongo::InternalSchemaBinDataSubTypeExpression::shallowClone() const': src/mongo/db/matcher/expression_type.h:196:25: warning: redundant move in return statement [-Wredundant-move] 196 | return std::move(expr); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_type.h:196:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_text_base.h:32, from src/mongo/db/matcher/extensions_callback.h:33, from src/mongo/db/matcher/extensions_callback_noop.h:32, from src/mongo/s/write_ops/chunk_manager_targeter.cpp:38: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:201:25: warning: redundant move in return statement [-Wredundant-move] 201 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:201:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:223:25: warning: redundant move in return statement [-Wredundant-move] 223 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:223:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:245:25: warning: redundant move in return statement [-Wredundant-move] 245 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:245:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:267:25: warning: redundant move in return statement [-Wredundant-move] 267 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:267:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:289:25: warning: redundant move in return statement [-Wredundant-move] 289 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:289:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:308:25: warning: redundant move in return statement [-Wredundant-move] 308 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:308:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:352:25: warning: redundant move in return statement [-Wredundant-move] 352 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:352:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:395:25: warning: redundant move in return statement [-Wredundant-move] 395 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:395:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:579:25: warning: redundant move in return statement [-Wredundant-move] 579 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:579:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:600:25: warning: redundant move in return statement [-Wredundant-move] 600 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:600:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:621:25: warning: redundant move in return statement [-Wredundant-move] 621 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:621:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:642:25: warning: redundant move in return statement [-Wredundant-move] 642 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:642:25: note: remove 'std::move' call In file included from src/mongo/db/pipeline/expression_context.h:44, from src/mongo/db/matcher/extensions_callback.h:35, from src/mongo/db/matcher/extensions_callback_noop.h:32, from src/mongo/s/write_ops/chunk_manager_targeter.cpp:38: src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)': src/mongo/db/pipeline/aggregation_request.h:90:25: warning: redundant move in return statement [-Wredundant-move] 90 | return std::move(pipeline); | ~~~~~~~~~^~~~~~~~~~ src/mongo/db/pipeline/aggregation_request.h:90:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_text_base.h:32, from src/mongo/db/matcher/extensions_callback.h:33, from src/mongo/db/matcher/extensions_callback_noop.h:32, from src/mongo/db/query/canonical_query.h:36, from src/mongo/db/query/plan_cache.h:36, from src/mongo/db/query/query_solution.h:40, from src/mongo/db/query/plan_executor.h:36, from src/mongo/db/catalog/collection.h:48, from src/mongo/db/catalog/collection_catalog.h:36, from src/mongo/db/curop.h:35, from src/mongo/db/stats/single_transaction_stats.h:32, from src/mongo/s/transaction_router.h:39, from src/mongo/s/write_ops/write_op.cpp:34: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:201:25: warning: redundant move in return statement [-Wredundant-move] 201 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:201:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:223:25: warning: redundant move in return statement [-Wredundant-move] 223 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:223:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:245:25: warning: redundant move in return statement [-Wredundant-move] 245 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:245:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:267:25: warning: redundant move in return statement [-Wredundant-move] 267 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:267:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:289:25: warning: redundant move in return statement [-Wredundant-move] 289 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:289:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:308:25: warning: redundant move in return statement [-Wredundant-move] 308 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:308:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:352:25: warning: redundant move in return statement [-Wredundant-move] 352 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:352:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:395:25: warning: redundant move in return statement [-Wredundant-move] 395 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:395:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:579:25: warning: redundant move in return statement [-Wredundant-move] 579 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:579:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:600:25: warning: redundant move in return statement [-Wredundant-move] 600 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:600:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:621:25: warning: redundant move in return statement [-Wredundant-move] 621 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:621:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:642:25: warning: redundant move in return statement [-Wredundant-move] 642 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:642:25: note: remove 'std::move' call In file included from src/mongo/db/pipeline/expression_context.h:44, from src/mongo/db/matcher/extensions_callback.h:35, from src/mongo/db/matcher/extensions_callback_noop.h:32, from src/mongo/db/query/canonical_query.h:36, from src/mongo/db/query/plan_cache.h:36, from src/mongo/db/query/query_solution.h:40, from src/mongo/db/query/plan_executor.h:36, from src/mongo/db/catalog/collection.h:48, from src/mongo/db/catalog/collection_catalog.h:36, from src/mongo/db/curop.h:35, from src/mongo/db/stats/single_transaction_stats.h:32, from src/mongo/s/transaction_router.h:39, from src/mongo/s/write_ops/write_op.cpp:34: src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)': src/mongo/db/pipeline/aggregation_request.h:90:25: warning: redundant move in return statement [-Wredundant-move] 90 | return std::move(pipeline); | ~~~~~~~~~^~~~~~~~~~ src/mongo/db/pipeline/aggregation_request.h:90:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:38, from src/mongo/db/matcher/copyable_match_expression.h:32, from src/mongo/db/query/projection_ast.h:33, from src/mongo/db/query/projection.h:33, from src/mongo/db/query/canonical_query.h:38, from src/mongo/s/write_ops/chunk_manager_targeter.cpp:39: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:39, from src/mongo/db/matcher/copyable_match_expression.h:32, from src/mongo/db/query/projection_ast.h:33, from src/mongo/db/query/projection.h:33, from src/mongo/db/query/canonical_query.h:38, from src/mongo/s/write_ops/chunk_manager_targeter.cpp:39: src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr mongo::InternalSchemaBinDataSubTypeExpression::shallowClone() const': src/mongo/db/matcher/expression_type.h:196:25: warning: redundant move in return statement [-Wredundant-move] 196 | return std::move(expr); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_type.h:196:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:38, from src/mongo/db/matcher/copyable_match_expression.h:32, from src/mongo/db/query/projection_ast.h:33, from src/mongo/db/query/projection.h:33, from src/mongo/db/query/canonical_query.h:38, from src/mongo/db/query/plan_cache.h:36, from src/mongo/db/query/query_solution.h:40, from src/mongo/db/query/plan_executor.h:36, from src/mongo/db/catalog/collection.h:48, from src/mongo/db/catalog/collection_catalog.h:36, from src/mongo/db/curop.h:35, from src/mongo/db/stats/single_transaction_stats.h:32, from src/mongo/s/transaction_router.h:39, from src/mongo/s/write_ops/write_op.cpp:34: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:39, from src/mongo/db/matcher/copyable_match_expression.h:32, from src/mongo/db/query/projection_ast.h:33, from src/mongo/db/query/projection.h:33, from src/mongo/db/query/canonical_query.h:38, from src/mongo/db/query/plan_cache.h:36, from src/mongo/db/query/query_solution.h:40, from src/mongo/db/query/plan_executor.h:36, from src/mongo/db/catalog/collection.h:48, from src/mongo/db/catalog/collection_catalog.h:36, from src/mongo/db/curop.h:35, from src/mongo/db/stats/single_transaction_stats.h:32, from src/mongo/s/transaction_router.h:39, from src/mongo/s/write_ops/write_op.cpp:34: src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr mongo::InternalSchemaBinDataSubTypeExpression::shallowClone() const': src/mongo/db/matcher/expression_type.h:196:25: warning: redundant move in return statement [-Wredundant-move] 196 | return std::move(expr); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_type.h:196:25: note: remove 'std::move' call src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr mongo::TypeMatchExpressionBase::shallowClone() const [with T = mongo::InternalSchemaBinDataEncryptedTypeExpression]': src/mongo/db/matcher/expression_type.h:69:38: required from here src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move] 74 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:74:30: note: remove 'std::move' call src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr mongo::TypeMatchExpressionBase::shallowClone() const [with T = mongo::InternalSchemaTypeExpression]': src/mongo/db/matcher/expression_type.h:69:38: required from here src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:74:30: note: remove 'std::move' call src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr mongo::TypeMatchExpressionBase::shallowClone() const [with T = mongo::TypeMatchExpression]': src/mongo/db/matcher/expression_type.h:69:38: required from here src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:74:30: note: remove 'std::move' call src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr mongo::TypeMatchExpressionBase::shallowClone() const [with T = mongo::InternalSchemaBinDataEncryptedTypeExpression]': src/mongo/db/matcher/expression_type.h:69:38: required from here src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move] 74 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:74:30: note: remove 'std::move' call src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr mongo::TypeMatchExpressionBase::shallowClone() const [with T = mongo::InternalSchemaTypeExpression]': src/mongo/db/matcher/expression_type.h:69:38: required from here src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:74:30: note: remove 'std::move' call src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr mongo::TypeMatchExpressionBase::shallowClone() const [with T = mongo::TypeMatchExpression]': src/mongo/db/matcher/expression_type.h:69:38: required from here src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:74:30: note: remove 'std::move' call src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr mongo::TypeMatchExpressionBase::shallowClone() const [with T = mongo::InternalSchemaBinDataEncryptedTypeExpression]': src/mongo/db/matcher/expression_type.h:69:38: required from here src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move] 74 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:74:30: note: remove 'std::move' call src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr mongo::TypeMatchExpressionBase::shallowClone() const [with T = mongo::InternalSchemaTypeExpression]': src/mongo/db/matcher/expression_type.h:69:38: required from here src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:74:30: note: remove 'std::move' call src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr mongo::TypeMatchExpressionBase::shallowClone() const [with T = mongo::TypeMatchExpression]': src/mongo/db/matcher/expression_type.h:69:38: required from here src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:74:30: note: remove 'std::move' call src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr mongo::TypeMatchExpressionBase::shallowClone() const [with T = mongo::InternalSchemaBinDataEncryptedTypeExpression]': src/mongo/db/matcher/expression_type.h:69:38: required from here src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move] 74 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:74:30: note: remove 'std::move' call src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr mongo::TypeMatchExpressionBase::shallowClone() const [with T = mongo::InternalSchemaTypeExpression]': src/mongo/db/matcher/expression_type.h:69:38: required from here src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:74:30: note: remove 'std::move' call src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr mongo::TypeMatchExpressionBase::shallowClone() const [with T = mongo::TypeMatchExpression]': src/mongo/db/matcher/expression_type.h:69:38: required from here src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:74:30: note: remove 'std::move' call g++ -o build/opt/mongo/scripting/bson_template_evaluator.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/pcre -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -Ibuild/opt -Isrc src/mongo/scripting/bson_template_evaluator.cpp g++ -o build/opt/mongo/db/ftdc/collector.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/pcre -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -Ibuild/opt -Isrc src/mongo/db/ftdc/collector.cpp g++ -o build/opt/mongo/db/commands/haystack.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/pcre -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -Ibuild/opt -Isrc src/mongo/db/commands/haystack.cpp ar rcsTD build/opt/mongo/s/write_ops/libcluster_write_op.a build/opt/mongo/s/write_ops/batch_write_exec.o build/opt/mongo/s/write_ops/batch_write_op.o build/opt/mongo/s/write_ops/chunk_manager_targeter.o build/opt/mongo/s/write_ops/write_op.o Skipping ranlib for thin archive build/opt/mongo/s/write_ops/libcluster_write_op.a Generating build/opt/mongo/db/commands/txn_two_phase_commit_cmds_gen.cpp Generating build/opt/mongo/s/router_transactions_stats_gen.cpp Generating build/opt/mongo/s/query/async_results_merger_params_gen.cpp g++ -o build/opt/mongo/s/transaction_router.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/pcre -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -Ibuild/opt -Isrc src/mongo/s/transaction_router.cpp g++ -o build/opt/mongo/s/query/store_possible_cursor.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/pcre -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -Ibuild/opt -Isrc src/mongo/s/query/store_possible_cursor.cpp In file included from src/mongo/db/matcher/expression_text_base.h:32, from src/mongo/db/matcher/extensions_callback.h:33, from src/mongo/db/matcher/extensions_callback_noop.h:32, from src/mongo/db/query/canonical_query.h:36, from src/mongo/db/query/plan_cache.h:36, from src/mongo/db/query/query_solution.h:40, from src/mongo/db/query/plan_executor.h:36, from src/mongo/db/catalog/collection.h:48, from src/mongo/db/commands/haystack.cpp:39: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:201:25: warning: redundant move in return statement [-Wredundant-move] 201 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:201:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:223:25: warning: redundant move in return statement [-Wredundant-move] 223 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:223:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:245:25: warning: redundant move in return statement [-Wredundant-move] 245 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:245:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:267:25: warning: redundant move in return statement [-Wredundant-move] 267 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:267:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:289:25: warning: redundant move in return statement [-Wredundant-move] 289 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:289:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:308:25: warning: redundant move in return statement [-Wredundant-move] 308 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:308:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:352:25: warning: redundant move in return statement [-Wredundant-move] 352 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:352:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:395:25: warning: redundant move in return statement [-Wredundant-move] 395 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:395:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:579:25: warning: redundant move in return statement [-Wredundant-move] 579 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:579:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:600:25: warning: redundant move in return statement [-Wredundant-move] 600 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:600:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:621:25: warning: redundant move in return statement [-Wredundant-move] 621 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:621:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_text_base.h:32, from src/mongo/db/matcher/extensions_callback.h:33, from src/mongo/db/matcher/extensions_callback_noop.h:32, from src/mongo/db/query/canonical_query.h:36, from src/mongo/db/query/plan_cache.h:36, from src/mongo/db/query/query_solution.h:40, from src/mongo/db/query/plan_executor.h:36, from src/mongo/db/catalog/collection.h:48, from src/mongo/db/catalog/collection_catalog.h:36, from src/mongo/db/curop.h:35, from src/mongo/db/stats/single_transaction_stats.h:32, from src/mongo/s/transaction_router.h:39, from src/mongo/s/transaction_router.cpp:34: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:201:25: warning: redundant move in return statement [-Wredundant-move] 201 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:201:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:223:25: warning: redundant move in return statement [-Wredundant-move] 223 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:223:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:245:25: warning: redundant move in return statement [-Wredundant-move] 245 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:245:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:267:25: warning: redundant move in return statement [-Wredundant-move] 267 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:267:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:289:25: warning: redundant move in return statement [-Wredundant-move] 289 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:289:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:308:25: warning: redundant move in return statement [-Wredundant-move] 308 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:308:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:352:25: warning: redundant move in return statement [-Wredundant-move] 352 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:352:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_text_base.h:32, from src/mongo/db/matcher/extensions_callback.h:33, from src/mongo/db/matcher/extensions_callback_noop.h:32, from src/mongo/db/query/canonical_query.h:36, from src/mongo/db/query/plan_cache.h:36, from src/mongo/db/query/query_solution.h:40, from src/mongo/db/query/plan_executor.h:36, from src/mongo/db/clientcursor.h:40, from src/mongo/db/query/cursor_response.h:36, from build/opt/mongo/s/query/async_results_merger_params_gen.h:24, from src/mongo/s/query/owned_remote_cursor.h:34, from src/mongo/s/query/store_possible_cursor.h:37, from src/mongo/s/query/store_possible_cursor.cpp:32: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:201:25: warning: redundant move in return statement [-Wredundant-move] 201 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:201:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:223:25: warning: redundant move in return statement [-Wredundant-move] 223 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:223:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:245:25: warning: redundant move in return statement [-Wredundant-move] 245 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:245:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:267:25: warning: redundant move in return statement [-Wredundant-move] 267 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:267:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:289:25: warning: redundant move in return statement [-Wredundant-move] 289 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:289:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:642:25: warning: redundant move in return statement [-Wredundant-move] 642 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:642:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:308:25: warning: redundant move in return statement [-Wredundant-move] 308 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:308:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:352:25: warning: redundant move in return statement [-Wredundant-move] 352 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:352:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:395:25: warning: redundant move in return statement [-Wredundant-move] 395 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:395:25: note: remove 'std::move' call In file included from src/mongo/db/pipeline/expression_context.h:44, from src/mongo/db/matcher/extensions_callback.h:35, from src/mongo/db/matcher/extensions_callback_noop.h:32, from src/mongo/db/query/canonical_query.h:36, from src/mongo/db/query/plan_cache.h:36, from src/mongo/db/query/query_solution.h:40, from src/mongo/db/query/plan_executor.h:36, from src/mongo/db/catalog/collection.h:48, from src/mongo/db/commands/haystack.cpp:39: src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)': src/mongo/db/pipeline/aggregation_request.h:90:25: warning: redundant move in return statement [-Wredundant-move] 90 | return std::move(pipeline); | ~~~~~~~~~^~~~~~~~~~ src/mongo/db/pipeline/aggregation_request.h:90:25: note: remove 'std::move' call g++ -o build/opt/mongo/scripting/mozjs/idwrapper.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/pcre -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -fPIE -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/platform/x86_64/linux/include -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -Ibuild/opt -Isrc src/mongo/scripting/mozjs/idwrapper.cpp src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:395:25: warning: redundant move in return statement [-Wredundant-move] 395 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:395:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:579:25: warning: redundant move in return statement [-Wredundant-move] 579 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:579:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:600:25: warning: redundant move in return statement [-Wredundant-move] 600 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:600:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:621:25: warning: redundant move in return statement [-Wredundant-move] 621 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:621:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:642:25: warning: redundant move in return statement [-Wredundant-move] 642 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:642:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:579:25: warning: redundant move in return statement [-Wredundant-move] 579 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:579:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:600:25: warning: redundant move in return statement [-Wredundant-move] 600 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:600:25: note: remove 'std::move' call In file included from src/mongo/db/pipeline/expression_context.h:44, from src/mongo/db/matcher/extensions_callback.h:35, from src/mongo/db/matcher/extensions_callback_noop.h:32, from src/mongo/db/query/canonical_query.h:36, from src/mongo/db/query/plan_cache.h:36, from src/mongo/db/query/query_solution.h:40, from src/mongo/db/query/plan_executor.h:36, from src/mongo/db/catalog/collection.h:48, from src/mongo/db/catalog/collection_catalog.h:36, from src/mongo/db/curop.h:35, from src/mongo/db/stats/single_transaction_stats.h:32, from src/mongo/s/transaction_router.h:39, from src/mongo/s/transaction_router.cpp:34: src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)': src/mongo/db/pipeline/aggregation_request.h:90:25: warning: redundant move in return statement [-Wredundant-move] 90 | return std::move(pipeline); | ~~~~~~~~~^~~~~~~~~~ src/mongo/db/pipeline/aggregation_request.h:90:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:621:25: warning: redundant move in return statement [-Wredundant-move] 621 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:621:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:642:25: warning: redundant move in return statement [-Wredundant-move] 642 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:642:25: note: remove 'std::move' call In file included from src/mongo/db/pipeline/expression_context.h:44, from src/mongo/db/matcher/extensions_callback.h:35, from src/mongo/db/matcher/extensions_callback_noop.h:32, from src/mongo/db/query/canonical_query.h:36, from src/mongo/db/query/plan_cache.h:36, from src/mongo/db/query/query_solution.h:40, from src/mongo/db/query/plan_executor.h:36, from src/mongo/db/clientcursor.h:40, from src/mongo/db/query/cursor_response.h:36, from build/opt/mongo/s/query/async_results_merger_params_gen.h:24, from src/mongo/s/query/owned_remote_cursor.h:34, from src/mongo/s/query/store_possible_cursor.h:37, from src/mongo/s/query/store_possible_cursor.cpp:32: src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)': src/mongo/db/pipeline/aggregation_request.h:90:25: warning: redundant move in return statement [-Wredundant-move] 90 | return std::move(pipeline); | ~~~~~~~~~^~~~~~~~~~ src/mongo/db/pipeline/aggregation_request.h:90:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:38, from src/mongo/db/matcher/copyable_match_expression.h:32, from src/mongo/db/query/projection_ast.h:33, from src/mongo/db/query/projection.h:33, from src/mongo/db/query/canonical_query.h:38, from src/mongo/db/query/plan_cache.h:36, from src/mongo/db/query/query_solution.h:40, from src/mongo/db/query/plan_executor.h:36, from src/mongo/db/catalog/collection.h:48, from src/mongo/db/commands/haystack.cpp:39: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:39, from src/mongo/db/matcher/copyable_match_expression.h:32, from src/mongo/db/query/projection_ast.h:33, from src/mongo/db/query/projection.h:33, from src/mongo/db/query/canonical_query.h:38, from src/mongo/db/query/plan_cache.h:36, from src/mongo/db/query/query_solution.h:40, from src/mongo/db/query/plan_executor.h:36, from src/mongo/db/catalog/collection.h:48, from src/mongo/db/commands/haystack.cpp:39: src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr mongo::InternalSchemaBinDataSubTypeExpression::shallowClone() const': src/mongo/db/matcher/expression_type.h:196:25: warning: redundant move in return statement [-Wredundant-move] 196 | return std::move(expr); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_type.h:196:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:38, from src/mongo/db/matcher/copyable_match_expression.h:32, from src/mongo/db/query/projection_ast.h:33, from src/mongo/db/query/projection.h:33, from src/mongo/db/query/canonical_query.h:38, from src/mongo/db/query/plan_cache.h:36, from src/mongo/db/query/query_solution.h:40, from src/mongo/db/query/plan_executor.h:36, from src/mongo/db/catalog/collection.h:48, from src/mongo/db/catalog/collection_catalog.h:36, from src/mongo/db/curop.h:35, from src/mongo/db/stats/single_transaction_stats.h:32, from src/mongo/s/transaction_router.h:39, from src/mongo/s/transaction_router.cpp:34: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:38, from src/mongo/db/matcher/copyable_match_expression.h:32, from src/mongo/db/query/projection_ast.h:33, from src/mongo/db/query/projection.h:33, from src/mongo/db/query/canonical_query.h:38, from src/mongo/db/query/plan_cache.h:36, from src/mongo/db/query/query_solution.h:40, from src/mongo/db/query/plan_executor.h:36, from src/mongo/db/clientcursor.h:40, from src/mongo/db/query/cursor_response.h:36, from build/opt/mongo/s/query/async_results_merger_params_gen.h:24, from src/mongo/s/query/owned_remote_cursor.h:34, from src/mongo/s/query/store_possible_cursor.h:37, from src/mongo/s/query/store_possible_cursor.cpp:32: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:39, from src/mongo/db/matcher/copyable_match_expression.h:32, from src/mongo/db/query/projection_ast.h:33, from src/mongo/db/query/projection.h:33, from src/mongo/db/query/canonical_query.h:38, from src/mongo/db/query/plan_cache.h:36, from src/mongo/db/query/query_solution.h:40, from src/mongo/db/query/plan_executor.h:36, from src/mongo/db/catalog/collection.h:48, from src/mongo/db/catalog/collection_catalog.h:36, from src/mongo/db/curop.h:35, from src/mongo/db/stats/single_transaction_stats.h:32, from src/mongo/s/transaction_router.h:39, from src/mongo/s/transaction_router.cpp:34: src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr mongo::InternalSchemaBinDataSubTypeExpression::shallowClone() const': src/mongo/db/matcher/expression_type.h:196:25: warning: redundant move in return statement [-Wredundant-move] 196 | return std::move(expr); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_type.h:196:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:39, from src/mongo/db/matcher/copyable_match_expression.h:32, from src/mongo/db/query/projection_ast.h:33, from src/mongo/db/query/projection.h:33, from src/mongo/db/query/canonical_query.h:38, from src/mongo/db/query/plan_cache.h:36, from src/mongo/db/query/query_solution.h:40, from src/mongo/db/query/plan_executor.h:36, from src/mongo/db/clientcursor.h:40, from src/mongo/db/query/cursor_response.h:36, from build/opt/mongo/s/query/async_results_merger_params_gen.h:24, from src/mongo/s/query/owned_remote_cursor.h:34, from src/mongo/s/query/store_possible_cursor.h:37, from src/mongo/s/query/store_possible_cursor.cpp:32: src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr mongo::InternalSchemaBinDataSubTypeExpression::shallowClone() const': src/mongo/db/matcher/expression_type.h:196:25: warning: redundant move in return statement [-Wredundant-move] 196 | return std::move(expr); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_type.h:196:25: note: remove 'std::move' call g++ -o build/opt/mongo/db/s/collection_metadata.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/pcre -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -Ibuild/opt -Isrc src/mongo/db/s/collection_metadata.cpp src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr mongo::TypeMatchExpressionBase::shallowClone() const [with T = mongo::InternalSchemaBinDataEncryptedTypeExpression]': src/mongo/db/matcher/expression_type.h:69:38: required from here src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move] 74 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:74:30: note: remove 'std::move' call src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr mongo::TypeMatchExpressionBase::shallowClone() const [with T = mongo::InternalSchemaTypeExpression]': src/mongo/db/matcher/expression_type.h:69:38: required from here src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:74:30: note: remove 'std::move' call src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr mongo::TypeMatchExpressionBase::shallowClone() const [with T = mongo::TypeMatchExpression]': src/mongo/db/matcher/expression_type.h:69:38: required from here src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:74:30: note: remove 'std::move' call src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr mongo::TypeMatchExpressionBase::shallowClone() const [with T = mongo::InternalSchemaBinDataEncryptedTypeExpression]': src/mongo/db/matcher/expression_type.h:69:38: required from here src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move] 74 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:74:30: note: remove 'std::move' call src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr mongo::TypeMatchExpressionBase::shallowClone() const [with T = mongo::InternalSchemaTypeExpression]': src/mongo/db/matcher/expression_type.h:69:38: required from here src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:74:30: note: remove 'std::move' call src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr mongo::TypeMatchExpressionBase::shallowClone() const [with T = mongo::TypeMatchExpression]': src/mongo/db/matcher/expression_type.h:69:38: required from here src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:74:30: note: remove 'std::move' call src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr mongo::TypeMatchExpressionBase::shallowClone() const [with T = mongo::InternalSchemaBinDataEncryptedTypeExpression]': src/mongo/db/matcher/expression_type.h:69:38: required from here src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move] 74 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:74:30: note: remove 'std::move' call src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr mongo::TypeMatchExpressionBase::shallowClone() const [with T = mongo::InternalSchemaTypeExpression]': src/mongo/db/matcher/expression_type.h:69:38: required from here src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:74:30: note: remove 'std::move' call src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr mongo::TypeMatchExpressionBase::shallowClone() const [with T = mongo::TypeMatchExpression]': src/mongo/db/matcher/expression_type.h:69:38: required from here src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:74:30: note: remove 'std::move' call g++ -o build/opt/mongo/db/ttl_collection_cache.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/pcre -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -Ibuild/opt -Isrc src/mongo/db/ttl_collection_cache.cpp gcc -o build/opt/third_party/icu4c-57.1/source/common/ucnvscsu.o -c -std=c11 -pipe -frecord-gcc-switches -g -O2 -flto=auto -I/usr/include/pcre -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ucnvscsu.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/opt/mongo/rpc/write_concern_error_detail.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/pcre -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -Ibuild/opt -Isrc src/mongo/rpc/write_concern_error_detail.cpp ar rcsTD build/opt/mongo/s/query/libstore_possible_cursor.a build/opt/mongo/s/query/store_possible_cursor.o Skipping ranlib for thin archive build/opt/mongo/s/query/libstore_possible_cursor.a g++ -o build/opt/mongo/bson/bsontypes.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/pcre -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/unwind/platform/linux_x86_64/install/include -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -Ibuild/opt -Isrc src/mongo/bson/bsontypes.cpp ar rcsTD build/opt/mongo/db/libttl_collection_cache.a build/opt/mongo/db/ttl_collection_cache.o Skipping ranlib for thin archive build/opt/mongo/db/libttl_collection_cache.a g++ -o build/opt/third_party/boost-1.70.0/libs/log/src/format_parser.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-overloaded-virtual -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/pcre -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -DBOOST_LOG_USE_COMPILER_TLS -DBOOST_LOG_USE_STD_REGEX -DBOOST_LOG_WITHOUT_DEFAULT_FACTORIES -DBOOST_LOG_WITHOUT_IPC -DBOOST_LOG_WITHOUT_SETTINGS_PARSERS -Isrc/third_party/boost-1.70.0 src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/curramt.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -pipe -frecord-gcc-switches -g -O2 -flto=auto -I/usr/include/pcre -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/curramt.cpp g++ -o build/opt/mongo/db/pipeline/accumulator_last.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/pcre -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -Ibuild/opt -Isrc src/mongo/db/pipeline/accumulator_last.cpp g++ -o build/opt/mongo/db/matcher/expression_text_base.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/pcre -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -Ibuild/opt -Isrc src/mongo/db/matcher/expression_text_base.cpp g++ -o build/opt/mongo/client/hedging_mode_gen.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/pcre -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -Ibuild/opt -Isrc build/opt/mongo/client/hedging_mode_gen.cpp In file included from src/mongo/db/pipeline/expression_context.h:44, from src/mongo/db/pipeline/expression.h:47, from src/mongo/db/pipeline/accumulator.h:43, from src/mongo/db/pipeline/accumulator_last.cpp:32: src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)': src/mongo/db/pipeline/aggregation_request.h:90:25: warning: redundant move in return statement [-Wredundant-move] 90 | return std::move(pipeline); | ~~~~~~~~~^~~~~~~~~~ src/mongo/db/pipeline/aggregation_request.h:90:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_text_base.h:32, from src/mongo/db/matcher/expression_text_base.cpp:32: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:201:25: warning: redundant move in return statement [-Wredundant-move] 201 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:201:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:223:25: warning: redundant move in return statement [-Wredundant-move] 223 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:223:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:245:25: warning: redundant move in return statement [-Wredundant-move] 245 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:245:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:267:25: warning: redundant move in return statement [-Wredundant-move] 267 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:267:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:289:25: warning: redundant move in return statement [-Wredundant-move] 289 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:289:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:308:25: warning: redundant move in return statement [-Wredundant-move] 308 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:308:25: note: remove 'std::move' call In file included from src/mongo/db/pipeline/expression_context.h:44, from src/mongo/db/exec/plan_stage.h:37, from src/mongo/db/query/explain.h:32, from src/mongo/db/commands.h:47, from build/opt/mongo/client/hedging_mode_gen.cpp:16: src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)': src/mongo/db/pipeline/aggregation_request.h:90:25: warning: redundant move in return statement [-Wredundant-move] 90 | return std::move(pipeline); | ~~~~~~~~~^~~~~~~~~~ src/mongo/db/pipeline/aggregation_request.h:90:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:352:25: warning: redundant move in return statement [-Wredundant-move] 352 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:352:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:395:25: warning: redundant move in return statement [-Wredundant-move] 395 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:395:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:579:25: warning: redundant move in return statement [-Wredundant-move] 579 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:579:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:600:25: warning: redundant move in return statement [-Wredundant-move] 600 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:600:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:621:25: warning: redundant move in return statement [-Wredundant-move] 621 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:621:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:642:25: warning: redundant move in return statement [-Wredundant-move] 642 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:642:25: note: remove 'std::move' call In file included from src/third_party/boost-1.70.0/boost/concept/assert.hpp:35, from src/third_party/boost-1.70.0/boost/concept_check.hpp:20, from src/third_party/boost-1.70.0/boost/range/concepts.hpp:19, from src/third_party/boost-1.70.0/boost/range/size_type.hpp:20, from src/third_party/boost-1.70.0/boost/range/size.hpp:21, from src/third_party/boost-1.70.0/boost/proto/functional/range/size.hpp:12, from src/third_party/boost-1.70.0/boost/proto/functional/range.hpp:17, from src/third_party/boost-1.70.0/boost/proto/functional.hpp:14, from src/third_party/boost-1.70.0/boost/proto/proto.hpp:16, from src/third_party/boost-1.70.0/boost/spirit/home/support/meta_compiler.hpp:19, from src/third_party/boost-1.70.0/boost/spirit/home/qi/domain.hpp:15, from src/third_party/boost-1.70.0/boost/spirit/home/qi/detail/enable_lit.hpp:13, from src/third_party/boost-1.70.0/boost/spirit/home/qi/numeric/uint.hpp:17, from src/third_party/boost-1.70.0/boost/spirit/include/qi_uint.hpp:16, from src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:23: src/third_party/boost-1.70.0/boost/concept/detail/general.hpp: In instantiation of 'static void boost::concepts::requirement::failed() [with Model = boost::concepts::usage_requirements >]': src/third_party/boost-1.70.0/boost/concept_check.hpp:145:5: required from 'struct boost::Assignable' src/third_party/boost-1.70.0/boost/iterator/iterator_concepts.hpp:40:3: required from 'struct boost_concepts::ReadableIterator' src/third_party/boost-1.70.0/boost/iterator/iterator_concepts.hpp:40:3: required from 'struct boost_concepts::ReadableIteratorConcept' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of 'template boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, boost::concepts::detail::wrap_constraints*) [with Model = boost_concepts::ReadableIteratorConcept]' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:42:5: required from 'const bool boost::concepts::not_satisfied >::value' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:45:51: required from 'struct boost::concepts::not_satisfied >' src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:51:8: required from 'struct boost::concepts::requirement_)>' src/third_party/boost-1.70.0/boost/spirit/home/qi/parse.hpp:34:9: required from 'bool boost::spirit::qi::parse(Iterator&, Iterator, const Expr&, Attr&) [with Iterator = const char*; Expr = boost::spirit::terminal; Attr = unsigned int]' src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:84:30: required from 'boost::log::v2s_mt_posix::aux::format_description boost::log::v2s_mt_posix::aux::parse_format(const CharT*, const CharT*) [with CharT = char]' src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:137:75: required from here src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:39:47: warning: 'this' pointer is null [-Wnonnull] 39 | static void failed() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ In file included from src/third_party/boost-1.70.0/boost/concept_check.hpp:31, from src/third_party/boost-1.70.0/boost/range/concepts.hpp:19, from src/third_party/boost-1.70.0/boost/range/size_type.hpp:20, from src/third_party/boost-1.70.0/boost/range/size.hpp:21, from src/third_party/boost-1.70.0/boost/proto/functional/range/size.hpp:12, from src/third_party/boost-1.70.0/boost/proto/functional/range.hpp:17, from src/third_party/boost-1.70.0/boost/proto/functional.hpp:14, from src/third_party/boost-1.70.0/boost/proto/proto.hpp:16, from src/third_party/boost-1.70.0/boost/spirit/home/support/meta_compiler.hpp:19, from src/third_party/boost-1.70.0/boost/spirit/home/qi/domain.hpp:15, from src/third_party/boost-1.70.0/boost/spirit/home/qi/detail/enable_lit.hpp:13, from src/third_party/boost-1.70.0/boost/spirit/home/qi/numeric/uint.hpp:17, from src/third_party/boost-1.70.0/boost/spirit/include/qi_uint.hpp:16, from src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:23: src/third_party/boost-1.70.0/boost/concept/usage.hpp:16:5: note: in a call to non-static member function 'boost::concepts::usage_requirements::~usage_requirements() [with Model = boost::Assignable]' 16 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from src/third_party/boost-1.70.0/boost/concept/assert.hpp:35, from src/third_party/boost-1.70.0/boost/concept_check.hpp:20, from src/third_party/boost-1.70.0/boost/range/concepts.hpp:19, from src/third_party/boost-1.70.0/boost/range/size_type.hpp:20, from src/third_party/boost-1.70.0/boost/range/size.hpp:21, from src/third_party/boost-1.70.0/boost/proto/functional/range/size.hpp:12, from src/third_party/boost-1.70.0/boost/proto/functional/range.hpp:17, from src/third_party/boost-1.70.0/boost/proto/functional.hpp:14, from src/third_party/boost-1.70.0/boost/proto/proto.hpp:16, from src/third_party/boost-1.70.0/boost/spirit/home/support/meta_compiler.hpp:19, from src/third_party/boost-1.70.0/boost/spirit/home/qi/domain.hpp:15, from src/third_party/boost-1.70.0/boost/spirit/home/qi/detail/enable_lit.hpp:13, from src/third_party/boost-1.70.0/boost/spirit/home/qi/numeric/uint.hpp:17, from src/third_party/boost-1.70.0/boost/spirit/include/qi_uint.hpp:16, from src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:23: src/third_party/boost-1.70.0/boost/concept/detail/general.hpp: In instantiation of 'static void boost::concepts::requirement::failed() [with Model = boost::concepts::usage_requirements >]': src/third_party/boost-1.70.0/boost/concept_check.hpp:167:5: required from 'struct boost::CopyConstructible' src/third_party/boost-1.70.0/boost/iterator/iterator_concepts.hpp:40:3: required from 'struct boost_concepts::ReadableIterator' src/third_party/boost-1.70.0/boost/iterator/iterator_concepts.hpp:40:3: required from 'struct boost_concepts::ReadableIteratorConcept' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of 'template boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, boost::concepts::detail::wrap_constraints*) [with Model = boost_concepts::ReadableIteratorConcept]' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:42:5: required from 'const bool boost::concepts::not_satisfied >::value' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:45:51: required from 'struct boost::concepts::not_satisfied >' src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:51:8: required from 'struct boost::concepts::requirement_)>' src/third_party/boost-1.70.0/boost/spirit/home/qi/parse.hpp:34:9: required from 'bool boost::spirit::qi::parse(Iterator&, Iterator, const Expr&, Attr&) [with Iterator = const char*; Expr = boost::spirit::terminal; Attr = unsigned int]' src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:84:30: required from 'boost::log::v2s_mt_posix::aux::format_description boost::log::v2s_mt_posix::aux::parse_format(const CharT*, const CharT*) [with CharT = char]' src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:137:75: required from here src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:39:47: warning: 'this' pointer is null [-Wnonnull] 39 | static void failed() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ In file included from src/third_party/boost-1.70.0/boost/concept_check.hpp:31, from src/third_party/boost-1.70.0/boost/range/concepts.hpp:19, from src/third_party/boost-1.70.0/boost/range/size_type.hpp:20, from src/third_party/boost-1.70.0/boost/range/size.hpp:21, from src/third_party/boost-1.70.0/boost/proto/functional/range/size.hpp:12, from src/third_party/boost-1.70.0/boost/proto/functional/range.hpp:17, from src/third_party/boost-1.70.0/boost/proto/functional.hpp:14, from src/third_party/boost-1.70.0/boost/proto/proto.hpp:16, from src/third_party/boost-1.70.0/boost/spirit/home/support/meta_compiler.hpp:19, from src/third_party/boost-1.70.0/boost/spirit/home/qi/domain.hpp:15, from src/third_party/boost-1.70.0/boost/spirit/home/qi/detail/enable_lit.hpp:13, from src/third_party/boost-1.70.0/boost/spirit/home/qi/numeric/uint.hpp:17, from src/third_party/boost-1.70.0/boost/spirit/include/qi_uint.hpp:16, from src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:23: src/third_party/boost-1.70.0/boost/concept/usage.hpp:16:5: note: in a call to non-static member function 'boost::concepts::usage_requirements::~usage_requirements() [with Model = boost::CopyConstructible]' 16 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from src/third_party/boost-1.70.0/boost/concept/assert.hpp:35, from src/third_party/boost-1.70.0/boost/concept_check.hpp:20, from src/third_party/boost-1.70.0/boost/range/concepts.hpp:19, from src/third_party/boost-1.70.0/boost/range/size_type.hpp:20, from src/third_party/boost-1.70.0/boost/range/size.hpp:21, from src/third_party/boost-1.70.0/boost/proto/functional/range/size.hpp:12, from src/third_party/boost-1.70.0/boost/proto/functional/range.hpp:17, from src/third_party/boost-1.70.0/boost/proto/functional.hpp:14, from src/third_party/boost-1.70.0/boost/proto/proto.hpp:16, from src/third_party/boost-1.70.0/boost/spirit/home/support/meta_compiler.hpp:19, from src/third_party/boost-1.70.0/boost/spirit/home/qi/domain.hpp:15, from src/third_party/boost-1.70.0/boost/spirit/home/qi/detail/enable_lit.hpp:13, from src/third_party/boost-1.70.0/boost/spirit/home/qi/numeric/uint.hpp:17, from src/third_party/boost-1.70.0/boost/spirit/include/qi_uint.hpp:16, from src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:23: src/third_party/boost-1.70.0/boost/concept/detail/general.hpp: In instantiation of 'static void boost::concepts::requirement::failed() [with Model = boost::concepts::usage_requirements >]': src/third_party/boost-1.70.0/boost/iterator/iterator_concepts.hpp:48:7: required from 'struct boost_concepts::ReadableIterator' src/third_party/boost-1.70.0/boost/iterator/iterator_concepts.hpp:40:3: required from 'struct boost_concepts::ReadableIteratorConcept' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of 'template boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, boost::concepts::detail::wrap_constraints*) [with Model = boost_concepts::ReadableIteratorConcept]' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:42:5: required from 'const bool boost::concepts::not_satisfied >::value' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:45:51: required from 'struct boost::concepts::not_satisfied >' src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:51:8: required from 'struct boost::concepts::requirement_)>' src/third_party/boost-1.70.0/boost/spirit/home/qi/parse.hpp:34:9: required from 'bool boost::spirit::qi::parse(Iterator&, Iterator, const Expr&, Attr&) [with Iterator = const char*; Expr = boost::spirit::terminal; Attr = unsigned int]' src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:84:30: required from 'boost::log::v2s_mt_posix::aux::format_description boost::log::v2s_mt_posix::aux::parse_format(const CharT*, const CharT*) [with CharT = char]' src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:137:75: required from here src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:39:47: warning: 'this' pointer is null [-Wnonnull] 39 | static void failed() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ In file included from src/third_party/boost-1.70.0/boost/concept_check.hpp:31, from src/third_party/boost-1.70.0/boost/range/concepts.hpp:19, from src/third_party/boost-1.70.0/boost/range/size_type.hpp:20, from src/third_party/boost-1.70.0/boost/range/size.hpp:21, from src/third_party/boost-1.70.0/boost/proto/functional/range/size.hpp:12, from src/third_party/boost-1.70.0/boost/proto/functional/range.hpp:17, from src/third_party/boost-1.70.0/boost/proto/functional.hpp:14, from src/third_party/boost-1.70.0/boost/proto/proto.hpp:16, from src/third_party/boost-1.70.0/boost/spirit/home/support/meta_compiler.hpp:19, from src/third_party/boost-1.70.0/boost/spirit/home/qi/domain.hpp:15, from src/third_party/boost-1.70.0/boost/spirit/home/qi/detail/enable_lit.hpp:13, from src/third_party/boost-1.70.0/boost/spirit/home/qi/numeric/uint.hpp:17, from src/third_party/boost-1.70.0/boost/spirit/include/qi_uint.hpp:16, from src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:23: src/third_party/boost-1.70.0/boost/concept/usage.hpp:16:5: note: in a call to non-static member function 'boost::concepts::usage_requirements::~usage_requirements() [with Model = boost_concepts::ReadableIterator]' 16 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from src/third_party/boost-1.70.0/boost/concept/assert.hpp:35, from src/third_party/boost-1.70.0/boost/concept_check.hpp:20, from src/third_party/boost-1.70.0/boost/range/concepts.hpp:19, from src/third_party/boost-1.70.0/boost/range/size_type.hpp:20, from src/third_party/boost-1.70.0/boost/range/size.hpp:21, from src/third_party/boost-1.70.0/boost/proto/functional/range/size.hpp:12, from src/third_party/boost-1.70.0/boost/proto/functional/range.hpp:17, from src/third_party/boost-1.70.0/boost/proto/functional.hpp:14, from src/third_party/boost-1.70.0/boost/proto/proto.hpp:16, from src/third_party/boost-1.70.0/boost/spirit/home/support/meta_compiler.hpp:19, from src/third_party/boost-1.70.0/boost/spirit/home/qi/domain.hpp:15, from src/third_party/boost-1.70.0/boost/spirit/home/qi/detail/enable_lit.hpp:13, from src/third_party/boost-1.70.0/boost/spirit/home/qi/numeric/uint.hpp:17, from src/third_party/boost-1.70.0/boost/spirit/include/qi_uint.hpp:16, from src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:23: src/third_party/boost-1.70.0/boost/concept/detail/general.hpp: In instantiation of 'static void boost::concepts::requirement::failed() [with Model = boost_concepts::ReadableIteratorConcept]': src/third_party/boost-1.70.0/boost/spirit/home/qi/parse.hpp:34:9: required from 'bool boost::spirit::qi::parse(Iterator&, Iterator, const Expr&, Attr&) [with Iterator = const char*; Expr = boost::spirit::terminal; Attr = unsigned int]' src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:84:30: required from 'boost::log::v2s_mt_posix::aux::format_description boost::log::v2s_mt_posix::aux::parse_format(const CharT*, const CharT*) [with CharT = char]' src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:137:75: required from here src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:39:47: warning: 'this' pointer is null [-Wnonnull] 39 | static void failed() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ In file included from src/third_party/boost-1.70.0/boost/preprocessor/control/while.hpp:17, from src/third_party/boost-1.70.0/boost/preprocessor/arithmetic/add.hpp:20, from src/third_party/boost-1.70.0/boost/phoenix/core/limits.hpp:12, from src/third_party/boost-1.70.0/boost/spirit/include/phoenix_limits.hpp:11, from src/third_party/boost-1.70.0/boost/spirit/home/support/meta_compiler.hpp:16, from src/third_party/boost-1.70.0/boost/spirit/home/qi/domain.hpp:15, from src/third_party/boost-1.70.0/boost/spirit/home/qi/detail/enable_lit.hpp:13, from src/third_party/boost-1.70.0/boost/spirit/home/qi/numeric/uint.hpp:17, from src/third_party/boost-1.70.0/boost/spirit/include/qi_uint.hpp:16, from src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:23: src/third_party/boost-1.70.0/boost/iterator/iterator_concepts.hpp:40:17: note: in a call to non-static member function 'boost_concepts::ReadableIteratorConcept::~ReadableIteratorConcept()' 40 | BOOST_concept(ReadableIterator,(Iterator)) | ^~~~~~~~~~~~~~~~ src/third_party/boost-1.70.0/boost/preprocessor/cat.hpp:29:34: note: in definition of macro 'BOOST_PP_CAT_I' 29 | # define BOOST_PP_CAT_I(a, b) a ## b | ^ src/third_party/boost-1.70.0/boost/concept/detail/concept_def.hpp:23:12: note: in expansion of macro 'BOOST_PP_CAT' 23 | struct BOOST_PP_CAT(name,Concept) \ | ^~~~~~~~~~~~ src/third_party/boost-1.70.0/boost/iterator/iterator_concepts.hpp:40:3: note: in expansion of macro 'BOOST_concept' 40 | BOOST_concept(ReadableIterator,(Iterator)) | ^~~~~~~~~~~~~ In file included from src/third_party/boost-1.70.0/boost/concept/assert.hpp:35, from src/third_party/boost-1.70.0/boost/concept_check.hpp:20, from src/third_party/boost-1.70.0/boost/range/concepts.hpp:19, from src/third_party/boost-1.70.0/boost/range/size_type.hpp:20, from src/third_party/boost-1.70.0/boost/range/size.hpp:21, from src/third_party/boost-1.70.0/boost/proto/functional/range/size.hpp:12, from src/third_party/boost-1.70.0/boost/proto/functional/range.hpp:17, from src/third_party/boost-1.70.0/boost/proto/functional.hpp:14, from src/third_party/boost-1.70.0/boost/proto/proto.hpp:16, from src/third_party/boost-1.70.0/boost/spirit/home/support/meta_compiler.hpp:19, from src/third_party/boost-1.70.0/boost/spirit/home/qi/domain.hpp:15, from src/third_party/boost-1.70.0/boost/spirit/home/qi/detail/enable_lit.hpp:13, from src/third_party/boost-1.70.0/boost/spirit/home/qi/numeric/uint.hpp:17, from src/third_party/boost-1.70.0/boost/spirit/include/qi_uint.hpp:16, from src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:23: src/third_party/boost-1.70.0/boost/concept/detail/general.hpp: In instantiation of 'static void boost::concepts::requirement::failed() [with Model = boost::concepts::usage_requirements >]': src/third_party/boost-1.70.0/boost/concept_check.hpp:208:5: required from 'struct boost::Convertible' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of 'template boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, boost::concepts::detail::wrap_constraints*) [with Model = boost::Convertible]' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:42:5: required from 'const bool boost::concepts::not_satisfied >::value' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:45:51: required from 'struct boost::concepts::not_satisfied >' src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:51:8: required from 'struct boost::concepts::requirement_)>' src/third_party/boost-1.70.0/boost/iterator/iterator_concepts.hpp:114:7: [ skipping 5 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:42:5: required from 'const bool boost::concepts::not_satisfied >::value' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:45:51: required from 'struct boost::concepts::not_satisfied >' src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:51:8: required from 'struct boost::concepts::requirement_)>' src/third_party/boost-1.70.0/boost/spirit/home/qi/parse.hpp:35:9: required from 'bool boost::spirit::qi::parse(Iterator&, Iterator, const Expr&, Attr&) [with Iterator = const char*; Expr = boost::spirit::terminal; Attr = unsigned int]' src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:84:30: required from 'boost::log::v2s_mt_posix::aux::format_description boost::log::v2s_mt_posix::aux::parse_format(const CharT*, const CharT*) [with CharT = char]' src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:137:75: required from here src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:39:47: warning: 'this' pointer is null [-Wnonnull] 39 | static void failed() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ In file included from src/third_party/boost-1.70.0/boost/concept_check.hpp:31, from src/third_party/boost-1.70.0/boost/range/concepts.hpp:19, from src/third_party/boost-1.70.0/boost/range/size_type.hpp:20, from src/third_party/boost-1.70.0/boost/range/size.hpp:21, from src/third_party/boost-1.70.0/boost/proto/functional/range/size.hpp:12, from src/third_party/boost-1.70.0/boost/proto/functional/range.hpp:17, from src/third_party/boost-1.70.0/boost/proto/functional.hpp:14, from src/third_party/boost-1.70.0/boost/proto/proto.hpp:16, from src/third_party/boost-1.70.0/boost/spirit/home/support/meta_compiler.hpp:19, from src/third_party/boost-1.70.0/boost/spirit/home/qi/domain.hpp:15, from src/third_party/boost-1.70.0/boost/spirit/home/qi/detail/enable_lit.hpp:13, from src/third_party/boost-1.70.0/boost/spirit/home/qi/numeric/uint.hpp:17, from src/third_party/boost-1.70.0/boost/spirit/include/qi_uint.hpp:16, from src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:23: src/third_party/boost-1.70.0/boost/concept/usage.hpp:16:5: note: in a call to non-static member function 'boost::concepts::usage_requirements::~usage_requirements() [with Model = boost::Convertible]' 16 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from src/third_party/boost-1.70.0/boost/concept/assert.hpp:35, from src/third_party/boost-1.70.0/boost/concept_check.hpp:20, from src/third_party/boost-1.70.0/boost/range/concepts.hpp:19, from src/third_party/boost-1.70.0/boost/range/size_type.hpp:20, from src/third_party/boost-1.70.0/boost/range/size.hpp:21, from src/third_party/boost-1.70.0/boost/proto/functional/range/size.hpp:12, from src/third_party/boost-1.70.0/boost/proto/functional/range.hpp:17, from src/third_party/boost-1.70.0/boost/proto/functional.hpp:14, from src/third_party/boost-1.70.0/boost/proto/proto.hpp:16, from src/third_party/boost-1.70.0/boost/spirit/home/support/meta_compiler.hpp:19, from src/third_party/boost-1.70.0/boost/spirit/home/qi/domain.hpp:15, from src/third_party/boost-1.70.0/boost/spirit/home/qi/detail/enable_lit.hpp:13, from src/third_party/boost-1.70.0/boost/spirit/home/qi/numeric/uint.hpp:17, from src/third_party/boost-1.70.0/boost/spirit/include/qi_uint.hpp:16, from src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:23: src/third_party/boost-1.70.0/boost/concept/detail/general.hpp: In instantiation of 'static void boost::concepts::requirement::failed() [with Model = boost::Convertible]': src/third_party/boost-1.70.0/boost/iterator/iterator_concepts.hpp:114:7: required from 'struct boost_concepts::IncrementableIterator' src/third_party/boost-1.70.0/boost/iterator/iterator_concepts.hpp:129:3: required from 'struct boost_concepts::SinglePassIterator' src/third_party/boost-1.70.0/boost/iterator/iterator_concepts.hpp:141:3: required from 'struct boost_concepts::ForwardTraversal' src/third_party/boost-1.70.0/boost/iterator/iterator_concepts.hpp:141:3: required from 'struct boost_concepts::ForwardTraversalConcept' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of 'template boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, boost::concepts::detail::wrap_constraints*) [with Model = boost_concepts::ForwardTraversalConcept]' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:42:5: required from 'const bool boost::concepts::not_satisfied >::value' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:45:51: required from 'struct boost::concepts::not_satisfied >' src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:51:8: required from 'struct boost::concepts::requirement_)>' src/third_party/boost-1.70.0/boost/spirit/home/qi/parse.hpp:35:9: required from 'bool boost::spirit::qi::parse(Iterator&, Iterator, const Expr&, Attr&) [with Iterator = const char*; Expr = boost::spirit::terminal; Attr = unsigned int]' src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:84:30: required from 'boost::log::v2s_mt_posix::aux::format_description boost::log::v2s_mt_posix::aux::parse_format(const CharT*, const CharT*) [with CharT = char]' src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:137:75: required from here src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:39:47: warning: 'this' pointer is null [-Wnonnull] 39 | static void failed() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ In file included from src/third_party/boost-1.70.0/boost/concept_check.hpp:31, from src/third_party/boost-1.70.0/boost/range/concepts.hpp:19, from src/third_party/boost-1.70.0/boost/range/size_type.hpp:20, from src/third_party/boost-1.70.0/boost/range/size.hpp:21, from src/third_party/boost-1.70.0/boost/proto/functional/range/size.hpp:12, from src/third_party/boost-1.70.0/boost/proto/functional/range.hpp:17, from src/third_party/boost-1.70.0/boost/proto/functional.hpp:14, from src/third_party/boost-1.70.0/boost/proto/proto.hpp:16, from src/third_party/boost-1.70.0/boost/spirit/home/support/meta_compiler.hpp:19, from src/third_party/boost-1.70.0/boost/spirit/home/qi/domain.hpp:15, from src/third_party/boost-1.70.0/boost/spirit/home/qi/detail/enable_lit.hpp:13, from src/third_party/boost-1.70.0/boost/spirit/home/qi/numeric/uint.hpp:17, from src/third_party/boost-1.70.0/boost/spirit/include/qi_uint.hpp:16, from src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:23: src/third_party/boost-1.70.0/boost/concept/usage.hpp:30:7: note: in a call to non-static member function 'boost::Convertible::~Convertible() [with X = boost::iterators::random_access_traversal_tag; Y = boost::iterators::incrementable_traversal_tag]' 30 | ~model() | ^ src/third_party/boost-1.70.0/boost/concept_check.hpp:208:5: note: in expansion of macro 'BOOST_CONCEPT_USAGE' 208 | BOOST_CONCEPT_USAGE(Convertible) { | ^~~~~~~~~~~~~~~~~~~ In file included from src/third_party/boost-1.70.0/boost/concept/assert.hpp:35, from src/third_party/boost-1.70.0/boost/concept_check.hpp:20, from src/third_party/boost-1.70.0/boost/range/concepts.hpp:19, from src/third_party/boost-1.70.0/boost/range/size_type.hpp:20, from src/third_party/boost-1.70.0/boost/range/size.hpp:21, from src/third_party/boost-1.70.0/boost/proto/functional/range/size.hpp:12, from src/third_party/boost-1.70.0/boost/proto/functional/range.hpp:17, from src/third_party/boost-1.70.0/boost/proto/functional.hpp:14, from src/third_party/boost-1.70.0/boost/proto/proto.hpp:16, from src/third_party/boost-1.70.0/boost/spirit/home/support/meta_compiler.hpp:19, from src/third_party/boost-1.70.0/boost/spirit/home/qi/domain.hpp:15, from src/third_party/boost-1.70.0/boost/spirit/home/qi/detail/enable_lit.hpp:13, from src/third_party/boost-1.70.0/boost/spirit/home/qi/numeric/uint.hpp:17, from src/third_party/boost-1.70.0/boost/spirit/include/qi_uint.hpp:16, from src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:23: src/third_party/boost-1.70.0/boost/concept/detail/general.hpp: In instantiation of 'static void boost::concepts::requirement::failed() [with Model = boost::concepts::usage_requirements >]': src/third_party/boost-1.70.0/boost/iterator/iterator_concepts.hpp:120:7: required from 'struct boost_concepts::IncrementableIterator' src/third_party/boost-1.70.0/boost/iterator/iterator_concepts.hpp:129:3: required from 'struct boost_concepts::SinglePassIterator' src/third_party/boost-1.70.0/boost/iterator/iterator_concepts.hpp:141:3: required from 'struct boost_concepts::ForwardTraversal' src/third_party/boost-1.70.0/boost/iterator/iterator_concepts.hpp:141:3: required from 'struct boost_concepts::ForwardTraversalConcept' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of 'template boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, boost::concepts::detail::wrap_constraints*) [with Model = boost_concepts::ForwardTraversalConcept]' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:42:5: required from 'const bool boost::concepts::not_satisfied >::value' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:45:51: required from 'struct boost::concepts::not_satisfied >' src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:51:8: required from 'struct boost::concepts::requirement_)>' src/third_party/boost-1.70.0/boost/spirit/home/qi/parse.hpp:35:9: required from 'bool boost::spirit::qi::parse(Iterator&, Iterator, const Expr&, Attr&) [with Iterator = const char*; Expr = boost::spirit::terminal; Attr = unsigned int]' src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:84:30: required from 'boost::log::v2s_mt_posix::aux::format_description boost::log::v2s_mt_posix::aux::parse_format(const CharT*, const CharT*) [with CharT = char]' src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:137:75: required from here src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:39:47: warning: 'this' pointer is null [-Wnonnull] 39 | static void failed() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ In file included from src/third_party/boost-1.70.0/boost/concept_check.hpp:31, from src/third_party/boost-1.70.0/boost/range/concepts.hpp:19, from src/third_party/boost-1.70.0/boost/range/size_type.hpp:20, from src/third_party/boost-1.70.0/boost/range/size.hpp:21, from src/third_party/boost-1.70.0/boost/proto/functional/range/size.hpp:12, from src/third_party/boost-1.70.0/boost/proto/functional/range.hpp:17, from src/third_party/boost-1.70.0/boost/proto/functional.hpp:14, from src/third_party/boost-1.70.0/boost/proto/proto.hpp:16, from src/third_party/boost-1.70.0/boost/spirit/home/support/meta_compiler.hpp:19, from src/third_party/boost-1.70.0/boost/spirit/home/qi/domain.hpp:15, from src/third_party/boost-1.70.0/boost/spirit/home/qi/detail/enable_lit.hpp:13, from src/third_party/boost-1.70.0/boost/spirit/home/qi/numeric/uint.hpp:17, from src/third_party/boost-1.70.0/boost/spirit/include/qi_uint.hpp:16, from src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:23: src/third_party/boost-1.70.0/boost/concept/usage.hpp:16:5: note: in a call to non-static member function 'boost::concepts::usage_requirements::~usage_requirements() [with Model = boost_concepts::IncrementableIterator]' 16 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from src/third_party/boost-1.70.0/boost/concept/assert.hpp:35, from src/third_party/boost-1.70.0/boost/concept_check.hpp:20, from src/third_party/boost-1.70.0/boost/range/concepts.hpp:19, from src/third_party/boost-1.70.0/boost/range/size_type.hpp:20, from src/third_party/boost-1.70.0/boost/range/size.hpp:21, from src/third_party/boost-1.70.0/boost/proto/functional/range/size.hpp:12, from src/third_party/boost-1.70.0/boost/proto/functional/range.hpp:17, from src/third_party/boost-1.70.0/boost/proto/functional.hpp:14, from src/third_party/boost-1.70.0/boost/proto/proto.hpp:16, from src/third_party/boost-1.70.0/boost/spirit/home/support/meta_compiler.hpp:19, from src/third_party/boost-1.70.0/boost/spirit/home/qi/domain.hpp:15, from src/third_party/boost-1.70.0/boost/spirit/home/qi/detail/enable_lit.hpp:13, from src/third_party/boost-1.70.0/boost/spirit/home/qi/numeric/uint.hpp:17, from src/third_party/boost-1.70.0/boost/spirit/include/qi_uint.hpp:16, from src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:23: src/third_party/boost-1.70.0/boost/concept/detail/general.hpp: In instantiation of 'static void boost::concepts::requirement::failed() [with Model = boost::concepts::usage_requirements >]': src/third_party/boost-1.70.0/boost/concept_check.hpp:233:5: required from 'struct boost::EqualityComparable' src/third_party/boost-1.70.0/boost/iterator/iterator_concepts.hpp:129:3: required from 'struct boost_concepts::SinglePassIterator' src/third_party/boost-1.70.0/boost/iterator/iterator_concepts.hpp:141:3: required from 'struct boost_concepts::ForwardTraversal' src/third_party/boost-1.70.0/boost/iterator/iterator_concepts.hpp:141:3: required from 'struct boost_concepts::ForwardTraversalConcept' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of 'template boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, boost::concepts::detail::wrap_constraints*) [with Model = boost_concepts::ForwardTraversalConcept]' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:42:5: required from 'const bool boost::concepts::not_satisfied >::value' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:45:51: required from 'struct boost::concepts::not_satisfied >' src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:51:8: required from 'struct boost::concepts::requirement_)>' src/third_party/boost-1.70.0/boost/spirit/home/qi/parse.hpp:35:9: required from 'bool boost::spirit::qi::parse(Iterator&, Iterator, const Expr&, Attr&) [with Iterator = const char*; Expr = boost::spirit::terminal; Attr = unsigned int]' src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:84:30: required from 'boost::log::v2s_mt_posix::aux::format_description boost::log::v2s_mt_posix::aux::parse_format(const CharT*, const CharT*) [with CharT = char]' src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:137:75: required from here src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:39:47: warning: 'this' pointer is null [-Wnonnull] 39 | static void failed() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ In file included from src/third_party/boost-1.70.0/boost/concept_check.hpp:31, from src/third_party/boost-1.70.0/boost/range/concepts.hpp:19, from src/third_party/boost-1.70.0/boost/range/size_type.hpp:20, from src/third_party/boost-1.70.0/boost/range/size.hpp:21, from src/third_party/boost-1.70.0/boost/proto/functional/range/size.hpp:12, from src/third_party/boost-1.70.0/boost/proto/functional/range.hpp:17, from src/third_party/boost-1.70.0/boost/proto/functional.hpp:14, from src/third_party/boost-1.70.0/boost/proto/proto.hpp:16, from src/third_party/boost-1.70.0/boost/spirit/home/support/meta_compiler.hpp:19, from src/third_party/boost-1.70.0/boost/spirit/home/qi/domain.hpp:15, from src/third_party/boost-1.70.0/boost/spirit/home/qi/detail/enable_lit.hpp:13, from src/third_party/boost-1.70.0/boost/spirit/home/qi/numeric/uint.hpp:17, from src/third_party/boost-1.70.0/boost/spirit/include/qi_uint.hpp:16, from src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:23: src/third_party/boost-1.70.0/boost/concept/usage.hpp:16:5: note: in a call to non-static member function 'boost::concepts::usage_requirements::~usage_requirements() [with Model = boost::EqualityComparable]' 16 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from src/third_party/boost-1.70.0/boost/concept/assert.hpp:35, from src/third_party/boost-1.70.0/boost/concept_check.hpp:20, from src/third_party/boost-1.70.0/boost/range/concepts.hpp:19, from src/third_party/boost-1.70.0/boost/range/size_type.hpp:20, from src/third_party/boost-1.70.0/boost/range/size.hpp:21, from src/third_party/boost-1.70.0/boost/proto/functional/range/size.hpp:12, from src/third_party/boost-1.70.0/boost/proto/functional/range.hpp:17, from src/third_party/boost-1.70.0/boost/proto/functional.hpp:14, from src/third_party/boost-1.70.0/boost/proto/proto.hpp:16, from src/third_party/boost-1.70.0/boost/spirit/home/support/meta_compiler.hpp:19, from src/third_party/boost-1.70.0/boost/spirit/home/qi/domain.hpp:15, from src/third_party/boost-1.70.0/boost/spirit/home/qi/detail/enable_lit.hpp:13, from src/third_party/boost-1.70.0/boost/spirit/home/qi/numeric/uint.hpp:17, from src/third_party/boost-1.70.0/boost/spirit/include/qi_uint.hpp:16, from src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:23: src/third_party/boost-1.70.0/boost/concept/detail/general.hpp: In instantiation of 'static void boost::concepts::requirement::failed() [with Model = boost::concepts::usage_requirements >]': src/third_party/boost-1.70.0/boost/concept_check.hpp:208:5: required from 'struct boost::Convertible' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of 'template boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, boost::concepts::detail::wrap_constraints*) [with Model = boost::Convertible]' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:42:5: required from 'const bool boost::concepts::not_satisfied >::value' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:45:51: required from 'struct boost::concepts::not_satisfied >' src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:51:8: required from 'struct boost::concepts::requirement_)>' src/third_party/boost-1.70.0/boost/iterator/iterator_concepts.hpp:134:7: [ skipping 4 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:42:5: required from 'const bool boost::concepts::not_satisfied >::value' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:45:51: required from 'struct boost::concepts::not_satisfied >' src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:51:8: required from 'struct boost::concepts::requirement_)>' src/third_party/boost-1.70.0/boost/spirit/home/qi/parse.hpp:35:9: required from 'bool boost::spirit::qi::parse(Iterator&, Iterator, const Expr&, Attr&) [with Iterator = const char*; Expr = boost::spirit::terminal; Attr = unsigned int]' src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:84:30: required from 'boost::log::v2s_mt_posix::aux::format_description boost::log::v2s_mt_posix::aux::parse_format(const CharT*, const CharT*) [with CharT = char]' src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:137:75: required from here src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:39:47: warning: 'this' pointer is null [-Wnonnull] 39 | static void failed() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ In file included from src/third_party/boost-1.70.0/boost/concept_check.hpp:31, from src/third_party/boost-1.70.0/boost/range/concepts.hpp:19, from src/third_party/boost-1.70.0/boost/range/size_type.hpp:20, from src/third_party/boost-1.70.0/boost/range/size.hpp:21, from src/third_party/boost-1.70.0/boost/proto/functional/range/size.hpp:12, from src/third_party/boost-1.70.0/boost/proto/functional/range.hpp:17, from src/third_party/boost-1.70.0/boost/proto/functional.hpp:14, from src/third_party/boost-1.70.0/boost/proto/proto.hpp:16, from src/third_party/boost-1.70.0/boost/spirit/home/support/meta_compiler.hpp:19, from src/third_party/boost-1.70.0/boost/spirit/home/qi/domain.hpp:15, from src/third_party/boost-1.70.0/boost/spirit/home/qi/detail/enable_lit.hpp:13, from src/third_party/boost-1.70.0/boost/spirit/home/qi/numeric/uint.hpp:17, from src/third_party/boost-1.70.0/boost/spirit/include/qi_uint.hpp:16, from src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:23: src/third_party/boost-1.70.0/boost/concept/usage.hpp:16:5: note: in a call to non-static member function 'boost::concepts::usage_requirements::~usage_requirements() [with Model = boost::Convertible]' 16 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from src/third_party/boost-1.70.0/boost/concept/assert.hpp:35, from src/third_party/boost-1.70.0/boost/concept_check.hpp:20, from src/third_party/boost-1.70.0/boost/range/concepts.hpp:19, from src/third_party/boost-1.70.0/boost/range/size_type.hpp:20, from src/third_party/boost-1.70.0/boost/range/size.hpp:21, from src/third_party/boost-1.70.0/boost/proto/functional/range/size.hpp:12, from src/third_party/boost-1.70.0/boost/proto/functional/range.hpp:17, from src/third_party/boost-1.70.0/boost/proto/functional.hpp:14, from src/third_party/boost-1.70.0/boost/proto/proto.hpp:16, from src/third_party/boost-1.70.0/boost/spirit/home/support/meta_compiler.hpp:19, from src/third_party/boost-1.70.0/boost/spirit/home/qi/domain.hpp:15, from src/third_party/boost-1.70.0/boost/spirit/home/qi/detail/enable_lit.hpp:13, from src/third_party/boost-1.70.0/boost/spirit/home/qi/numeric/uint.hpp:17, from src/third_party/boost-1.70.0/boost/spirit/include/qi_uint.hpp:16, from src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:23: src/third_party/boost-1.70.0/boost/concept/detail/general.hpp: In instantiation of 'static void boost::concepts::requirement::failed() [with Model = boost::Convertible]': src/third_party/boost-1.70.0/boost/iterator/iterator_concepts.hpp:134:7: required from 'struct boost_concepts::SinglePassIterator' src/third_party/boost-1.70.0/boost/iterator/iterator_concepts.hpp:141:3: required from 'struct boost_concepts::ForwardTraversal' src/third_party/boost-1.70.0/boost/iterator/iterator_concepts.hpp:141:3: required from 'struct boost_concepts::ForwardTraversalConcept' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of 'template boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, boost::concepts::detail::wrap_constraints*) [with Model = boost_concepts::ForwardTraversalConcept]' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:42:5: required from 'const bool boost::concepts::not_satisfied >::value' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:45:51: required from 'struct boost::concepts::not_satisfied >' src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:51:8: required from 'struct boost::concepts::requirement_)>' src/third_party/boost-1.70.0/boost/spirit/home/qi/parse.hpp:35:9: required from 'bool boost::spirit::qi::parse(Iterator&, Iterator, const Expr&, Attr&) [with Iterator = const char*; Expr = boost::spirit::terminal; Attr = unsigned int]' src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:84:30: required from 'boost::log::v2s_mt_posix::aux::format_description boost::log::v2s_mt_posix::aux::parse_format(const CharT*, const CharT*) [with CharT = char]' src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:137:75: required from here src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:39:47: warning: 'this' pointer is null [-Wnonnull] 39 | static void failed() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ In file included from src/third_party/boost-1.70.0/boost/concept_check.hpp:31, from src/third_party/boost-1.70.0/boost/range/concepts.hpp:19, from src/third_party/boost-1.70.0/boost/range/size_type.hpp:20, from src/third_party/boost-1.70.0/boost/range/size.hpp:21, from src/third_party/boost-1.70.0/boost/proto/functional/range/size.hpp:12, from src/third_party/boost-1.70.0/boost/proto/functional/range.hpp:17, from src/third_party/boost-1.70.0/boost/proto/functional.hpp:14, from src/third_party/boost-1.70.0/boost/proto/proto.hpp:16, from src/third_party/boost-1.70.0/boost/spirit/home/support/meta_compiler.hpp:19, from src/third_party/boost-1.70.0/boost/spirit/home/qi/domain.hpp:15, from src/third_party/boost-1.70.0/boost/spirit/home/qi/detail/enable_lit.hpp:13, from src/third_party/boost-1.70.0/boost/spirit/home/qi/numeric/uint.hpp:17, from src/third_party/boost-1.70.0/boost/spirit/include/qi_uint.hpp:16, from src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:23: src/third_party/boost-1.70.0/boost/concept/usage.hpp:30:7: note: in a call to non-static member function 'boost::Convertible::~Convertible() [with X = boost::iterators::random_access_traversal_tag; Y = boost::iterators::single_pass_traversal_tag]' 30 | ~model() | ^ src/third_party/boost-1.70.0/boost/concept_check.hpp:208:5: note: in expansion of macro 'BOOST_CONCEPT_USAGE' 208 | BOOST_CONCEPT_USAGE(Convertible) { | ^~~~~~~~~~~~~~~~~~~ In file included from src/third_party/boost-1.70.0/boost/concept/assert.hpp:35, from src/third_party/boost-1.70.0/boost/concept_check.hpp:20, from src/third_party/boost-1.70.0/boost/range/concepts.hpp:19, from src/third_party/boost-1.70.0/boost/range/size_type.hpp:20, from src/third_party/boost-1.70.0/boost/range/size.hpp:21, from src/third_party/boost-1.70.0/boost/proto/functional/range/size.hpp:12, from src/third_party/boost-1.70.0/boost/proto/functional/range.hpp:17, from src/third_party/boost-1.70.0/boost/proto/functional.hpp:14, from src/third_party/boost-1.70.0/boost/proto/proto.hpp:16, from src/third_party/boost-1.70.0/boost/spirit/home/support/meta_compiler.hpp:19, from src/third_party/boost-1.70.0/boost/spirit/home/qi/domain.hpp:15, from src/third_party/boost-1.70.0/boost/spirit/home/qi/detail/enable_lit.hpp:13, from src/third_party/boost-1.70.0/boost/spirit/home/qi/numeric/uint.hpp:17, from src/third_party/boost-1.70.0/boost/spirit/include/qi_uint.hpp:16, from src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:23: src/third_party/boost-1.70.0/boost/concept/detail/general.hpp: In instantiation of 'static void boost::concepts::requirement::failed() [with Model = boost::concepts::usage_requirements >]': src/third_party/boost-1.70.0/boost/concept_check.hpp:137:5: required from 'struct boost::DefaultConstructible' src/third_party/boost-1.70.0/boost/iterator/iterator_concepts.hpp:141:3: required from 'struct boost_concepts::ForwardTraversal' src/third_party/boost-1.70.0/boost/iterator/iterator_concepts.hpp:141:3: required from 'struct boost_concepts::ForwardTraversalConcept' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of 'template boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, boost::concepts::detail::wrap_constraints*) [with Model = boost_concepts::ForwardTraversalConcept]' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:42:5: required from 'const bool boost::concepts::not_satisfied >::value' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:45:51: required from 'struct boost::concepts::not_satisfied >' src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:51:8: required from 'struct boost::concepts::requirement_)>' src/third_party/boost-1.70.0/boost/spirit/home/qi/parse.hpp:35:9: required from 'bool boost::spirit::qi::parse(Iterator&, Iterator, const Expr&, Attr&) [with Iterator = const char*; Expr = boost::spirit::terminal; Attr = unsigned int]' src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:84:30: required from 'boost::log::v2s_mt_posix::aux::format_description boost::log::v2s_mt_posix::aux::parse_format(const CharT*, const CharT*) [with CharT = char]' src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:137:75: required from here src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:39:47: warning: 'this' pointer is null [-Wnonnull] 39 | static void failed() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ In file included from src/third_party/boost-1.70.0/boost/concept_check.hpp:31, from src/third_party/boost-1.70.0/boost/range/concepts.hpp:19, from src/third_party/boost-1.70.0/boost/range/size_type.hpp:20, from src/third_party/boost-1.70.0/boost/range/size.hpp:21, from src/third_party/boost-1.70.0/boost/proto/functional/range/size.hpp:12, from src/third_party/boost-1.70.0/boost/proto/functional/range.hpp:17, from src/third_party/boost-1.70.0/boost/proto/functional.hpp:14, from src/third_party/boost-1.70.0/boost/proto/proto.hpp:16, from src/third_party/boost-1.70.0/boost/spirit/home/support/meta_compiler.hpp:19, from src/third_party/boost-1.70.0/boost/spirit/home/qi/domain.hpp:15, from src/third_party/boost-1.70.0/boost/spirit/home/qi/detail/enable_lit.hpp:13, from src/third_party/boost-1.70.0/boost/spirit/home/qi/numeric/uint.hpp:17, from src/third_party/boost-1.70.0/boost/spirit/include/qi_uint.hpp:16, from src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:23: src/third_party/boost-1.70.0/boost/concept/usage.hpp:16:5: note: in a call to non-static member function 'boost::concepts::usage_requirements::~usage_requirements() [with Model = boost::DefaultConstructible]' 16 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from src/third_party/boost-1.70.0/boost/concept/assert.hpp:35, from src/third_party/boost-1.70.0/boost/concept_check.hpp:20, from src/third_party/boost-1.70.0/boost/range/concepts.hpp:19, from src/third_party/boost-1.70.0/boost/range/size_type.hpp:20, from src/third_party/boost-1.70.0/boost/range/size.hpp:21, from src/third_party/boost-1.70.0/boost/proto/functional/range/size.hpp:12, from src/third_party/boost-1.70.0/boost/proto/functional/range.hpp:17, from src/third_party/boost-1.70.0/boost/proto/functional.hpp:14, from src/third_party/boost-1.70.0/boost/proto/proto.hpp:16, from src/third_party/boost-1.70.0/boost/spirit/home/support/meta_compiler.hpp:19, from src/third_party/boost-1.70.0/boost/spirit/home/qi/domain.hpp:15, from src/third_party/boost-1.70.0/boost/spirit/home/qi/detail/enable_lit.hpp:13, from src/third_party/boost-1.70.0/boost/spirit/home/qi/numeric/uint.hpp:17, from src/third_party/boost-1.70.0/boost/spirit/include/qi_uint.hpp:16, from src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:23: src/third_party/boost-1.70.0/boost/concept/detail/general.hpp: In instantiation of 'static void boost::concepts::requirement::failed() [with Model = boost::concepts::usage_requirements >]': src/third_party/boost-1.70.0/boost/concept_check.hpp:208:5: required from 'struct boost::Convertible' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of 'template boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, boost::concepts::detail::wrap_constraints*) [with Model = boost::Convertible]' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:42:5: required from 'const bool boost::concepts::not_satisfied >::value' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:45:51: required from 'struct boost::concepts::not_satisfied >' src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:51:8: required from 'struct boost::concepts::requirement_)>' src/third_party/boost-1.70.0/boost/iterator/iterator_concepts.hpp:150:7: [ skipping 3 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:42:5: required from 'const bool boost::concepts::not_satisfied >::value' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:45:51: required from 'struct boost::concepts::not_satisfied >' src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:51:8: required from 'struct boost::concepts::requirement_)>' src/third_party/boost-1.70.0/boost/spirit/home/qi/parse.hpp:35:9: required from 'bool boost::spirit::qi::parse(Iterator&, Iterator, const Expr&, Attr&) [with Iterator = const char*; Expr = boost::spirit::terminal; Attr = unsigned int]' src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:84:30: required from 'boost::log::v2s_mt_posix::aux::format_description boost::log::v2s_mt_posix::aux::parse_format(const CharT*, const CharT*) [with CharT = char]' src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:137:75: required from here src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:39:47: warning: 'this' pointer is null [-Wnonnull] 39 | static void failed() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ In file included from src/third_party/boost-1.70.0/boost/concept_check.hpp:31, from src/third_party/boost-1.70.0/boost/range/concepts.hpp:19, from src/third_party/boost-1.70.0/boost/range/size_type.hpp:20, from src/third_party/boost-1.70.0/boost/range/size.hpp:21, from src/third_party/boost-1.70.0/boost/proto/functional/range/size.hpp:12, from src/third_party/boost-1.70.0/boost/proto/functional/range.hpp:17, from src/third_party/boost-1.70.0/boost/proto/functional.hpp:14, from src/third_party/boost-1.70.0/boost/proto/proto.hpp:16, from src/third_party/boost-1.70.0/boost/spirit/home/support/meta_compiler.hpp:19, from src/third_party/boost-1.70.0/boost/spirit/home/qi/domain.hpp:15, from src/third_party/boost-1.70.0/boost/spirit/home/qi/detail/enable_lit.hpp:13, from src/third_party/boost-1.70.0/boost/spirit/home/qi/numeric/uint.hpp:17, from src/third_party/boost-1.70.0/boost/spirit/include/qi_uint.hpp:16, from src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:23: src/third_party/boost-1.70.0/boost/concept/usage.hpp:16:5: note: in a call to non-static member function 'boost::concepts::usage_requirements::~usage_requirements() [with Model = boost::Convertible]' 16 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from src/third_party/boost-1.70.0/boost/concept/assert.hpp:35, from src/third_party/boost-1.70.0/boost/concept_check.hpp:20, from src/third_party/boost-1.70.0/boost/range/concepts.hpp:19, from src/third_party/boost-1.70.0/boost/range/size_type.hpp:20, from src/third_party/boost-1.70.0/boost/range/size.hpp:21, from src/third_party/boost-1.70.0/boost/proto/functional/range/size.hpp:12, from src/third_party/boost-1.70.0/boost/proto/functional/range.hpp:17, from src/third_party/boost-1.70.0/boost/proto/functional.hpp:14, from src/third_party/boost-1.70.0/boost/proto/proto.hpp:16, from src/third_party/boost-1.70.0/boost/spirit/home/support/meta_compiler.hpp:19, from src/third_party/boost-1.70.0/boost/spirit/home/qi/domain.hpp:15, from src/third_party/boost-1.70.0/boost/spirit/home/qi/detail/enable_lit.hpp:13, from src/third_party/boost-1.70.0/boost/spirit/home/qi/numeric/uint.hpp:17, from src/third_party/boost-1.70.0/boost/spirit/include/qi_uint.hpp:16, from src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:23: src/third_party/boost-1.70.0/boost/concept/detail/general.hpp: In instantiation of 'static void boost::concepts::requirement::failed() [with Model = boost::Convertible]': src/third_party/boost-1.70.0/boost/iterator/iterator_concepts.hpp:150:7: required from 'struct boost_concepts::ForwardTraversal' src/third_party/boost-1.70.0/boost/iterator/iterator_concepts.hpp:141:3: required from 'struct boost_concepts::ForwardTraversalConcept' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of 'template boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, boost::concepts::detail::wrap_constraints*) [with Model = boost_concepts::ForwardTraversalConcept]' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:42:5: required from 'const bool boost::concepts::not_satisfied >::value' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:45:51: required from 'struct boost::concepts::not_satisfied >' src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:51:8: required from 'struct boost::concepts::requirement_)>' src/third_party/boost-1.70.0/boost/spirit/home/qi/parse.hpp:35:9: required from 'bool boost::spirit::qi::parse(Iterator&, Iterator, const Expr&, Attr&) [with Iterator = const char*; Expr = boost::spirit::terminal; Attr = unsigned int]' src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:84:30: required from 'boost::log::v2s_mt_posix::aux::format_description boost::log::v2s_mt_posix::aux::parse_format(const CharT*, const CharT*) [with CharT = char]' src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:137:75: required from here src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:39:47: warning: 'this' pointer is null [-Wnonnull] 39 | static void failed() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ In file included from src/third_party/boost-1.70.0/boost/concept_check.hpp:31, from src/third_party/boost-1.70.0/boost/range/concepts.hpp:19, from src/third_party/boost-1.70.0/boost/range/size_type.hpp:20, from src/third_party/boost-1.70.0/boost/range/size.hpp:21, from src/third_party/boost-1.70.0/boost/proto/functional/range/size.hpp:12, from src/third_party/boost-1.70.0/boost/proto/functional/range.hpp:17, from src/third_party/boost-1.70.0/boost/proto/functional.hpp:14, from src/third_party/boost-1.70.0/boost/proto/proto.hpp:16, from src/third_party/boost-1.70.0/boost/spirit/home/support/meta_compiler.hpp:19, from src/third_party/boost-1.70.0/boost/spirit/home/qi/domain.hpp:15, from src/third_party/boost-1.70.0/boost/spirit/home/qi/detail/enable_lit.hpp:13, from src/third_party/boost-1.70.0/boost/spirit/home/qi/numeric/uint.hpp:17, from src/third_party/boost-1.70.0/boost/spirit/include/qi_uint.hpp:16, from src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:23: src/third_party/boost-1.70.0/boost/concept/usage.hpp:30:7: note: in a call to non-static member function 'boost::Convertible::~Convertible() [with X = boost::iterators::random_access_traversal_tag; Y = boost::iterators::forward_traversal_tag]' 30 | ~model() | ^ src/third_party/boost-1.70.0/boost/concept_check.hpp:208:5: note: in expansion of macro 'BOOST_CONCEPT_USAGE' 208 | BOOST_CONCEPT_USAGE(Convertible) { | ^~~~~~~~~~~~~~~~~~~ In file included from src/third_party/boost-1.70.0/boost/concept/assert.hpp:35, from src/third_party/boost-1.70.0/boost/concept_check.hpp:20, from src/third_party/boost-1.70.0/boost/range/concepts.hpp:19, from src/third_party/boost-1.70.0/boost/range/size_type.hpp:20, from src/third_party/boost-1.70.0/boost/range/size.hpp:21, from src/third_party/boost-1.70.0/boost/proto/functional/range/size.hpp:12, from src/third_party/boost-1.70.0/boost/proto/functional/range.hpp:17, from src/third_party/boost-1.70.0/boost/proto/functional.hpp:14, from src/third_party/boost-1.70.0/boost/proto/proto.hpp:16, from src/third_party/boost-1.70.0/boost/spirit/home/support/meta_compiler.hpp:19, from src/third_party/boost-1.70.0/boost/spirit/home/qi/domain.hpp:15, from src/third_party/boost-1.70.0/boost/spirit/home/qi/detail/enable_lit.hpp:13, from src/third_party/boost-1.70.0/boost/spirit/home/qi/numeric/uint.hpp:17, from src/third_party/boost-1.70.0/boost/spirit/include/qi_uint.hpp:16, from src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:23: src/third_party/boost-1.70.0/boost/concept/detail/general.hpp: In instantiation of 'static void boost::concepts::requirement::failed() [with Model = boost_concepts::ForwardTraversalConcept]': src/third_party/boost-1.70.0/boost/spirit/home/qi/parse.hpp:35:9: required from 'bool boost::spirit::qi::parse(Iterator&, Iterator, const Expr&, Attr&) [with Iterator = const char*; Expr = boost::spirit::terminal; Attr = unsigned int]' src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:84:30: required from 'boost::log::v2s_mt_posix::aux::format_description boost::log::v2s_mt_posix::aux::parse_format(const CharT*, const CharT*) [with CharT = char]' src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:137:75: required from here src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:39:47: warning: 'this' pointer is null [-Wnonnull] 39 | static void failed() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ In file included from src/third_party/boost-1.70.0/boost/preprocessor/control/while.hpp:17, from src/third_party/boost-1.70.0/boost/preprocessor/arithmetic/add.hpp:20, from src/third_party/boost-1.70.0/boost/phoenix/core/limits.hpp:12, from src/third_party/boost-1.70.0/boost/spirit/include/phoenix_limits.hpp:11, from src/third_party/boost-1.70.0/boost/spirit/home/support/meta_compiler.hpp:16, from src/third_party/boost-1.70.0/boost/spirit/home/qi/domain.hpp:15, from src/third_party/boost-1.70.0/boost/spirit/home/qi/detail/enable_lit.hpp:13, from src/third_party/boost-1.70.0/boost/spirit/home/qi/numeric/uint.hpp:17, from src/third_party/boost-1.70.0/boost/spirit/include/qi_uint.hpp:16, from src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:23: src/third_party/boost-1.70.0/boost/iterator/iterator_concepts.hpp:141:17: note: in a call to non-static member function 'boost_concepts::ForwardTraversalConcept::~ForwardTraversalConcept()' 141 | BOOST_concept(ForwardTraversal,(Iterator)) | ^~~~~~~~~~~~~~~~ src/third_party/boost-1.70.0/boost/preprocessor/cat.hpp:29:34: note: in definition of macro 'BOOST_PP_CAT_I' 29 | # define BOOST_PP_CAT_I(a, b) a ## b | ^ src/third_party/boost-1.70.0/boost/concept/detail/concept_def.hpp:23:12: note: in expansion of macro 'BOOST_PP_CAT' 23 | struct BOOST_PP_CAT(name,Concept) \ | ^~~~~~~~~~~~ src/third_party/boost-1.70.0/boost/iterator/iterator_concepts.hpp:141:3: note: in expansion of macro 'BOOST_concept' 141 | BOOST_concept(ForwardTraversal,(Iterator)) | ^~~~~~~~~~~~~ In file included from src/third_party/boost-1.70.0/boost/concept/assert.hpp:35, from src/third_party/boost-1.70.0/boost/concept_check.hpp:20, from src/third_party/boost-1.70.0/boost/range/concepts.hpp:19, from src/third_party/boost-1.70.0/boost/range/size_type.hpp:20, from src/third_party/boost-1.70.0/boost/range/size.hpp:21, from src/third_party/boost-1.70.0/boost/proto/functional/range/size.hpp:12, from src/third_party/boost-1.70.0/boost/proto/functional/range.hpp:17, from src/third_party/boost-1.70.0/boost/proto/functional.hpp:14, from src/third_party/boost-1.70.0/boost/proto/proto.hpp:16, from src/third_party/boost-1.70.0/boost/spirit/home/support/meta_compiler.hpp:19, from src/third_party/boost-1.70.0/boost/spirit/home/qi/domain.hpp:15, from src/third_party/boost-1.70.0/boost/spirit/home/qi/detail/enable_lit.hpp:13, from src/third_party/boost-1.70.0/boost/spirit/home/qi/numeric/uint.hpp:17, from src/third_party/boost-1.70.0/boost/spirit/include/qi_uint.hpp:16, from src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:23: src/third_party/boost-1.70.0/boost/concept/detail/general.hpp: In instantiation of 'static void boost::concepts::requirement::failed() [with Model = boost::concepts::usage_requirements >]': src/third_party/boost-1.70.0/boost/concept_check.hpp:145:5: required from 'struct boost::Assignable' src/third_party/boost-1.70.0/boost/iterator/iterator_concepts.hpp:40:3: required from 'struct boost_concepts::ReadableIterator' src/third_party/boost-1.70.0/boost/iterator/iterator_concepts.hpp:40:3: required from 'struct boost_concepts::ReadableIteratorConcept' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of 'template boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, boost::concepts::detail::wrap_constraints*) [with Model = boost_concepts::ReadableIteratorConcept]' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:42:5: required from 'const bool boost::concepts::not_satisfied >::value' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:45:51: required from 'struct boost::concepts::not_satisfied >' src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:51:8: required from 'struct boost::concepts::requirement_)>' src/third_party/boost-1.70.0/boost/spirit/home/qi/parse.hpp:34:9: required from 'bool boost::spirit::qi::parse(Iterator&, Iterator, const Expr&, Attr&) [with Iterator = const wchar_t*; Expr = boost::spirit::terminal; Attr = unsigned int]' src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:84:30: required from 'boost::log::v2s_mt_posix::aux::format_description boost::log::v2s_mt_posix::aux::parse_format(const CharT*, const CharT*) [with CharT = wchar_t]' src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:144:84: required from here src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:39:47: warning: 'this' pointer is null [-Wnonnull] 39 | static void failed() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ In file included from src/third_party/boost-1.70.0/boost/concept_check.hpp:31, from src/third_party/boost-1.70.0/boost/range/concepts.hpp:19, from src/third_party/boost-1.70.0/boost/range/size_type.hpp:20, from src/third_party/boost-1.70.0/boost/range/size.hpp:21, from src/third_party/boost-1.70.0/boost/proto/functional/range/size.hpp:12, from src/third_party/boost-1.70.0/boost/proto/functional/range.hpp:17, from src/third_party/boost-1.70.0/boost/proto/functional.hpp:14, from src/third_party/boost-1.70.0/boost/proto/proto.hpp:16, from src/third_party/boost-1.70.0/boost/spirit/home/support/meta_compiler.hpp:19, from src/third_party/boost-1.70.0/boost/spirit/home/qi/domain.hpp:15, from src/third_party/boost-1.70.0/boost/spirit/home/qi/detail/enable_lit.hpp:13, from src/third_party/boost-1.70.0/boost/spirit/home/qi/numeric/uint.hpp:17, from src/third_party/boost-1.70.0/boost/spirit/include/qi_uint.hpp:16, from src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:23: src/third_party/boost-1.70.0/boost/concept/usage.hpp:16:5: note: in a call to non-static member function 'boost::concepts::usage_requirements::~usage_requirements() [with Model = boost::Assignable]' 16 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from src/third_party/boost-1.70.0/boost/concept/assert.hpp:35, from src/third_party/boost-1.70.0/boost/concept_check.hpp:20, from src/third_party/boost-1.70.0/boost/range/concepts.hpp:19, from src/third_party/boost-1.70.0/boost/range/size_type.hpp:20, from src/third_party/boost-1.70.0/boost/range/size.hpp:21, from src/third_party/boost-1.70.0/boost/proto/functional/range/size.hpp:12, from src/third_party/boost-1.70.0/boost/proto/functional/range.hpp:17, from src/third_party/boost-1.70.0/boost/proto/functional.hpp:14, from src/third_party/boost-1.70.0/boost/proto/proto.hpp:16, from src/third_party/boost-1.70.0/boost/spirit/home/support/meta_compiler.hpp:19, from src/third_party/boost-1.70.0/boost/spirit/home/qi/domain.hpp:15, from src/third_party/boost-1.70.0/boost/spirit/home/qi/detail/enable_lit.hpp:13, from src/third_party/boost-1.70.0/boost/spirit/home/qi/numeric/uint.hpp:17, from src/third_party/boost-1.70.0/boost/spirit/include/qi_uint.hpp:16, from src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:23: src/third_party/boost-1.70.0/boost/concept/detail/general.hpp: In instantiation of 'static void boost::concepts::requirement::failed() [with Model = boost::concepts::usage_requirements >]': src/third_party/boost-1.70.0/boost/concept_check.hpp:167:5: required from 'struct boost::CopyConstructible' src/third_party/boost-1.70.0/boost/iterator/iterator_concepts.hpp:40:3: required from 'struct boost_concepts::ReadableIterator' src/third_party/boost-1.70.0/boost/iterator/iterator_concepts.hpp:40:3: required from 'struct boost_concepts::ReadableIteratorConcept' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of 'template boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, boost::concepts::detail::wrap_constraints*) [with Model = boost_concepts::ReadableIteratorConcept]' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:42:5: required from 'const bool boost::concepts::not_satisfied >::value' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:45:51: required from 'struct boost::concepts::not_satisfied >' src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:51:8: required from 'struct boost::concepts::requirement_)>' src/third_party/boost-1.70.0/boost/spirit/home/qi/parse.hpp:34:9: required from 'bool boost::spirit::qi::parse(Iterator&, Iterator, const Expr&, Attr&) [with Iterator = const wchar_t*; Expr = boost::spirit::terminal; Attr = unsigned int]' src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:84:30: required from 'boost::log::v2s_mt_posix::aux::format_description boost::log::v2s_mt_posix::aux::parse_format(const CharT*, const CharT*) [with CharT = wchar_t]' src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:144:84: required from here src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:39:47: warning: 'this' pointer is null [-Wnonnull] 39 | static void failed() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ In file included from src/third_party/boost-1.70.0/boost/concept_check.hpp:31, from src/third_party/boost-1.70.0/boost/range/concepts.hpp:19, from src/third_party/boost-1.70.0/boost/range/size_type.hpp:20, from src/third_party/boost-1.70.0/boost/range/size.hpp:21, from src/third_party/boost-1.70.0/boost/proto/functional/range/size.hpp:12, from src/third_party/boost-1.70.0/boost/proto/functional/range.hpp:17, from src/third_party/boost-1.70.0/boost/proto/functional.hpp:14, from src/third_party/boost-1.70.0/boost/proto/proto.hpp:16, from src/third_party/boost-1.70.0/boost/spirit/home/support/meta_compiler.hpp:19, from src/third_party/boost-1.70.0/boost/spirit/home/qi/domain.hpp:15, from src/third_party/boost-1.70.0/boost/spirit/home/qi/detail/enable_lit.hpp:13, from src/third_party/boost-1.70.0/boost/spirit/home/qi/numeric/uint.hpp:17, from src/third_party/boost-1.70.0/boost/spirit/include/qi_uint.hpp:16, from src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:23: src/third_party/boost-1.70.0/boost/concept/usage.hpp:16:5: note: in a call to non-static member function 'boost::concepts::usage_requirements::~usage_requirements() [with Model = boost::CopyConstructible]' 16 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from src/third_party/boost-1.70.0/boost/concept/assert.hpp:35, from src/third_party/boost-1.70.0/boost/concept_check.hpp:20, from src/third_party/boost-1.70.0/boost/range/concepts.hpp:19, from src/third_party/boost-1.70.0/boost/range/size_type.hpp:20, from src/third_party/boost-1.70.0/boost/range/size.hpp:21, from src/third_party/boost-1.70.0/boost/proto/functional/range/size.hpp:12, from src/third_party/boost-1.70.0/boost/proto/functional/range.hpp:17, from src/third_party/boost-1.70.0/boost/proto/functional.hpp:14, from src/third_party/boost-1.70.0/boost/proto/proto.hpp:16, from src/third_party/boost-1.70.0/boost/spirit/home/support/meta_compiler.hpp:19, from src/third_party/boost-1.70.0/boost/spirit/home/qi/domain.hpp:15, from src/third_party/boost-1.70.0/boost/spirit/home/qi/detail/enable_lit.hpp:13, from src/third_party/boost-1.70.0/boost/spirit/home/qi/numeric/uint.hpp:17, from src/third_party/boost-1.70.0/boost/spirit/include/qi_uint.hpp:16, from src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:23: src/third_party/boost-1.70.0/boost/concept/detail/general.hpp: In instantiation of 'static void boost::concepts::requirement::failed() [with Model = boost::concepts::usage_requirements >]': src/third_party/boost-1.70.0/boost/iterator/iterator_concepts.hpp:48:7: required from 'struct boost_concepts::ReadableIterator' src/third_party/boost-1.70.0/boost/iterator/iterator_concepts.hpp:40:3: required from 'struct boost_concepts::ReadableIteratorConcept' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of 'template boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, boost::concepts::detail::wrap_constraints*) [with Model = boost_concepts::ReadableIteratorConcept]' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:42:5: required from 'const bool boost::concepts::not_satisfied >::value' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:45:51: required from 'struct boost::concepts::not_satisfied >' src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:51:8: required from 'struct boost::concepts::requirement_)>' src/third_party/boost-1.70.0/boost/spirit/home/qi/parse.hpp:34:9: required from 'bool boost::spirit::qi::parse(Iterator&, Iterator, const Expr&, Attr&) [with Iterator = const wchar_t*; Expr = boost::spirit::terminal; Attr = unsigned int]' src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:84:30: required from 'boost::log::v2s_mt_posix::aux::format_description boost::log::v2s_mt_posix::aux::parse_format(const CharT*, const CharT*) [with CharT = wchar_t]' src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:144:84: required from here src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:39:47: warning: 'this' pointer is null [-Wnonnull] 39 | static void failed() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ In file included from src/third_party/boost-1.70.0/boost/concept_check.hpp:31, from src/third_party/boost-1.70.0/boost/range/concepts.hpp:19, from src/third_party/boost-1.70.0/boost/range/size_type.hpp:20, from src/third_party/boost-1.70.0/boost/range/size.hpp:21, from src/third_party/boost-1.70.0/boost/proto/functional/range/size.hpp:12, from src/third_party/boost-1.70.0/boost/proto/functional/range.hpp:17, from src/third_party/boost-1.70.0/boost/proto/functional.hpp:14, from src/third_party/boost-1.70.0/boost/proto/proto.hpp:16, from src/third_party/boost-1.70.0/boost/spirit/home/support/meta_compiler.hpp:19, from src/third_party/boost-1.70.0/boost/spirit/home/qi/domain.hpp:15, from src/third_party/boost-1.70.0/boost/spirit/home/qi/detail/enable_lit.hpp:13, from src/third_party/boost-1.70.0/boost/spirit/home/qi/numeric/uint.hpp:17, from src/third_party/boost-1.70.0/boost/spirit/include/qi_uint.hpp:16, from src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:23: src/third_party/boost-1.70.0/boost/concept/usage.hpp:16:5: note: in a call to non-static member function 'boost::concepts::usage_requirements::~usage_requirements() [with Model = boost_concepts::ReadableIterator]' 16 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from src/third_party/boost-1.70.0/boost/concept/assert.hpp:35, from src/third_party/boost-1.70.0/boost/concept_check.hpp:20, from src/third_party/boost-1.70.0/boost/range/concepts.hpp:19, from src/third_party/boost-1.70.0/boost/range/size_type.hpp:20, from src/third_party/boost-1.70.0/boost/range/size.hpp:21, from src/third_party/boost-1.70.0/boost/proto/functional/range/size.hpp:12, from src/third_party/boost-1.70.0/boost/proto/functional/range.hpp:17, from src/third_party/boost-1.70.0/boost/proto/functional.hpp:14, from src/third_party/boost-1.70.0/boost/proto/proto.hpp:16, from src/third_party/boost-1.70.0/boost/spirit/home/support/meta_compiler.hpp:19, from src/third_party/boost-1.70.0/boost/spirit/home/qi/domain.hpp:15, from src/third_party/boost-1.70.0/boost/spirit/home/qi/detail/enable_lit.hpp:13, from src/third_party/boost-1.70.0/boost/spirit/home/qi/numeric/uint.hpp:17, from src/third_party/boost-1.70.0/boost/spirit/include/qi_uint.hpp:16, from src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:23: src/third_party/boost-1.70.0/boost/concept/detail/general.hpp: In instantiation of 'static void boost::concepts::requirement::failed() [with Model = boost_concepts::ReadableIteratorConcept]': src/third_party/boost-1.70.0/boost/spirit/home/qi/parse.hpp:34:9: required from 'bool boost::spirit::qi::parse(Iterator&, Iterator, const Expr&, Attr&) [with Iterator = const wchar_t*; Expr = boost::spirit::terminal; Attr = unsigned int]' src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:84:30: required from 'boost::log::v2s_mt_posix::aux::format_description boost::log::v2s_mt_posix::aux::parse_format(const CharT*, const CharT*) [with CharT = wchar_t]' src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:144:84: required from here src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:39:47: warning: 'this' pointer is null [-Wnonnull] 39 | static void failed() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ In file included from src/third_party/boost-1.70.0/boost/preprocessor/control/while.hpp:17, from src/third_party/boost-1.70.0/boost/preprocessor/arithmetic/add.hpp:20, from src/third_party/boost-1.70.0/boost/phoenix/core/limits.hpp:12, from src/third_party/boost-1.70.0/boost/spirit/include/phoenix_limits.hpp:11, from src/third_party/boost-1.70.0/boost/spirit/home/support/meta_compiler.hpp:16, from src/third_party/boost-1.70.0/boost/spirit/home/qi/domain.hpp:15, from src/third_party/boost-1.70.0/boost/spirit/home/qi/detail/enable_lit.hpp:13, from src/third_party/boost-1.70.0/boost/spirit/home/qi/numeric/uint.hpp:17, from src/third_party/boost-1.70.0/boost/spirit/include/qi_uint.hpp:16, from src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:23: src/third_party/boost-1.70.0/boost/iterator/iterator_concepts.hpp:40:17: note: in a call to non-static member function 'boost_concepts::ReadableIteratorConcept::~ReadableIteratorConcept()' 40 | BOOST_concept(ReadableIterator,(Iterator)) | ^~~~~~~~~~~~~~~~ src/third_party/boost-1.70.0/boost/preprocessor/cat.hpp:29:34: note: in definition of macro 'BOOST_PP_CAT_I' 29 | # define BOOST_PP_CAT_I(a, b) a ## b | ^ src/third_party/boost-1.70.0/boost/concept/detail/concept_def.hpp:23:12: note: in expansion of macro 'BOOST_PP_CAT' 23 | struct BOOST_PP_CAT(name,Concept) \ | ^~~~~~~~~~~~ src/third_party/boost-1.70.0/boost/iterator/iterator_concepts.hpp:40:3: note: in expansion of macro 'BOOST_concept' 40 | BOOST_concept(ReadableIterator,(Iterator)) | ^~~~~~~~~~~~~ In file included from src/third_party/boost-1.70.0/boost/concept/assert.hpp:35, from src/third_party/boost-1.70.0/boost/concept_check.hpp:20, from src/third_party/boost-1.70.0/boost/range/concepts.hpp:19, from src/third_party/boost-1.70.0/boost/range/size_type.hpp:20, from src/third_party/boost-1.70.0/boost/range/size.hpp:21, from src/third_party/boost-1.70.0/boost/proto/functional/range/size.hpp:12, from src/third_party/boost-1.70.0/boost/proto/functional/range.hpp:17, from src/third_party/boost-1.70.0/boost/proto/functional.hpp:14, from src/third_party/boost-1.70.0/boost/proto/proto.hpp:16, from src/third_party/boost-1.70.0/boost/spirit/home/support/meta_compiler.hpp:19, from src/third_party/boost-1.70.0/boost/spirit/home/qi/domain.hpp:15, from src/third_party/boost-1.70.0/boost/spirit/home/qi/detail/enable_lit.hpp:13, from src/third_party/boost-1.70.0/boost/spirit/home/qi/numeric/uint.hpp:17, from src/third_party/boost-1.70.0/boost/spirit/include/qi_uint.hpp:16, from src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:23: src/third_party/boost-1.70.0/boost/concept/detail/general.hpp: In instantiation of 'static void boost::concepts::requirement::failed() [with Model = boost::concepts::usage_requirements >]': src/third_party/boost-1.70.0/boost/iterator/iterator_concepts.hpp:120:7: required from 'struct boost_concepts::IncrementableIterator' src/third_party/boost-1.70.0/boost/iterator/iterator_concepts.hpp:129:3: required from 'struct boost_concepts::SinglePassIterator' src/third_party/boost-1.70.0/boost/iterator/iterator_concepts.hpp:141:3: required from 'struct boost_concepts::ForwardTraversal' src/third_party/boost-1.70.0/boost/iterator/iterator_concepts.hpp:141:3: required from 'struct boost_concepts::ForwardTraversalConcept' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of 'template boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, boost::concepts::detail::wrap_constraints*) [with Model = boost_concepts::ForwardTraversalConcept]' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:42:5: required from 'const bool boost::concepts::not_satisfied >::value' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:45:51: required from 'struct boost::concepts::not_satisfied >' src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:51:8: required from 'struct boost::concepts::requirement_)>' src/third_party/boost-1.70.0/boost/spirit/home/qi/parse.hpp:35:9: required from 'bool boost::spirit::qi::parse(Iterator&, Iterator, const Expr&, Attr&) [with Iterator = const wchar_t*; Expr = boost::spirit::terminal; Attr = unsigned int]' src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:84:30: required from 'boost::log::v2s_mt_posix::aux::format_description boost::log::v2s_mt_posix::aux::parse_format(const CharT*, const CharT*) [with CharT = wchar_t]' src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:144:84: required from here src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:39:47: warning: 'this' pointer is null [-Wnonnull] 39 | static void failed() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ In file included from src/third_party/boost-1.70.0/boost/concept_check.hpp:31, from src/third_party/boost-1.70.0/boost/range/concepts.hpp:19, from src/third_party/boost-1.70.0/boost/range/size_type.hpp:20, from src/third_party/boost-1.70.0/boost/range/size.hpp:21, from src/third_party/boost-1.70.0/boost/proto/functional/range/size.hpp:12, from src/third_party/boost-1.70.0/boost/proto/functional/range.hpp:17, from src/third_party/boost-1.70.0/boost/proto/functional.hpp:14, from src/third_party/boost-1.70.0/boost/proto/proto.hpp:16, from src/third_party/boost-1.70.0/boost/spirit/home/support/meta_compiler.hpp:19, from src/third_party/boost-1.70.0/boost/spirit/home/qi/domain.hpp:15, from src/third_party/boost-1.70.0/boost/spirit/home/qi/detail/enable_lit.hpp:13, from src/third_party/boost-1.70.0/boost/spirit/home/qi/numeric/uint.hpp:17, from src/third_party/boost-1.70.0/boost/spirit/include/qi_uint.hpp:16, from src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:23: src/third_party/boost-1.70.0/boost/concept/usage.hpp:16:5: note: in a call to non-static member function 'boost::concepts::usage_requirements::~usage_requirements() [with Model = boost_concepts::IncrementableIterator]' 16 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from src/third_party/boost-1.70.0/boost/concept/assert.hpp:35, from src/third_party/boost-1.70.0/boost/concept_check.hpp:20, from src/third_party/boost-1.70.0/boost/range/concepts.hpp:19, from src/third_party/boost-1.70.0/boost/range/size_type.hpp:20, from src/third_party/boost-1.70.0/boost/range/size.hpp:21, from src/third_party/boost-1.70.0/boost/proto/functional/range/size.hpp:12, from src/third_party/boost-1.70.0/boost/proto/functional/range.hpp:17, from src/third_party/boost-1.70.0/boost/proto/functional.hpp:14, from src/third_party/boost-1.70.0/boost/proto/proto.hpp:16, from src/third_party/boost-1.70.0/boost/spirit/home/support/meta_compiler.hpp:19, from src/third_party/boost-1.70.0/boost/spirit/home/qi/domain.hpp:15, from src/third_party/boost-1.70.0/boost/spirit/home/qi/detail/enable_lit.hpp:13, from src/third_party/boost-1.70.0/boost/spirit/home/qi/numeric/uint.hpp:17, from src/third_party/boost-1.70.0/boost/spirit/include/qi_uint.hpp:16, from src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:23: src/third_party/boost-1.70.0/boost/concept/detail/general.hpp: In instantiation of 'static void boost::concepts::requirement::failed() [with Model = boost::concepts::usage_requirements >]': src/third_party/boost-1.70.0/boost/concept_check.hpp:233:5: required from 'struct boost::EqualityComparable' src/third_party/boost-1.70.0/boost/iterator/iterator_concepts.hpp:129:3: required from 'struct boost_concepts::SinglePassIterator' src/third_party/boost-1.70.0/boost/iterator/iterator_concepts.hpp:141:3: required from 'struct boost_concepts::ForwardTraversal' src/third_party/boost-1.70.0/boost/iterator/iterator_concepts.hpp:141:3: required from 'struct boost_concepts::ForwardTraversalConcept' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of 'template boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, boost::concepts::detail::wrap_constraints*) [with Model = boost_concepts::ForwardTraversalConcept]' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:42:5: required from 'const bool boost::concepts::not_satisfied >::value' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:45:51: required from 'struct boost::concepts::not_satisfied >' src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:51:8: required from 'struct boost::concepts::requirement_)>' src/third_party/boost-1.70.0/boost/spirit/home/qi/parse.hpp:35:9: required from 'bool boost::spirit::qi::parse(Iterator&, Iterator, const Expr&, Attr&) [with Iterator = const wchar_t*; Expr = boost::spirit::terminal; Attr = unsigned int]' src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:84:30: required from 'boost::log::v2s_mt_posix::aux::format_description boost::log::v2s_mt_posix::aux::parse_format(const CharT*, const CharT*) [with CharT = wchar_t]' src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:144:84: required from here src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:39:47: warning: 'this' pointer is null [-Wnonnull] 39 | static void failed() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ In file included from src/third_party/boost-1.70.0/boost/concept_check.hpp:31, from src/third_party/boost-1.70.0/boost/range/concepts.hpp:19, from src/third_party/boost-1.70.0/boost/range/size_type.hpp:20, from src/third_party/boost-1.70.0/boost/range/size.hpp:21, from src/third_party/boost-1.70.0/boost/proto/functional/range/size.hpp:12, from src/third_party/boost-1.70.0/boost/proto/functional/range.hpp:17, from src/third_party/boost-1.70.0/boost/proto/functional.hpp:14, from src/third_party/boost-1.70.0/boost/proto/proto.hpp:16, from src/third_party/boost-1.70.0/boost/spirit/home/support/meta_compiler.hpp:19, from src/third_party/boost-1.70.0/boost/spirit/home/qi/domain.hpp:15, from src/third_party/boost-1.70.0/boost/spirit/home/qi/detail/enable_lit.hpp:13, from src/third_party/boost-1.70.0/boost/spirit/home/qi/numeric/uint.hpp:17, from src/third_party/boost-1.70.0/boost/spirit/include/qi_uint.hpp:16, from src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:23: src/third_party/boost-1.70.0/boost/concept/usage.hpp:16:5: note: in a call to non-static member function 'boost::concepts::usage_requirements::~usage_requirements() [with Model = boost::EqualityComparable]' 16 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from src/third_party/boost-1.70.0/boost/concept/assert.hpp:35, from src/third_party/boost-1.70.0/boost/concept_check.hpp:20, from src/third_party/boost-1.70.0/boost/range/concepts.hpp:19, from src/third_party/boost-1.70.0/boost/range/size_type.hpp:20, from src/third_party/boost-1.70.0/boost/range/size.hpp:21, from src/third_party/boost-1.70.0/boost/proto/functional/range/size.hpp:12, from src/third_party/boost-1.70.0/boost/proto/functional/range.hpp:17, from src/third_party/boost-1.70.0/boost/proto/functional.hpp:14, from src/third_party/boost-1.70.0/boost/proto/proto.hpp:16, from src/third_party/boost-1.70.0/boost/spirit/home/support/meta_compiler.hpp:19, from src/third_party/boost-1.70.0/boost/spirit/home/qi/domain.hpp:15, from src/third_party/boost-1.70.0/boost/spirit/home/qi/detail/enable_lit.hpp:13, from src/third_party/boost-1.70.0/boost/spirit/home/qi/numeric/uint.hpp:17, from src/third_party/boost-1.70.0/boost/spirit/include/qi_uint.hpp:16, from src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:23: src/third_party/boost-1.70.0/boost/concept/detail/general.hpp: In instantiation of 'static void boost::concepts::requirement::failed() [with Model = boost::concepts::usage_requirements >]': src/third_party/boost-1.70.0/boost/concept_check.hpp:137:5: required from 'struct boost::DefaultConstructible' src/third_party/boost-1.70.0/boost/iterator/iterator_concepts.hpp:141:3: required from 'struct boost_concepts::ForwardTraversal' src/third_party/boost-1.70.0/boost/iterator/iterator_concepts.hpp:141:3: required from 'struct boost_concepts::ForwardTraversalConcept' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of 'template boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, boost::concepts::detail::wrap_constraints*) [with Model = boost_concepts::ForwardTraversalConcept]' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:42:5: required from 'const bool boost::concepts::not_satisfied >::value' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:45:51: required from 'struct boost::concepts::not_satisfied >' src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:51:8: required from 'struct boost::concepts::requirement_)>' src/third_party/boost-1.70.0/boost/spirit/home/qi/parse.hpp:35:9: required from 'bool boost::spirit::qi::parse(Iterator&, Iterator, const Expr&, Attr&) [with Iterator = const wchar_t*; Expr = boost::spirit::terminal; Attr = unsigned int]' src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:84:30: required from 'boost::log::v2s_mt_posix::aux::format_description boost::log::v2s_mt_posix::aux::parse_format(const CharT*, const CharT*) [with CharT = wchar_t]' src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:144:84: required from here src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:39:47: warning: 'this' pointer is null [-Wnonnull] 39 | static void failed() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ In file included from src/third_party/boost-1.70.0/boost/concept_check.hpp:31, from src/third_party/boost-1.70.0/boost/range/concepts.hpp:19, from src/third_party/boost-1.70.0/boost/range/size_type.hpp:20, from src/third_party/boost-1.70.0/boost/range/size.hpp:21, from src/third_party/boost-1.70.0/boost/proto/functional/range/size.hpp:12, from src/third_party/boost-1.70.0/boost/proto/functional/range.hpp:17, from src/third_party/boost-1.70.0/boost/proto/functional.hpp:14, from src/third_party/boost-1.70.0/boost/proto/proto.hpp:16, from src/third_party/boost-1.70.0/boost/spirit/home/support/meta_compiler.hpp:19, from src/third_party/boost-1.70.0/boost/spirit/home/qi/domain.hpp:15, from src/third_party/boost-1.70.0/boost/spirit/home/qi/detail/enable_lit.hpp:13, from src/third_party/boost-1.70.0/boost/spirit/home/qi/numeric/uint.hpp:17, from src/third_party/boost-1.70.0/boost/spirit/include/qi_uint.hpp:16, from src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:23: src/third_party/boost-1.70.0/boost/concept/usage.hpp:16:5: note: in a call to non-static member function 'boost::concepts::usage_requirements::~usage_requirements() [with Model = boost::DefaultConstructible]' 16 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from src/third_party/boost-1.70.0/boost/concept/assert.hpp:35, from src/third_party/boost-1.70.0/boost/concept_check.hpp:20, from src/third_party/boost-1.70.0/boost/range/concepts.hpp:19, from src/third_party/boost-1.70.0/boost/range/size_type.hpp:20, from src/third_party/boost-1.70.0/boost/range/size.hpp:21, from src/third_party/boost-1.70.0/boost/proto/functional/range/size.hpp:12, from src/third_party/boost-1.70.0/boost/proto/functional/range.hpp:17, from src/third_party/boost-1.70.0/boost/proto/functional.hpp:14, from src/third_party/boost-1.70.0/boost/proto/proto.hpp:16, from src/third_party/boost-1.70.0/boost/spirit/home/support/meta_compiler.hpp:19, from src/third_party/boost-1.70.0/boost/spirit/home/qi/domain.hpp:15, from src/third_party/boost-1.70.0/boost/spirit/home/qi/detail/enable_lit.hpp:13, from src/third_party/boost-1.70.0/boost/spirit/home/qi/numeric/uint.hpp:17, from src/third_party/boost-1.70.0/boost/spirit/include/qi_uint.hpp:16, from src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:23: src/third_party/boost-1.70.0/boost/concept/detail/general.hpp: In instantiation of 'static void boost::concepts::requirement::failed() [with Model = boost_concepts::ForwardTraversalConcept]': src/third_party/boost-1.70.0/boost/spirit/home/qi/parse.hpp:35:9: required from 'bool boost::spirit::qi::parse(Iterator&, Iterator, const Expr&, Attr&) [with Iterator = const wchar_t*; Expr = boost::spirit::terminal; Attr = unsigned int]' src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:84:30: required from 'boost::log::v2s_mt_posix::aux::format_description boost::log::v2s_mt_posix::aux::parse_format(const CharT*, const CharT*) [with CharT = wchar_t]' src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:144:84: required from here src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:39:47: warning: 'this' pointer is null [-Wnonnull] 39 | static void failed() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ In file included from src/third_party/boost-1.70.0/boost/preprocessor/control/while.hpp:17, from src/third_party/boost-1.70.0/boost/preprocessor/arithmetic/add.hpp:20, from src/third_party/boost-1.70.0/boost/phoenix/core/limits.hpp:12, from src/third_party/boost-1.70.0/boost/spirit/include/phoenix_limits.hpp:11, from src/third_party/boost-1.70.0/boost/spirit/home/support/meta_compiler.hpp:16, from src/third_party/boost-1.70.0/boost/spirit/home/qi/domain.hpp:15, from src/third_party/boost-1.70.0/boost/spirit/home/qi/detail/enable_lit.hpp:13, from src/third_party/boost-1.70.0/boost/spirit/home/qi/numeric/uint.hpp:17, from src/third_party/boost-1.70.0/boost/spirit/include/qi_uint.hpp:16, from src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:23: src/third_party/boost-1.70.0/boost/iterator/iterator_concepts.hpp:141:17: note: in a call to non-static member function 'boost_concepts::ForwardTraversalConcept::~ForwardTraversalConcept()' 141 | BOOST_concept(ForwardTraversal,(Iterator)) | ^~~~~~~~~~~~~~~~ src/third_party/boost-1.70.0/boost/preprocessor/cat.hpp:29:34: note: in definition of macro 'BOOST_PP_CAT_I' 29 | # define BOOST_PP_CAT_I(a, b) a ## b | ^ src/third_party/boost-1.70.0/boost/concept/detail/concept_def.hpp:23:12: note: in expansion of macro 'BOOST_PP_CAT' 23 | struct BOOST_PP_CAT(name,Concept) \ | ^~~~~~~~~~~~ src/third_party/boost-1.70.0/boost/iterator/iterator_concepts.hpp:141:3: note: in expansion of macro 'BOOST_concept' 141 | BOOST_concept(ForwardTraversal,(Iterator)) | ^~~~~~~~~~~~~ In file included from src/third_party/boost-1.70.0/boost/concept_check.hpp:31, from src/third_party/boost-1.70.0/boost/range/concepts.hpp:19, from src/third_party/boost-1.70.0/boost/range/size_type.hpp:20, from src/third_party/boost-1.70.0/boost/range/size.hpp:21, from src/third_party/boost-1.70.0/boost/proto/functional/range/size.hpp:12, from src/third_party/boost-1.70.0/boost/proto/functional/range.hpp:17, from src/third_party/boost-1.70.0/boost/proto/functional.hpp:14, from src/third_party/boost-1.70.0/boost/proto/proto.hpp:16, from src/third_party/boost-1.70.0/boost/spirit/home/support/meta_compiler.hpp:19, from src/third_party/boost-1.70.0/boost/spirit/home/qi/domain.hpp:15, from src/third_party/boost-1.70.0/boost/spirit/home/qi/detail/enable_lit.hpp:13, from src/third_party/boost-1.70.0/boost/spirit/home/qi/numeric/uint.hpp:17, from src/third_party/boost-1.70.0/boost/spirit/include/qi_uint.hpp:16, from src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:23: src/third_party/boost-1.70.0/boost/concept/usage.hpp: In instantiation of 'boost::concepts::usage_requirements::~usage_requirements() [with Model = boost::Assignable]': src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:39:47: required from 'static void boost::concepts::requirement::failed() [with Model = boost::concepts::usage_requirements >]' src/third_party/boost-1.70.0/boost/concept_check.hpp:145:5: required from 'struct boost::Assignable' src/third_party/boost-1.70.0/boost/iterator/iterator_concepts.hpp:40:3: required from 'struct boost_concepts::ReadableIterator' src/third_party/boost-1.70.0/boost/iterator/iterator_concepts.hpp:40:3: required from 'struct boost_concepts::ReadableIteratorConcept' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of 'template boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, boost::concepts::detail::wrap_constraints*) [with Model = boost_concepts::ReadableIteratorConcept]' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:42:5: required from 'const bool boost::concepts::not_satisfied >::value' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:45:51: required from 'struct boost::concepts::not_satisfied >' src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:51:8: required from 'struct boost::concepts::requirement_)>' src/third_party/boost-1.70.0/boost/spirit/home/qi/parse.hpp:34:9: required from 'bool boost::spirit::qi::parse(Iterator&, Iterator, const Expr&, Attr&) [with Iterator = const char*; Expr = boost::spirit::terminal; Attr = unsigned int]' src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:84:30: required from 'boost::log::v2s_mt_posix::aux::format_description boost::log::v2s_mt_posix::aux::parse_format(const CharT*, const CharT*) [with CharT = char]' src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:137:75: required from here src/third_party/boost-1.70.0/boost/concept/usage.hpp:16:48: warning: 'this' pointer is null [-Wnonnull] 16 | ~usage_requirements() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ src/third_party/boost-1.70.0/boost/concept/usage.hpp:30:7: note: in a call to non-static member function 'boost::Assignable::~Assignable() [with TT = const char*]' 30 | ~model() | ^ src/third_party/boost-1.70.0/boost/concept_check.hpp:145:5: note: in expansion of macro 'BOOST_CONCEPT_USAGE' 145 | BOOST_CONCEPT_USAGE(Assignable) { | ^~~~~~~~~~~~~~~~~~~ src/third_party/boost-1.70.0/boost/concept/usage.hpp: In instantiation of 'boost::concepts::usage_requirements::~usage_requirements() [with Model = boost::CopyConstructible]': src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:39:47: required from 'static void boost::concepts::requirement::failed() [with Model = boost::concepts::usage_requirements >]' src/third_party/boost-1.70.0/boost/concept_check.hpp:167:5: required from 'struct boost::CopyConstructible' src/third_party/boost-1.70.0/boost/iterator/iterator_concepts.hpp:40:3: required from 'struct boost_concepts::ReadableIterator' src/third_party/boost-1.70.0/boost/iterator/iterator_concepts.hpp:40:3: required from 'struct boost_concepts::ReadableIteratorConcept' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of 'template boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, boost::concepts::detail::wrap_constraints*) [with Model = boost_concepts::ReadableIteratorConcept]' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:42:5: required from 'const bool boost::concepts::not_satisfied >::value' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:45:51: required from 'struct boost::concepts::not_satisfied >' src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:51:8: required from 'struct boost::concepts::requirement_)>' src/third_party/boost-1.70.0/boost/spirit/home/qi/parse.hpp:34:9: required from 'bool boost::spirit::qi::parse(Iterator&, Iterator, const Expr&, Attr&) [with Iterator = const char*; Expr = boost::spirit::terminal; Attr = unsigned int]' src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:84:30: required from 'boost::log::v2s_mt_posix::aux::format_description boost::log::v2s_mt_posix::aux::parse_format(const CharT*, const CharT*) [with CharT = char]' src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:137:75: required from here src/third_party/boost-1.70.0/boost/concept/usage.hpp:16:48: warning: 'this' pointer is null [-Wnonnull] 16 | ~usage_requirements() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ src/third_party/boost-1.70.0/boost/concept/usage.hpp:30:7: note: in a call to non-static member function 'boost::CopyConstructible::~CopyConstructible() [with TT = const char*]' 30 | ~model() | ^ src/third_party/boost-1.70.0/boost/concept_check.hpp:167:5: note: in expansion of macro 'BOOST_CONCEPT_USAGE' 167 | BOOST_CONCEPT_USAGE(CopyConstructible) { | ^~~~~~~~~~~~~~~~~~~ src/third_party/boost-1.70.0/boost/concept/usage.hpp: In instantiation of 'boost::concepts::usage_requirements::~usage_requirements() [with Model = boost_concepts::ReadableIterator]': src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:39:47: required from 'static void boost::concepts::requirement::failed() [with Model = boost::concepts::usage_requirements >]' src/third_party/boost-1.70.0/boost/iterator/iterator_concepts.hpp:48:7: required from 'struct boost_concepts::ReadableIterator' src/third_party/boost-1.70.0/boost/iterator/iterator_concepts.hpp:40:3: required from 'struct boost_concepts::ReadableIteratorConcept' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of 'template boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, boost::concepts::detail::wrap_constraints*) [with Model = boost_concepts::ReadableIteratorConcept]' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:42:5: required from 'const bool boost::concepts::not_satisfied >::value' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:45:51: required from 'struct boost::concepts::not_satisfied >' src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:51:8: required from 'struct boost::concepts::requirement_)>' src/third_party/boost-1.70.0/boost/spirit/home/qi/parse.hpp:34:9: required from 'bool boost::spirit::qi::parse(Iterator&, Iterator, const Expr&, Attr&) [with Iterator = const char*; Expr = boost::spirit::terminal; Attr = unsigned int]' src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:84:30: required from 'boost::log::v2s_mt_posix::aux::format_description boost::log::v2s_mt_posix::aux::parse_format(const CharT*, const CharT*) [with CharT = char]' src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:137:75: required from here src/third_party/boost-1.70.0/boost/concept/usage.hpp:16:48: warning: 'this' pointer is null [-Wnonnull] 16 | ~usage_requirements() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ src/third_party/boost-1.70.0/boost/concept/usage.hpp:30:7: note: in a call to non-static member function 'boost_concepts::ReadableIterator::~ReadableIterator() [with Iterator = const char*]' 30 | ~model() | ^ src/third_party/boost-1.70.0/boost/iterator/iterator_concepts.hpp:48:7: note: in expansion of macro 'BOOST_CONCEPT_USAGE' 48 | BOOST_CONCEPT_USAGE(ReadableIterator) | ^~~~~~~~~~~~~~~~~~~ src/third_party/boost-1.70.0/boost/concept/usage.hpp: In instantiation of 'boost::concepts::usage_requirements::~usage_requirements() [with Model = boost::Convertible]': src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:39:47: required from 'static void boost::concepts::requirement::failed() [with Model = boost::concepts::usage_requirements >]' src/third_party/boost-1.70.0/boost/concept_check.hpp:208:5: required from 'struct boost::Convertible' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of 'template boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, boost::concepts::detail::wrap_constraints*) [with Model = boost::Convertible]' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:42:5: required from 'const bool boost::concepts::not_satisfied >::value' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:45:51: required from 'struct boost::concepts::not_satisfied >' src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:51:8: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:42:5: required from 'const bool boost::concepts::not_satisfied >::value' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:45:51: required from 'struct boost::concepts::not_satisfied >' src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:51:8: required from 'struct boost::concepts::requirement_)>' src/third_party/boost-1.70.0/boost/spirit/home/qi/parse.hpp:35:9: required from 'bool boost::spirit::qi::parse(Iterator&, Iterator, const Expr&, Attr&) [with Iterator = const char*; Expr = boost::spirit::terminal; Attr = unsigned int]' src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:84:30: required from 'boost::log::v2s_mt_posix::aux::format_description boost::log::v2s_mt_posix::aux::parse_format(const CharT*, const CharT*) [with CharT = char]' src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:137:75: required from here src/third_party/boost-1.70.0/boost/concept/usage.hpp:16:48: warning: 'this' pointer is null [-Wnonnull] 16 | ~usage_requirements() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ src/third_party/boost-1.70.0/boost/concept/usage.hpp:30:7: note: in a call to non-static member function 'boost::Convertible::~Convertible() [with X = boost::iterators::random_access_traversal_tag; Y = boost::iterators::incrementable_traversal_tag]' 30 | ~model() | ^ src/third_party/boost-1.70.0/boost/concept_check.hpp:208:5: note: in expansion of macro 'BOOST_CONCEPT_USAGE' 208 | BOOST_CONCEPT_USAGE(Convertible) { | ^~~~~~~~~~~~~~~~~~~ src/third_party/boost-1.70.0/boost/concept/usage.hpp: In instantiation of 'boost::concepts::usage_requirements::~usage_requirements() [with Model = boost_concepts::IncrementableIterator]': src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:39:47: required from 'static void boost::concepts::requirement::failed() [with Model = boost::concepts::usage_requirements >]' src/third_party/boost-1.70.0/boost/iterator/iterator_concepts.hpp:120:7: required from 'struct boost_concepts::IncrementableIterator' src/third_party/boost-1.70.0/boost/iterator/iterator_concepts.hpp:129:3: required from 'struct boost_concepts::SinglePassIterator' src/third_party/boost-1.70.0/boost/iterator/iterator_concepts.hpp:141:3: required from 'struct boost_concepts::ForwardTraversal' src/third_party/boost-1.70.0/boost/iterator/iterator_concepts.hpp:141:3: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:42:5: required from 'const bool boost::concepts::not_satisfied >::value' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:45:51: required from 'struct boost::concepts::not_satisfied >' src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:51:8: required from 'struct boost::concepts::requirement_)>' src/third_party/boost-1.70.0/boost/spirit/home/qi/parse.hpp:35:9: required from 'bool boost::spirit::qi::parse(Iterator&, Iterator, const Expr&, Attr&) [with Iterator = const char*; Expr = boost::spirit::terminal; Attr = unsigned int]' src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:84:30: required from 'boost::log::v2s_mt_posix::aux::format_description boost::log::v2s_mt_posix::aux::parse_format(const CharT*, const CharT*) [with CharT = char]' src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:137:75: required from here src/third_party/boost-1.70.0/boost/concept/usage.hpp:16:48: warning: 'this' pointer is null [-Wnonnull] 16 | ~usage_requirements() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ src/third_party/boost-1.70.0/boost/concept/usage.hpp:30:7: note: in a call to non-static member function 'boost_concepts::IncrementableIterator::~IncrementableIterator() [with Iterator = const char*]' 30 | ~model() | ^ src/third_party/boost-1.70.0/boost/iterator/iterator_concepts.hpp:120:7: note: in expansion of macro 'BOOST_CONCEPT_USAGE' 120 | BOOST_CONCEPT_USAGE(IncrementableIterator) | ^~~~~~~~~~~~~~~~~~~ src/third_party/boost-1.70.0/boost/concept/usage.hpp: In instantiation of 'boost::concepts::usage_requirements::~usage_requirements() [with Model = boost::EqualityComparable]': src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:39:47: required from 'static void boost::concepts::requirement::failed() [with Model = boost::concepts::usage_requirements >]' src/third_party/boost-1.70.0/boost/concept_check.hpp:233:5: required from 'struct boost::EqualityComparable' src/third_party/boost-1.70.0/boost/iterator/iterator_concepts.hpp:129:3: required from 'struct boost_concepts::SinglePassIterator' src/third_party/boost-1.70.0/boost/iterator/iterator_concepts.hpp:141:3: required from 'struct boost_concepts::ForwardTraversal' src/third_party/boost-1.70.0/boost/iterator/iterator_concepts.hpp:141:3: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:42:5: required from 'const bool boost::concepts::not_satisfied >::value' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:45:51: required from 'struct boost::concepts::not_satisfied >' src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:51:8: required from 'struct boost::concepts::requirement_)>' src/third_party/boost-1.70.0/boost/spirit/home/qi/parse.hpp:35:9: required from 'bool boost::spirit::qi::parse(Iterator&, Iterator, const Expr&, Attr&) [with Iterator = const char*; Expr = boost::spirit::terminal; Attr = unsigned int]' src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:84:30: required from 'boost::log::v2s_mt_posix::aux::format_description boost::log::v2s_mt_posix::aux::parse_format(const CharT*, const CharT*) [with CharT = char]' src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:137:75: required from here src/third_party/boost-1.70.0/boost/concept/usage.hpp:16:48: warning: 'this' pointer is null [-Wnonnull] 16 | ~usage_requirements() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ src/third_party/boost-1.70.0/boost/concept/usage.hpp:30:7: note: in a call to non-static member function 'boost::EqualityComparable::~EqualityComparable() [with TT = const char*]' 30 | ~model() | ^ src/third_party/boost-1.70.0/boost/concept_check.hpp:233:5: note: in expansion of macro 'BOOST_CONCEPT_USAGE' 233 | BOOST_CONCEPT_USAGE(EqualityComparable) { | ^~~~~~~~~~~~~~~~~~~ src/third_party/boost-1.70.0/boost/concept/usage.hpp: In instantiation of 'boost::concepts::usage_requirements::~usage_requirements() [with Model = boost::Convertible]': src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:39:47: required from 'static void boost::concepts::requirement::failed() [with Model = boost::concepts::usage_requirements >]' src/third_party/boost-1.70.0/boost/concept_check.hpp:208:5: required from 'struct boost::Convertible' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of 'template boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, boost::concepts::detail::wrap_constraints*) [with Model = boost::Convertible]' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:42:5: required from 'const bool boost::concepts::not_satisfied >::value' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:45:51: required from 'struct boost::concepts::not_satisfied >' src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:51:8: [ skipping 5 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:42:5: required from 'const bool boost::concepts::not_satisfied >::value' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:45:51: required from 'struct boost::concepts::not_satisfied >' src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:51:8: required from 'struct boost::concepts::requirement_)>' src/third_party/boost-1.70.0/boost/spirit/home/qi/parse.hpp:35:9: required from 'bool boost::spirit::qi::parse(Iterator&, Iterator, const Expr&, Attr&) [with Iterator = const char*; Expr = boost::spirit::terminal; Attr = unsigned int]' src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:84:30: required from 'boost::log::v2s_mt_posix::aux::format_description boost::log::v2s_mt_posix::aux::parse_format(const CharT*, const CharT*) [with CharT = char]' src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:137:75: required from here src/third_party/boost-1.70.0/boost/concept/usage.hpp:16:48: warning: 'this' pointer is null [-Wnonnull] 16 | ~usage_requirements() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ src/third_party/boost-1.70.0/boost/concept/usage.hpp:30:7: note: in a call to non-static member function 'boost::Convertible::~Convertible() [with X = boost::iterators::random_access_traversal_tag; Y = boost::iterators::single_pass_traversal_tag]' 30 | ~model() | ^ src/third_party/boost-1.70.0/boost/concept_check.hpp:208:5: note: in expansion of macro 'BOOST_CONCEPT_USAGE' 208 | BOOST_CONCEPT_USAGE(Convertible) { | ^~~~~~~~~~~~~~~~~~~ src/third_party/boost-1.70.0/boost/concept/usage.hpp: In instantiation of 'boost::concepts::usage_requirements::~usage_requirements() [with Model = boost::DefaultConstructible]': src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:39:47: required from 'static void boost::concepts::requirement::failed() [with Model = boost::concepts::usage_requirements >]' src/third_party/boost-1.70.0/boost/concept_check.hpp:137:5: required from 'struct boost::DefaultConstructible' src/third_party/boost-1.70.0/boost/iterator/iterator_concepts.hpp:141:3: required from 'struct boost_concepts::ForwardTraversal' src/third_party/boost-1.70.0/boost/iterator/iterator_concepts.hpp:141:3: required from 'struct boost_concepts::ForwardTraversalConcept' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of 'template boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, boost::concepts::detail::wrap_constraints*) [with Model = boost_concepts::ForwardTraversalConcept]' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:42:5: required from 'const bool boost::concepts::not_satisfied >::value' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:45:51: required from 'struct boost::concepts::not_satisfied >' src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:51:8: required from 'struct boost::concepts::requirement_)>' src/third_party/boost-1.70.0/boost/spirit/home/qi/parse.hpp:35:9: required from 'bool boost::spirit::qi::parse(Iterator&, Iterator, const Expr&, Attr&) [with Iterator = const char*; Expr = boost::spirit::terminal; Attr = unsigned int]' src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:84:30: required from 'boost::log::v2s_mt_posix::aux::format_description boost::log::v2s_mt_posix::aux::parse_format(const CharT*, const CharT*) [with CharT = char]' src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:137:75: required from here src/third_party/boost-1.70.0/boost/concept/usage.hpp:16:48: warning: 'this' pointer is null [-Wnonnull] 16 | ~usage_requirements() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ src/third_party/boost-1.70.0/boost/concept/usage.hpp:30:7: note: in a call to non-static member function 'boost::DefaultConstructible::~DefaultConstructible() [with TT = const char*]' 30 | ~model() | ^ src/third_party/boost-1.70.0/boost/concept_check.hpp:137:5: note: in expansion of macro 'BOOST_CONCEPT_USAGE' 137 | BOOST_CONCEPT_USAGE(DefaultConstructible) { | ^~~~~~~~~~~~~~~~~~~ src/third_party/boost-1.70.0/boost/concept/usage.hpp: In instantiation of 'boost::concepts::usage_requirements::~usage_requirements() [with Model = boost::Convertible]': src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:39:47: required from 'static void boost::concepts::requirement::failed() [with Model = boost::concepts::usage_requirements >]' src/third_party/boost-1.70.0/boost/concept_check.hpp:208:5: required from 'struct boost::Convertible' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of 'template boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, boost::concepts::detail::wrap_constraints*) [with Model = boost::Convertible]' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:42:5: required from 'const bool boost::concepts::not_satisfied >::value' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:45:51: required from 'struct boost::concepts::not_satisfied >' src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:51:8: [ skipping 4 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:42:5: required from 'const bool boost::concepts::not_satisfied >::value' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:45:51: required from 'struct boost::concepts::not_satisfied >' src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:51:8: required from 'struct boost::concepts::requirement_)>' src/third_party/boost-1.70.0/boost/spirit/home/qi/parse.hpp:35:9: required from 'bool boost::spirit::qi::parse(Iterator&, Iterator, const Expr&, Attr&) [with Iterator = const char*; Expr = boost::spirit::terminal; Attr = unsigned int]' src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:84:30: required from 'boost::log::v2s_mt_posix::aux::format_description boost::log::v2s_mt_posix::aux::parse_format(const CharT*, const CharT*) [with CharT = char]' src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:137:75: required from here src/third_party/boost-1.70.0/boost/concept/usage.hpp:16:48: warning: 'this' pointer is null [-Wnonnull] 16 | ~usage_requirements() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ src/third_party/boost-1.70.0/boost/concept/usage.hpp:30:7: note: in a call to non-static member function 'boost::Convertible::~Convertible() [with X = boost::iterators::random_access_traversal_tag; Y = boost::iterators::forward_traversal_tag]' 30 | ~model() | ^ src/third_party/boost-1.70.0/boost/concept_check.hpp:208:5: note: in expansion of macro 'BOOST_CONCEPT_USAGE' 208 | BOOST_CONCEPT_USAGE(Convertible) { | ^~~~~~~~~~~~~~~~~~~ src/third_party/boost-1.70.0/boost/concept/usage.hpp: In instantiation of 'boost::concepts::usage_requirements::~usage_requirements() [with Model = boost::Assignable]': src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:39:47: required from 'static void boost::concepts::requirement::failed() [with Model = boost::concepts::usage_requirements >]' src/third_party/boost-1.70.0/boost/concept_check.hpp:145:5: required from 'struct boost::Assignable' src/third_party/boost-1.70.0/boost/iterator/iterator_concepts.hpp:40:3: required from 'struct boost_concepts::ReadableIterator' src/third_party/boost-1.70.0/boost/iterator/iterator_concepts.hpp:40:3: required from 'struct boost_concepts::ReadableIteratorConcept' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of 'template boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, boost::concepts::detail::wrap_constraints*) [with Model = boost_concepts::ReadableIteratorConcept]' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:42:5: required from 'const bool boost::concepts::not_satisfied >::value' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:45:51: required from 'struct boost::concepts::not_satisfied >' src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:51:8: required from 'struct boost::concepts::requirement_)>' src/third_party/boost-1.70.0/boost/spirit/home/qi/parse.hpp:34:9: required from 'bool boost::spirit::qi::parse(Iterator&, Iterator, const Expr&, Attr&) [with Iterator = const wchar_t*; Expr = boost::spirit::terminal; Attr = unsigned int]' src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:84:30: required from 'boost::log::v2s_mt_posix::aux::format_description boost::log::v2s_mt_posix::aux::parse_format(const CharT*, const CharT*) [with CharT = wchar_t]' src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:144:84: required from here src/third_party/boost-1.70.0/boost/concept/usage.hpp:16:48: warning: 'this' pointer is null [-Wnonnull] 16 | ~usage_requirements() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ src/third_party/boost-1.70.0/boost/concept/usage.hpp:30:7: note: in a call to non-static member function 'boost::Assignable::~Assignable() [with TT = const wchar_t*]' 30 | ~model() | ^ src/third_party/boost-1.70.0/boost/concept_check.hpp:145:5: note: in expansion of macro 'BOOST_CONCEPT_USAGE' 145 | BOOST_CONCEPT_USAGE(Assignable) { | ^~~~~~~~~~~~~~~~~~~ src/third_party/boost-1.70.0/boost/concept/usage.hpp: In instantiation of 'boost::concepts::usage_requirements::~usage_requirements() [with Model = boost::CopyConstructible]': src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:39:47: required from 'static void boost::concepts::requirement::failed() [with Model = boost::concepts::usage_requirements >]' src/third_party/boost-1.70.0/boost/concept_check.hpp:167:5: required from 'struct boost::CopyConstructible' src/third_party/boost-1.70.0/boost/iterator/iterator_concepts.hpp:40:3: required from 'struct boost_concepts::ReadableIterator' src/third_party/boost-1.70.0/boost/iterator/iterator_concepts.hpp:40:3: required from 'struct boost_concepts::ReadableIteratorConcept' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of 'template boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, boost::concepts::detail::wrap_constraints*) [with Model = boost_concepts::ReadableIteratorConcept]' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:42:5: required from 'const bool boost::concepts::not_satisfied >::value' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:45:51: required from 'struct boost::concepts::not_satisfied >' src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:51:8: required from 'struct boost::concepts::requirement_)>' src/third_party/boost-1.70.0/boost/spirit/home/qi/parse.hpp:34:9: required from 'bool boost::spirit::qi::parse(Iterator&, Iterator, const Expr&, Attr&) [with Iterator = const wchar_t*; Expr = boost::spirit::terminal; Attr = unsigned int]' src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:84:30: required from 'boost::log::v2s_mt_posix::aux::format_description boost::log::v2s_mt_posix::aux::parse_format(const CharT*, const CharT*) [with CharT = wchar_t]' src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:144:84: required from here src/third_party/boost-1.70.0/boost/concept/usage.hpp:16:48: warning: 'this' pointer is null [-Wnonnull] 16 | ~usage_requirements() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ src/third_party/boost-1.70.0/boost/concept/usage.hpp:30:7: note: in a call to non-static member function 'boost::CopyConstructible::~CopyConstructible() [with TT = const wchar_t*]' 30 | ~model() | ^ src/third_party/boost-1.70.0/boost/concept_check.hpp:167:5: note: in expansion of macro 'BOOST_CONCEPT_USAGE' 167 | BOOST_CONCEPT_USAGE(CopyConstructible) { | ^~~~~~~~~~~~~~~~~~~ src/third_party/boost-1.70.0/boost/concept/usage.hpp: In instantiation of 'boost::concepts::usage_requirements::~usage_requirements() [with Model = boost_concepts::ReadableIterator]': src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:39:47: required from 'static void boost::concepts::requirement::failed() [with Model = boost::concepts::usage_requirements >]' src/third_party/boost-1.70.0/boost/iterator/iterator_concepts.hpp:48:7: required from 'struct boost_concepts::ReadableIterator' src/third_party/boost-1.70.0/boost/iterator/iterator_concepts.hpp:40:3: required from 'struct boost_concepts::ReadableIteratorConcept' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of 'template boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, boost::concepts::detail::wrap_constraints*) [with Model = boost_concepts::ReadableIteratorConcept]' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:42:5: required from 'const bool boost::concepts::not_satisfied >::value' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:45:51: required from 'struct boost::concepts::not_satisfied >' src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:51:8: required from 'struct boost::concepts::requirement_)>' src/third_party/boost-1.70.0/boost/spirit/home/qi/parse.hpp:34:9: required from 'bool boost::spirit::qi::parse(Iterator&, Iterator, const Expr&, Attr&) [with Iterator = const wchar_t*; Expr = boost::spirit::terminal; Attr = unsigned int]' src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:84:30: required from 'boost::log::v2s_mt_posix::aux::format_description boost::log::v2s_mt_posix::aux::parse_format(const CharT*, const CharT*) [with CharT = wchar_t]' src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:144:84: required from here src/third_party/boost-1.70.0/boost/concept/usage.hpp:16:48: warning: 'this' pointer is null [-Wnonnull] 16 | ~usage_requirements() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ src/third_party/boost-1.70.0/boost/concept/usage.hpp:30:7: note: in a call to non-static member function 'boost_concepts::ReadableIterator::~ReadableIterator() [with Iterator = const wchar_t*]' 30 | ~model() | ^ src/third_party/boost-1.70.0/boost/iterator/iterator_concepts.hpp:48:7: note: in expansion of macro 'BOOST_CONCEPT_USAGE' 48 | BOOST_CONCEPT_USAGE(ReadableIterator) | ^~~~~~~~~~~~~~~~~~~ src/third_party/boost-1.70.0/boost/concept/usage.hpp: In instantiation of 'boost::concepts::usage_requirements::~usage_requirements() [with Model = boost_concepts::IncrementableIterator]': src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:39:47: required from 'static void boost::concepts::requirement::failed() [with Model = boost::concepts::usage_requirements >]' src/third_party/boost-1.70.0/boost/iterator/iterator_concepts.hpp:120:7: required from 'struct boost_concepts::IncrementableIterator' src/third_party/boost-1.70.0/boost/iterator/iterator_concepts.hpp:129:3: required from 'struct boost_concepts::SinglePassIterator' src/third_party/boost-1.70.0/boost/iterator/iterator_concepts.hpp:141:3: required from 'struct boost_concepts::ForwardTraversal' src/third_party/boost-1.70.0/boost/iterator/iterator_concepts.hpp:141:3: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:42:5: required from 'const bool boost::concepts::not_satisfied >::value' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:45:51: required from 'struct boost::concepts::not_satisfied >' src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:51:8: required from 'struct boost::concepts::requirement_)>' src/third_party/boost-1.70.0/boost/spirit/home/qi/parse.hpp:35:9: required from 'bool boost::spirit::qi::parse(Iterator&, Iterator, const Expr&, Attr&) [with Iterator = const wchar_t*; Expr = boost::spirit::terminal; Attr = unsigned int]' src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:84:30: required from 'boost::log::v2s_mt_posix::aux::format_description boost::log::v2s_mt_posix::aux::parse_format(const CharT*, const CharT*) [with CharT = wchar_t]' src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:144:84: required from here src/third_party/boost-1.70.0/boost/concept/usage.hpp:16:48: warning: 'this' pointer is null [-Wnonnull] 16 | ~usage_requirements() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ src/third_party/boost-1.70.0/boost/concept/usage.hpp:30:7: note: in a call to non-static member function 'boost_concepts::IncrementableIterator::~IncrementableIterator() [with Iterator = const wchar_t*]' 30 | ~model() | ^ src/third_party/boost-1.70.0/boost/iterator/iterator_concepts.hpp:120:7: note: in expansion of macro 'BOOST_CONCEPT_USAGE' 120 | BOOST_CONCEPT_USAGE(IncrementableIterator) | ^~~~~~~~~~~~~~~~~~~ src/third_party/boost-1.70.0/boost/concept/usage.hpp: In instantiation of 'boost::concepts::usage_requirements::~usage_requirements() [with Model = boost::EqualityComparable]': src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:39:47: required from 'static void boost::concepts::requirement::failed() [with Model = boost::concepts::usage_requirements >]' src/third_party/boost-1.70.0/boost/concept_check.hpp:233:5: required from 'struct boost::EqualityComparable' src/third_party/boost-1.70.0/boost/iterator/iterator_concepts.hpp:129:3: required from 'struct boost_concepts::SinglePassIterator' src/third_party/boost-1.70.0/boost/iterator/iterator_concepts.hpp:141:3: required from 'struct boost_concepts::ForwardTraversal' src/third_party/boost-1.70.0/boost/iterator/iterator_concepts.hpp:141:3: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:42:5: required from 'const bool boost::concepts::not_satisfied >::value' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:45:51: required from 'struct boost::concepts::not_satisfied >' src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:51:8: required from 'struct boost::concepts::requirement_)>' src/third_party/boost-1.70.0/boost/spirit/home/qi/parse.hpp:35:9: required from 'bool boost::spirit::qi::parse(Iterator&, Iterator, const Expr&, Attr&) [with Iterator = const wchar_t*; Expr = boost::spirit::terminal; Attr = unsigned int]' src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:84:30: required from 'boost::log::v2s_mt_posix::aux::format_description boost::log::v2s_mt_posix::aux::parse_format(const CharT*, const CharT*) [with CharT = wchar_t]' src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:144:84: required from here src/third_party/boost-1.70.0/boost/concept/usage.hpp:16:48: warning: 'this' pointer is null [-Wnonnull] 16 | ~usage_requirements() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ src/third_party/boost-1.70.0/boost/concept/usage.hpp:30:7: note: in a call to non-static member function 'boost::EqualityComparable::~EqualityComparable() [with TT = const wchar_t*]' 30 | ~model() | ^ src/third_party/boost-1.70.0/boost/concept_check.hpp:233:5: note: in expansion of macro 'BOOST_CONCEPT_USAGE' 233 | BOOST_CONCEPT_USAGE(EqualityComparable) { | ^~~~~~~~~~~~~~~~~~~ src/third_party/boost-1.70.0/boost/concept/usage.hpp: In instantiation of 'boost::concepts::usage_requirements::~usage_requirements() [with Model = boost::DefaultConstructible]': src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:39:47: required from 'static void boost::concepts::requirement::failed() [with Model = boost::concepts::usage_requirements >]' src/third_party/boost-1.70.0/boost/concept_check.hpp:137:5: required from 'struct boost::DefaultConstructible' src/third_party/boost-1.70.0/boost/iterator/iterator_concepts.hpp:141:3: required from 'struct boost_concepts::ForwardTraversal' src/third_party/boost-1.70.0/boost/iterator/iterator_concepts.hpp:141:3: required from 'struct boost_concepts::ForwardTraversalConcept' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of 'template boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, boost::concepts::detail::wrap_constraints*) [with Model = boost_concepts::ForwardTraversalConcept]' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:42:5: required from 'const bool boost::concepts::not_satisfied >::value' src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:45:51: required from 'struct boost::concepts::not_satisfied >' src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:51:8: required from 'struct boost::concepts::requirement_)>' src/third_party/boost-1.70.0/boost/spirit/home/qi/parse.hpp:35:9: required from 'bool boost::spirit::qi::parse(Iterator&, Iterator, const Expr&, Attr&) [with Iterator = const wchar_t*; Expr = boost::spirit::terminal; Attr = unsigned int]' src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:84:30: required from 'boost::log::v2s_mt_posix::aux::format_description boost::log::v2s_mt_posix::aux::parse_format(const CharT*, const CharT*) [with CharT = wchar_t]' src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp:144:84: required from here src/third_party/boost-1.70.0/boost/concept/usage.hpp:16:48: warning: 'this' pointer is null [-Wnonnull] 16 | ~usage_requirements() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ src/third_party/boost-1.70.0/boost/concept/usage.hpp:30:7: note: in a call to non-static member function 'boost::DefaultConstructible::~DefaultConstructible() [with TT = const wchar_t*]' 30 | ~model() | ^ src/third_party/boost-1.70.0/boost/concept_check.hpp:137:5: note: in expansion of macro 'BOOST_CONCEPT_USAGE' 137 | BOOST_CONCEPT_USAGE(DefaultConstructible) { | ^~~~~~~~~~~~~~~~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:32, from src/mongo/db/matcher/extensions_callback.h:33, from src/mongo/db/matcher/extensions_callback_noop.h:32, from src/mongo/db/query/canonical_query.h:36, from src/mongo/db/query/explain.h:34, from src/mongo/db/commands.h:47, from build/opt/mongo/client/hedging_mode_gen.cpp:16: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:201:25: warning: redundant move in return statement [-Wredundant-move] 201 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:201:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:223:25: warning: redundant move in return statement [-Wredundant-move] 223 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:223:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:245:25: warning: redundant move in return statement [-Wredundant-move] 245 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:245:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:267:25: warning: redundant move in return statement [-Wredundant-move] 267 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:267:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:289:25: warning: redundant move in return statement [-Wredundant-move] 289 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:289:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:308:25: warning: redundant move in return statement [-Wredundant-move] 308 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:308:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:352:25: warning: redundant move in return statement [-Wredundant-move] 352 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:352:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:395:25: warning: redundant move in return statement [-Wredundant-move] 395 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:395:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:579:25: warning: redundant move in return statement [-Wredundant-move] 579 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:579:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:600:25: warning: redundant move in return statement [-Wredundant-move] 600 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:600:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:621:25: warning: redundant move in return statement [-Wredundant-move] 621 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:621:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:642:25: warning: redundant move in return statement [-Wredundant-move] 642 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:642:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:38, from src/mongo/db/matcher/copyable_match_expression.h:32, from src/mongo/db/query/projection_ast.h:33, from src/mongo/db/query/projection.h:33, from src/mongo/db/query/canonical_query.h:38, from src/mongo/db/query/explain.h:34, from src/mongo/db/commands.h:47, from build/opt/mongo/client/hedging_mode_gen.cpp:16: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:39, from src/mongo/db/matcher/copyable_match_expression.h:32, from src/mongo/db/query/projection_ast.h:33, from src/mongo/db/query/projection.h:33, from src/mongo/db/query/canonical_query.h:38, from src/mongo/db/query/explain.h:34, from src/mongo/db/commands.h:47, from build/opt/mongo/client/hedging_mode_gen.cpp:16: src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr mongo::InternalSchemaBinDataSubTypeExpression::shallowClone() const': src/mongo/db/matcher/expression_type.h:196:25: warning: redundant move in return statement [-Wredundant-move] 196 | return std::move(expr); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_type.h:196:25: note: remove 'std::move' call g++ -o build/opt/mongo/client/read_preference.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/pcre -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -Ibuild/opt -Isrc src/mongo/client/read_preference.cpp g++ -o build/opt/mongo/client/read_preference_gen.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/pcre -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -Ibuild/opt -Isrc build/opt/mongo/client/read_preference_gen.cpp gcc -o build/opt/third_party/zstandard-1.4.3/zstd/lib/decompress/huf_decompress.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/pcre -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Ibuild/opt/third_party/zstandard-1.4.3/zstd/lib/common -Isrc/third_party/zstandard-1.4.3/zstd/lib/common -Isrc/third_party/zstandard-1.4.3/zstd/lib src/third_party/zstandard-1.4.3/zstd/lib/decompress/huf_decompress.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/opt/mongo/db/catalog/create_collection.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/pcre -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -Ibuild/opt -Isrc src/mongo/db/catalog/create_collection.cpp src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr mongo::TypeMatchExpressionBase::shallowClone() const [with T = mongo::InternalSchemaBinDataEncryptedTypeExpression]': src/mongo/db/matcher/expression_type.h:69:38: required from here src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move] 74 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:74:30: note: remove 'std::move' call src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr mongo::TypeMatchExpressionBase::shallowClone() const [with T = mongo::InternalSchemaTypeExpression]': src/mongo/db/matcher/expression_type.h:69:38: required from here src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:74:30: note: remove 'std::move' call src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr mongo::TypeMatchExpressionBase::shallowClone() const [with T = mongo::TypeMatchExpression]': src/mongo/db/matcher/expression_type.h:69:38: required from here src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:74:30: note: remove 'std::move' call In file included from src/mongo/db/pipeline/expression_context.h:44, from src/mongo/db/exec/plan_stage.h:37, from src/mongo/db/query/explain.h:32, from src/mongo/db/commands.h:47, from build/opt/mongo/client/read_preference_gen.cpp:16: src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)': src/mongo/db/pipeline/aggregation_request.h:90:25: warning: redundant move in return statement [-Wredundant-move] 90 | return std::move(pipeline); | ~~~~~~~~~^~~~~~~~~~ src/mongo/db/pipeline/aggregation_request.h:90:25: note: remove 'std::move' call Generating build/opt/mongo/db/query/count_command_gen.cpp g++ -o build/opt/mongo/db/dbhelpers.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/pcre -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -Ibuild/opt -Isrc src/mongo/db/dbhelpers.cpp In file included from src/mongo/db/matcher/expression_text_base.h:32, from src/mongo/db/matcher/extensions_callback.h:33, from src/mongo/db/matcher/extensions_callback_noop.h:32, from src/mongo/db/query/canonical_query.h:36, from src/mongo/db/query/explain.h:34, from src/mongo/db/commands.h:47, from build/opt/mongo/client/read_preference_gen.cpp:16: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:201:25: warning: redundant move in return statement [-Wredundant-move] 201 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:201:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:223:25: warning: redundant move in return statement [-Wredundant-move] 223 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:223:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:245:25: warning: redundant move in return statement [-Wredundant-move] 245 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:245:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:267:25: warning: redundant move in return statement [-Wredundant-move] 267 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:267:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:289:25: warning: redundant move in return statement [-Wredundant-move] 289 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:289:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:308:25: warning: redundant move in return statement [-Wredundant-move] 308 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:308:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:352:25: warning: redundant move in return statement [-Wredundant-move] 352 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:352:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:395:25: warning: redundant move in return statement [-Wredundant-move] 395 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:395:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:579:25: warning: redundant move in return statement [-Wredundant-move] 579 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:579:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:600:25: warning: redundant move in return statement [-Wredundant-move] 600 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:600:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:621:25: warning: redundant move in return statement [-Wredundant-move] 621 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:621:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:642:25: warning: redundant move in return statement [-Wredundant-move] 642 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:642:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:38, from src/mongo/db/matcher/copyable_match_expression.h:32, from src/mongo/db/query/projection_ast.h:33, from src/mongo/db/query/projection.h:33, from src/mongo/db/query/canonical_query.h:38, from src/mongo/db/query/explain.h:34, from src/mongo/db/commands.h:47, from build/opt/mongo/client/read_preference_gen.cpp:16: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:39, from src/mongo/db/matcher/copyable_match_expression.h:32, from src/mongo/db/query/projection_ast.h:33, from src/mongo/db/query/projection.h:33, from src/mongo/db/query/canonical_query.h:38, from src/mongo/db/query/explain.h:34, from src/mongo/db/commands.h:47, from build/opt/mongo/client/read_preference_gen.cpp:16: src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr mongo::InternalSchemaBinDataSubTypeExpression::shallowClone() const': src/mongo/db/matcher/expression_type.h:196:25: warning: redundant move in return statement [-Wredundant-move] 196 | return std::move(expr); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_type.h:196:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_text_base.h:32, from src/mongo/db/matcher/extensions_callback.h:33, from src/mongo/db/matcher/extensions_callback_noop.h:32, from src/mongo/db/query/canonical_query.h:36, from src/mongo/db/query/plan_cache.h:36, from src/mongo/db/query/query_solution.h:40, from src/mongo/db/query/plan_executor.h:36, from src/mongo/db/catalog/collection.h:48, from src/mongo/db/catalog/collection_catalog.h:36, from src/mongo/db/catalog/create_collection.h:34, from src/mongo/db/catalog/create_collection.cpp:34: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:201:25: warning: redundant move in return statement [-Wredundant-move] 201 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:201:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:223:25: warning: redundant move in return statement [-Wredundant-move] 223 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:223:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:245:25: warning: redundant move in return statement [-Wredundant-move] 245 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:245:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:267:25: warning: redundant move in return statement [-Wredundant-move] 267 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:267:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:289:25: warning: redundant move in return statement [-Wredundant-move] 289 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:289:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:308:25: warning: redundant move in return statement [-Wredundant-move] 308 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:308:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:352:25: warning: redundant move in return statement [-Wredundant-move] 352 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:352:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:395:25: warning: redundant move in return statement [-Wredundant-move] 395 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:395:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:579:25: warning: redundant move in return statement [-Wredundant-move] 579 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:579:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:600:25: warning: redundant move in return statement [-Wredundant-move] 600 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:600:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:621:25: warning: redundant move in return statement [-Wredundant-move] 621 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:621:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:642:25: warning: redundant move in return statement [-Wredundant-move] 642 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:642:25: note: remove 'std::move' call In file included from src/mongo/db/pipeline/expression_context.h:44, from src/mongo/db/matcher/extensions_callback.h:35, from src/mongo/db/matcher/extensions_callback_noop.h:32, from src/mongo/db/query/canonical_query.h:36, from src/mongo/db/query/plan_cache.h:36, from src/mongo/db/query/query_solution.h:40, from src/mongo/db/query/plan_executor.h:36, from src/mongo/db/catalog/collection.h:48, from src/mongo/db/catalog/collection_catalog.h:36, from src/mongo/db/catalog/create_collection.h:34, from src/mongo/db/catalog/create_collection.cpp:34: src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)': src/mongo/db/pipeline/aggregation_request.h:90:25: warning: redundant move in return statement [-Wredundant-move] 90 | return std::move(pipeline); | ~~~~~~~~~^~~~~~~~~~ src/mongo/db/pipeline/aggregation_request.h:90:25: note: remove 'std::move' call g++ -o build/opt/mongo/logv2/log_tag.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/pcre -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/unwind/platform/linux_x86_64/install/include -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -Ibuild/opt -Isrc src/mongo/logv2/log_tag.cpp In file included from src/mongo/db/matcher/expression_parser.h:38, from src/mongo/db/matcher/copyable_match_expression.h:32, from src/mongo/db/query/projection_ast.h:33, from src/mongo/db/query/projection.h:33, from src/mongo/db/query/canonical_query.h:38, from src/mongo/db/query/plan_cache.h:36, from src/mongo/db/query/query_solution.h:40, from src/mongo/db/query/plan_executor.h:36, from src/mongo/db/catalog/collection.h:48, from src/mongo/db/catalog/collection_catalog.h:36, from src/mongo/db/catalog/create_collection.h:34, from src/mongo/db/catalog/create_collection.cpp:34: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:39, from src/mongo/db/matcher/copyable_match_expression.h:32, from src/mongo/db/query/projection_ast.h:33, from src/mongo/db/query/projection.h:33, from src/mongo/db/query/canonical_query.h:38, from src/mongo/db/query/plan_cache.h:36, from src/mongo/db/query/query_solution.h:40, from src/mongo/db/query/plan_executor.h:36, from src/mongo/db/catalog/collection.h:48, from src/mongo/db/catalog/collection_catalog.h:36, from src/mongo/db/catalog/create_collection.h:34, from src/mongo/db/catalog/create_collection.cpp:34: src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr mongo::InternalSchemaBinDataSubTypeExpression::shallowClone() const': src/mongo/db/matcher/expression_type.h:196:25: warning: redundant move in return statement [-Wredundant-move] 196 | return std::move(expr); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_type.h:196:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_text_base.h:32, from src/mongo/db/matcher/extensions_callback.h:33, from src/mongo/db/matcher/extensions_callback_noop.h:32, from src/mongo/db/query/canonical_query.h:36, from src/mongo/db/query/plan_cache.h:36, from src/mongo/db/query/query_solution.h:40, from src/mongo/db/query/plan_executor.h:36, from src/mongo/db/catalog/collection.h:48, from src/mongo/db/catalog_raii.h:33, from src/mongo/db/db_raii.h:34, from src/mongo/db/dbhelpers.cpp:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:201:25: warning: redundant move in return statement [-Wredundant-move] 201 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:201:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:223:25: warning: redundant move in return statement [-Wredundant-move] 223 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:223:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:245:25: warning: redundant move in return statement [-Wredundant-move] 245 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:245:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:267:25: warning: redundant move in return statement [-Wredundant-move] 267 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:267:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:289:25: warning: redundant move in return statement [-Wredundant-move] 289 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:289:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:308:25: warning: redundant move in return statement [-Wredundant-move] 308 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:308:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:352:25: warning: redundant move in return statement [-Wredundant-move] 352 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:352:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:395:25: warning: redundant move in return statement [-Wredundant-move] 395 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:395:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:579:25: warning: redundant move in return statement [-Wredundant-move] 579 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:579:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:600:25: warning: redundant move in return statement [-Wredundant-move] 600 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:600:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:621:25: warning: redundant move in return statement [-Wredundant-move] 621 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:621:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:642:25: warning: redundant move in return statement [-Wredundant-move] 642 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:642:25: note: remove 'std::move' call src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr mongo::TypeMatchExpressionBase::shallowClone() const [with T = mongo::InternalSchemaBinDataEncryptedTypeExpression]': src/mongo/db/matcher/expression_type.h:69:38: required from here src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move] 74 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:74:30: note: remove 'std::move' call src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr mongo::TypeMatchExpressionBase::shallowClone() const [with T = mongo::InternalSchemaTypeExpression]': src/mongo/db/matcher/expression_type.h:69:38: required from here src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:74:30: note: remove 'std::move' call src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr mongo::TypeMatchExpressionBase::shallowClone() const [with T = mongo::TypeMatchExpression]': src/mongo/db/matcher/expression_type.h:69:38: required from here src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:74:30: note: remove 'std::move' call In file included from src/mongo/db/pipeline/expression_context.h:44, from src/mongo/db/matcher/extensions_callback.h:35, from src/mongo/db/matcher/extensions_callback_noop.h:32, from src/mongo/db/query/canonical_query.h:36, from src/mongo/db/query/plan_cache.h:36, from src/mongo/db/query/query_solution.h:40, from src/mongo/db/query/plan_executor.h:36, from src/mongo/db/catalog/collection.h:48, from src/mongo/db/catalog_raii.h:33, from src/mongo/db/db_raii.h:34, from src/mongo/db/dbhelpers.cpp:36: src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)': src/mongo/db/pipeline/aggregation_request.h:90:25: warning: redundant move in return statement [-Wredundant-move] 90 | return std::move(pipeline); | ~~~~~~~~~^~~~~~~~~~ src/mongo/db/pipeline/aggregation_request.h:90:25: note: remove 'std::move' call gcc -o build/opt/third_party/wiredtiger/src/btree/bt_handle.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/pcre -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Isrc/third_party/zstandard-1.4.3/zstd/lib -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/btree/bt_handle.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C In file included from src/mongo/db/matcher/expression_parser.h:38, from src/mongo/db/matcher/copyable_match_expression.h:32, from src/mongo/db/query/projection_ast.h:33, from src/mongo/db/query/projection.h:33, from src/mongo/db/query/canonical_query.h:38, from src/mongo/db/query/plan_cache.h:36, from src/mongo/db/query/query_solution.h:40, from src/mongo/db/query/plan_executor.h:36, from src/mongo/db/catalog/collection.h:48, from src/mongo/db/catalog_raii.h:33, from src/mongo/db/db_raii.h:34, from src/mongo/db/dbhelpers.cpp:36: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:39, from src/mongo/db/matcher/copyable_match_expression.h:32, from src/mongo/db/query/projection_ast.h:33, from src/mongo/db/query/projection.h:33, from src/mongo/db/query/canonical_query.h:38, from src/mongo/db/query/plan_cache.h:36, from src/mongo/db/query/query_solution.h:40, from src/mongo/db/query/plan_executor.h:36, from src/mongo/db/catalog/collection.h:48, from src/mongo/db/catalog_raii.h:33, from src/mongo/db/db_raii.h:34, from src/mongo/db/dbhelpers.cpp:36: src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr mongo::InternalSchemaBinDataSubTypeExpression::shallowClone() const': src/mongo/db/matcher/expression_type.h:196:25: warning: redundant move in return statement [-Wredundant-move] 196 | return std::move(expr); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_type.h:196:25: note: remove 'std::move' call g++ -o build/opt/mongo/db/ops/single_write_result_gen.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/pcre -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -Ibuild/opt -Isrc build/opt/mongo/db/ops/single_write_result_gen.cpp ar rcsTD build/opt/mongo/client/libread_preference.a build/opt/mongo/client/read_preference.o build/opt/mongo/client/hedging_mode_gen.o build/opt/mongo/client/read_preference_gen.o Skipping ranlib for thin archive build/opt/mongo/client/libread_preference.a g++ -o build/opt/third_party/icu4c-57.1/source/common/unistr_case_locale.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -pipe -frecord-gcc-switches -g -O2 -flto=auto -I/usr/include/pcre -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/unistr_case_locale.cpp Generating build/opt/mongo/s/request_types/balancer_collection_status_gen.cpp g++ -o build/opt/mongo/db/s/balancer/balancer.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/pcre -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -Ibuild/opt -Isrc src/mongo/db/s/balancer/balancer.cpp In file included from src/mongo/db/pipeline/expression_context.h:44, from src/mongo/db/exec/plan_stage.h:37, from src/mongo/db/query/explain.h:32, from src/mongo/db/commands.h:47, from build/opt/mongo/db/ops/single_write_result_gen.cpp:16: src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)': src/mongo/db/pipeline/aggregation_request.h:90:25: warning: redundant move in return statement [-Wredundant-move] 90 | return std::move(pipeline); | ~~~~~~~~~^~~~~~~~~~ src/mongo/db/pipeline/aggregation_request.h:90:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_text_base.h:32, from src/mongo/db/matcher/extensions_callback.h:33, from src/mongo/db/matcher/extensions_callback_noop.h:32, from src/mongo/db/query/canonical_query.h:36, from src/mongo/db/query/explain.h:34, from src/mongo/db/commands.h:47, from build/opt/mongo/db/ops/single_write_result_gen.cpp:16: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:201:25: warning: redundant move in return statement [-Wredundant-move] 201 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:201:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:223:25: warning: redundant move in return statement [-Wredundant-move] 223 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:223:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:245:25: warning: redundant move in return statement [-Wredundant-move] 245 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:245:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:267:25: warning: redundant move in return statement [-Wredundant-move] 267 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:267:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:289:25: warning: redundant move in return statement [-Wredundant-move] 289 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:289:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:308:25: warning: redundant move in return statement [-Wredundant-move] 308 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:308:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:352:25: warning: redundant move in return statement [-Wredundant-move] 352 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:352:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:395:25: warning: redundant move in return statement [-Wredundant-move] 395 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:395:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:579:25: warning: redundant move in return statement [-Wredundant-move] 579 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:579:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:600:25: warning: redundant move in return statement [-Wredundant-move] 600 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:600:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:621:25: warning: redundant move in return statement [-Wredundant-move] 621 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:621:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:642:25: warning: redundant move in return statement [-Wredundant-move] 642 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:642:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:38, from src/mongo/db/matcher/copyable_match_expression.h:32, from src/mongo/db/query/projection_ast.h:33, from src/mongo/db/query/projection.h:33, from src/mongo/db/query/canonical_query.h:38, from src/mongo/db/query/explain.h:34, from src/mongo/db/commands.h:47, from build/opt/mongo/db/ops/single_write_result_gen.cpp:16: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:39, from src/mongo/db/matcher/copyable_match_expression.h:32, from src/mongo/db/query/projection_ast.h:33, from src/mongo/db/query/projection.h:33, from src/mongo/db/query/canonical_query.h:38, from src/mongo/db/query/explain.h:34, from src/mongo/db/commands.h:47, from build/opt/mongo/db/ops/single_write_result_gen.cpp:16: src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr mongo::InternalSchemaBinDataSubTypeExpression::shallowClone() const': src/mongo/db/matcher/expression_type.h:196:25: warning: redundant move in return statement [-Wredundant-move] 196 | return std::move(expr); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_type.h:196:25: note: remove 'std::move' call src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr mongo::TypeMatchExpressionBase::shallowClone() const [with T = mongo::InternalSchemaBinDataEncryptedTypeExpression]': src/mongo/db/matcher/expression_type.h:69:38: required from here src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move] 74 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:74:30: note: remove 'std::move' call src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr mongo::TypeMatchExpressionBase::shallowClone() const [with T = mongo::InternalSchemaTypeExpression]': src/mongo/db/matcher/expression_type.h:69:38: required from here src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:74:30: note: remove 'std::move' call src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr mongo::TypeMatchExpressionBase::shallowClone() const [with T = mongo::TypeMatchExpression]': src/mongo/db/matcher/expression_type.h:69:38: required from here src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:74:30: note: remove 'std::move' call src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr mongo::TypeMatchExpressionBase::shallowClone() const [with T = mongo::InternalSchemaBinDataEncryptedTypeExpression]': src/mongo/db/matcher/expression_type.h:69:38: required from here src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move] 74 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:74:30: note: remove 'std::move' call src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr mongo::TypeMatchExpressionBase::shallowClone() const [with T = mongo::InternalSchemaTypeExpression]': src/mongo/db/matcher/expression_type.h:69:38: required from here src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:74:30: note: remove 'std::move' call src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr mongo::TypeMatchExpressionBase::shallowClone() const [with T = mongo::TypeMatchExpression]': src/mongo/db/matcher/expression_type.h:69:38: required from here src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:74:30: note: remove 'std::move' call src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr mongo::TypeMatchExpressionBase::shallowClone() const [with T = mongo::InternalSchemaBinDataEncryptedTypeExpression]': src/mongo/db/matcher/expression_type.h:69:38: required from here src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move] 74 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:74:30: note: remove 'std::move' call src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr mongo::TypeMatchExpressionBase::shallowClone() const [with T = mongo::InternalSchemaTypeExpression]': src/mongo/db/matcher/expression_type.h:69:38: required from here src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:74:30: note: remove 'std::move' call src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr mongo::TypeMatchExpressionBase::shallowClone() const [with T = mongo::TypeMatchExpression]': src/mongo/db/matcher/expression_type.h:69:38: required from here src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:74:30: note: remove 'std::move' call g++ -o build/opt/mongo/s/catalog/type_tags.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/pcre -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -Ibuild/opt -Isrc src/mongo/s/catalog/type_tags.cpp g++ -o build/opt/mongo/db/catalog/index_key_validate.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/pcre -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -Ibuild/opt -Isrc src/mongo/db/catalog/index_key_validate.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/format.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -pipe -frecord-gcc-switches -g -O2 -flto=auto -I/usr/include/pcre -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/format.cpp g++ -o build/opt/mongo/db/pipeline/document_source_lookup.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/pcre -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -Ibuild/opt -Isrc src/mongo/db/pipeline/document_source_lookup.cpp g++ -o build/opt/mongo/util/options_parser/options_parser_init.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/pcre -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -Ibuild/opt -Isrc src/mongo/util/options_parser/options_parser_init.cpp In file included from src/mongo/db/pipeline/expression_context.h:44, from src/mongo/db/exec/projection_executor.h:38, from src/mongo/db/exec/wildcard_projection.h:30, from src/mongo/db/index/wildcard_key_generator.h:32, from src/mongo/db/catalog/index_key_validate.cpp:45: src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)': src/mongo/db/pipeline/aggregation_request.h:90:25: warning: redundant move in return statement [-Wredundant-move] 90 | return std::move(pipeline); | ~~~~~~~~~^~~~~~~~~~ src/mongo/db/pipeline/aggregation_request.h:90:25: note: remove 'std::move' call gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_log.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/pcre -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_log.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/opt/mongo/db/s/migration_chunk_cloner_source.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/pcre -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -Ibuild/opt -Isrc src/mongo/db/s/migration_chunk_cloner_source.cpp In file included from src/mongo/db/matcher/expression_text_base.h:32, from src/mongo/db/matcher/extensions_callback.h:33, from src/mongo/db/matcher/extensions_callback_noop.h:32, from src/mongo/db/query/canonical_query.h:36, from src/mongo/db/query/explain.h:34, from src/mongo/db/commands.h:47, from src/mongo/db/pipeline/document_source.h:45, from src/mongo/db/pipeline/transformer_interface.h:34, from src/mongo/db/exec/projection_executor.h:40, from src/mongo/db/exec/wildcard_projection.h:30, from src/mongo/db/index/wildcard_key_generator.h:32, from src/mongo/db/catalog/index_key_validate.cpp:45: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:201:25: warning: redundant move in return statement [-Wredundant-move] 201 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:201:25: note: remove 'std::move' call In file included from src/mongo/db/pipeline/expression_context.h:44, from src/mongo/db/exec/plan_stage.h:37, from src/mongo/db/query/explain.h:32, from src/mongo/db/commands.h:47, from src/mongo/db/pipeline/document_source.h:45, from src/mongo/db/pipeline/document_source_lookup.h:35, from src/mongo/db/pipeline/document_source_lookup.cpp:32: src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)': src/mongo/db/pipeline/aggregation_request.h:90:25: warning: redundant move in return statement [-Wredundant-move] 90 | return std::move(pipeline); | ~~~~~~~~~^~~~~~~~~~ src/mongo/db/pipeline/aggregation_request.h:90:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:223:25: warning: redundant move in return statement [-Wredundant-move] 223 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:223:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:245:25: warning: redundant move in return statement [-Wredundant-move] 245 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:245:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:267:25: warning: redundant move in return statement [-Wredundant-move] 267 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:267:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:289:25: warning: redundant move in return statement [-Wredundant-move] 289 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:289:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:308:25: warning: redundant move in return statement [-Wredundant-move] 308 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:308:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:352:25: warning: redundant move in return statement [-Wredundant-move] 352 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:352:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:395:25: warning: redundant move in return statement [-Wredundant-move] 395 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:395:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:579:25: warning: redundant move in return statement [-Wredundant-move] 579 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:579:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:600:25: warning: redundant move in return statement [-Wredundant-move] 600 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:600:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:621:25: warning: redundant move in return statement [-Wredundant-move] 621 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:621:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:642:25: warning: redundant move in return statement [-Wredundant-move] 642 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:642:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:38, from src/mongo/db/matcher/copyable_match_expression.h:32, from src/mongo/db/query/projection_ast.h:33, from src/mongo/db/query/projection.h:33, from src/mongo/db/query/canonical_query.h:38, from src/mongo/db/query/explain.h:34, from src/mongo/db/commands.h:47, from src/mongo/db/pipeline/document_source.h:45, from src/mongo/db/pipeline/transformer_interface.h:34, from src/mongo/db/exec/projection_executor.h:40, from src/mongo/db/exec/wildcard_projection.h:30, from src/mongo/db/index/wildcard_key_generator.h:32, from src/mongo/db/catalog/index_key_validate.cpp:45: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call ar rcsTD build/opt/mongo/util/options_parser/liboptions_parser_init.a build/opt/mongo/util/options_parser/options_parser_init.o src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call Skipping ranlib for thin archive build/opt/mongo/util/options_parser/liboptions_parser_init.a gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_atanh.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/pcre -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_atanh.c src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:39, from src/mongo/db/matcher/copyable_match_expression.h:32, from src/mongo/db/query/projection_ast.h:33, from src/mongo/db/query/projection.h:33, from src/mongo/db/query/canonical_query.h:38, from src/mongo/db/query/explain.h:34, from src/mongo/db/commands.h:47, from src/mongo/db/pipeline/document_source.h:45, from src/mongo/db/pipeline/transformer_interface.h:34, from src/mongo/db/exec/projection_executor.h:40, from src/mongo/db/exec/wildcard_projection.h:30, from src/mongo/db/index/wildcard_key_generator.h:32, from src/mongo/db/catalog/index_key_validate.cpp:45: src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr mongo::InternalSchemaBinDataSubTypeExpression::shallowClone() const': src/mongo/db/matcher/expression_type.h:196:25: warning: redundant move in return statement [-Wredundant-move] 196 | return std::move(expr); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_type.h:196:25: note: remove 'std::move' call g++ -o build/opt/third_party/icu4c-57.1/source/i18n/tmunit.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -pipe -frecord-gcc-switches -g -O2 -flto=auto -I/usr/include/pcre -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/tmunit.cpp g++ -o build/opt/mongo/util/summation.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/pcre -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -Ibuild/opt -Isrc src/mongo/util/summation.cpp In file included from src/mongo/db/matcher/expression_text_base.h:32, from src/mongo/db/matcher/extensions_callback.h:33, from src/mongo/db/matcher/extensions_callback_noop.h:32, from src/mongo/db/query/canonical_query.h:36, from src/mongo/db/query/explain.h:34, from src/mongo/db/commands.h:47, from src/mongo/db/pipeline/document_source.h:45, from src/mongo/db/pipeline/document_source_lookup.h:35, from src/mongo/db/pipeline/document_source_lookup.cpp:32: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:201:25: warning: redundant move in return statement [-Wredundant-move] 201 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:201:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:223:25: warning: redundant move in return statement [-Wredundant-move] 223 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:223:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:245:25: warning: redundant move in return statement [-Wredundant-move] 245 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:245:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:267:25: warning: redundant move in return statement [-Wredundant-move] 267 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:267:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:289:25: warning: redundant move in return statement [-Wredundant-move] 289 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:289:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:308:25: warning: redundant move in return statement [-Wredundant-move] 308 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:308:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:352:25: warning: redundant move in return statement [-Wredundant-move] 352 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:352:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:395:25: warning: redundant move in return statement [-Wredundant-move] 395 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:395:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:579:25: warning: redundant move in return statement [-Wredundant-move] 579 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:579:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:600:25: warning: redundant move in return statement [-Wredundant-move] 600 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:600:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:621:25: warning: redundant move in return statement [-Wredundant-move] 621 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:621:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:642:25: warning: redundant move in return statement [-Wredundant-move] 642 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:642:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:38, from src/mongo/db/matcher/copyable_match_expression.h:32, from src/mongo/db/query/projection_ast.h:33, from src/mongo/db/query/projection.h:33, from src/mongo/db/query/canonical_query.h:38, from src/mongo/db/query/explain.h:34, from src/mongo/db/commands.h:47, from src/mongo/db/pipeline/document_source.h:45, from src/mongo/db/pipeline/document_source_lookup.h:35, from src/mongo/db/pipeline/document_source_lookup.cpp:32: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:39, from src/mongo/db/matcher/copyable_match_expression.h:32, from src/mongo/db/query/projection_ast.h:33, from src/mongo/db/query/projection.h:33, from src/mongo/db/query/canonical_query.h:38, from src/mongo/db/query/explain.h:34, from src/mongo/db/commands.h:47, from src/mongo/db/pipeline/document_source.h:45, from src/mongo/db/pipeline/document_source_lookup.h:35, from src/mongo/db/pipeline/document_source_lookup.cpp:32: src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr mongo::InternalSchemaBinDataSubTypeExpression::shallowClone() const': src/mongo/db/matcher/expression_type.h:196:25: warning: redundant move in return statement [-Wredundant-move] 196 | return std::move(expr); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_type.h:196:25: note: remove 'std::move' call gcc -o build/opt/third_party/timelib-2018.01/parse_zoneinfo.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/pcre -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -DHAVE_GETTIMEOFDAY -DHAVE_STRING_H -DHAVE_DIRENT_H -DHAVE_SYS_TIME_H -DHAVE_UNISTD_H -D_GNU_SOURCE -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/timelib-2018.01 src/third_party/timelib-2018.01/parse_zoneinfo.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/opt/third_party/icu4c-57.1/source/common/uchriter.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -pipe -frecord-gcc-switches -g -O2 -flto=auto -I/usr/include/pcre -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/uchriter.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/currunit.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -pipe -frecord-gcc-switches -g -O2 -flto=auto -I/usr/include/pcre -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/currunit.cpp g++ -o build/opt/mongo/db/field_ref_set.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/pcre -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -Ibuild/opt -Isrc src/mongo/db/field_ref_set.cpp g++ -o build/opt/mongo/db/keypattern.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/pcre -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -Ibuild/opt -Isrc src/mongo/db/keypattern.cpp g++ -o build/opt/mongo/db/field_ref.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/pcre -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -Ibuild/opt -Isrc src/mongo/db/field_ref.cpp g++ -o build/opt/mongo/db/field_parser.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/pcre -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -Ibuild/opt -Isrc src/mongo/db/field_parser.cpp g++ -o build/opt/mongo/db/service_liaison_mongod.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/pcre -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -Ibuild/opt -Isrc src/mongo/db/service_liaison_mongod.cpp src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr mongo::TypeMatchExpressionBase::shallowClone() const [with T = mongo::InternalSchemaBinDataEncryptedTypeExpression]': src/mongo/db/matcher/expression_type.h:69:38: required from here src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move] 74 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:74:30: note: remove 'std::move' call src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr mongo::TypeMatchExpressionBase::shallowClone() const [with T = mongo::InternalSchemaTypeExpression]': src/mongo/db/matcher/expression_type.h:69:38: required from here src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:74:30: note: remove 'std::move' call src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr mongo::TypeMatchExpressionBase::shallowClone() const [with T = mongo::TypeMatchExpression]': src/mongo/db/matcher/expression_type.h:69:38: required from here src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:74:30: note: remove 'std::move' call src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr mongo::TypeMatchExpressionBase::shallowClone() const [with T = mongo::InternalSchemaBinDataEncryptedTypeExpression]': src/mongo/db/matcher/expression_type.h:69:38: required from here src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move] 74 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:74:30: note: remove 'std::move' call src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr mongo::TypeMatchExpressionBase::shallowClone() const [with T = mongo::InternalSchemaTypeExpression]': src/mongo/db/matcher/expression_type.h:69:38: required from here src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:74:30: note: remove 'std::move' call src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr mongo::TypeMatchExpressionBase::shallowClone() const [with T = mongo::TypeMatchExpression]': src/mongo/db/matcher/expression_type.h:69:38: required from here src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:74:30: note: remove 'std::move' call ar rcsTD build/opt/mongo/db/libcommon.a build/opt/mongo/db/field_ref.o build/opt/mongo/db/field_ref_set.o build/opt/mongo/db/field_parser.o build/opt/mongo/db/keypattern.o Skipping ranlib for thin archive build/opt/mongo/db/libcommon.a g++ -o build/opt/third_party/mozjs-60/platform/x86_64/linux/build/Unified_cpp_js_src21.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -pipe -frecord-gcc-switches -g -O2 -flto=auto -I/usr/include/pcre -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -fPIE -DWASM_HUGE_MEMORY=1 -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Ibuild/opt/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/opt/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/opt/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/opt/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/opt/third_party/mozjs-60/platform/x86_64/linux/build -Isrc/third_party/mozjs-60/platform/x86_64/linux/build -Ibuild/opt/third_party/mozjs-60/platform/x86_64/linux/include -Isrc/third_party/mozjs-60/platform/x86_64/linux/include src/third_party/mozjs-60/platform/x86_64/linux/build/Unified_cpp_js_src21.cpp In file included from src/mongo/db/matcher/expression_text_base.h:32, from src/mongo/db/matcher/extensions_callback.h:33, from src/mongo/db/matcher/extensions_callback_noop.h:32, from src/mongo/db/query/canonical_query.h:36, from src/mongo/db/query/plan_cache.h:36, from src/mongo/db/query/query_solution.h:40, from src/mongo/db/query/plan_executor.h:36, from src/mongo/db/clientcursor.h:40, from src/mongo/db/cursor_manager.h:35, from src/mongo/db/service_liaison_mongod.cpp:37: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:201:25: warning: redundant move in return statement [-Wredundant-move] 201 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:201:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:223:25: warning: redundant move in return statement [-Wredundant-move] 223 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:223:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:245:25: warning: redundant move in return statement [-Wredundant-move] 245 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:245:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:267:25: warning: redundant move in return statement [-Wredundant-move] 267 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:267:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:289:25: warning: redundant move in return statement [-Wredundant-move] 289 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:289:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:308:25: warning: redundant move in return statement [-Wredundant-move] 308 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:308:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:352:25: warning: redundant move in return statement [-Wredundant-move] 352 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:352:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:395:25: warning: redundant move in return statement [-Wredundant-move] 395 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:395:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:579:25: warning: redundant move in return statement [-Wredundant-move] 579 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:579:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:600:25: warning: redundant move in return statement [-Wredundant-move] 600 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:600:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:621:25: warning: redundant move in return statement [-Wredundant-move] 621 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:621:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:642:25: warning: redundant move in return statement [-Wredundant-move] 642 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:642:25: note: remove 'std::move' call In file included from src/mongo/db/pipeline/expression_context.h:44, from src/mongo/db/matcher/extensions_callback.h:35, from src/mongo/db/matcher/extensions_callback_noop.h:32, from src/mongo/db/query/canonical_query.h:36, from src/mongo/db/query/plan_cache.h:36, from src/mongo/db/query/query_solution.h:40, from src/mongo/db/query/plan_executor.h:36, from src/mongo/db/clientcursor.h:40, from src/mongo/db/cursor_manager.h:35, from src/mongo/db/service_liaison_mongod.cpp:37: src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)': src/mongo/db/pipeline/aggregation_request.h:90:25: warning: redundant move in return statement [-Wredundant-move] 90 | return std::move(pipeline); | ~~~~~~~~~^~~~~~~~~~ src/mongo/db/pipeline/aggregation_request.h:90:25: note: remove 'std::move' call Generating build/opt/mongo/s/request_types/shard_collection_gen.cpp g++ -o build/opt/mongo/db/s/config/configsvr_shard_collection_command.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/pcre -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -Ibuild/opt -Isrc src/mongo/db/s/config/configsvr_shard_collection_command.cpp In file included from src/mongo/db/matcher/expression_parser.h:38, from src/mongo/db/matcher/copyable_match_expression.h:32, from src/mongo/db/query/projection_ast.h:33, from src/mongo/db/query/projection.h:33, from src/mongo/db/query/canonical_query.h:38, from src/mongo/db/query/plan_cache.h:36, from src/mongo/db/query/query_solution.h:40, from src/mongo/db/query/plan_executor.h:36, from src/mongo/db/clientcursor.h:40, from src/mongo/db/cursor_manager.h:35, from src/mongo/db/service_liaison_mongod.cpp:37: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:39, from src/mongo/db/matcher/copyable_match_expression.h:32, from src/mongo/db/query/projection_ast.h:33, from src/mongo/db/query/projection.h:33, from src/mongo/db/query/canonical_query.h:38, from src/mongo/db/query/plan_cache.h:36, from src/mongo/db/query/query_solution.h:40, from src/mongo/db/query/plan_executor.h:36, from src/mongo/db/clientcursor.h:40, from src/mongo/db/cursor_manager.h:35, from src/mongo/db/service_liaison_mongod.cpp:37: src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr mongo::InternalSchemaBinDataSubTypeExpression::shallowClone() const': src/mongo/db/matcher/expression_type.h:196:25: warning: redundant move in return statement [-Wredundant-move] 196 | return std::move(expr); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_type.h:196:25: note: remove 'std::move' call g++ -o build/opt/third_party/mozjs-60/extract/mfbt/Compression.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -pipe -frecord-gcc-switches -g -O2 -flto=auto -I/usr/include/pcre -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -fPIE -DWASM_HUGE_MEMORY=1 -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Ibuild/opt/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/opt/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/opt/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/opt/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/opt/third_party/mozjs-60/platform/x86_64/linux/build -Isrc/third_party/mozjs-60/platform/x86_64/linux/build -Ibuild/opt/third_party/mozjs-60/platform/x86_64/linux/include -Isrc/third_party/mozjs-60/platform/x86_64/linux/include src/third_party/mozjs-60/extract/mfbt/Compression.cpp Generating build/opt/mongo/util/tcmalloc_parameters_gen.cpp g++ -o build/opt/mongo/util/tcmalloc_parameters_gen.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/pcre -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -Ibuild/opt -Isrc build/opt/mongo/util/tcmalloc_parameters_gen.cpp In file included from src/mongo/db/pipeline/expression_context.h:44, from src/mongo/db/exec/plan_stage.h:37, from src/mongo/db/query/explain.h:32, from src/mongo/db/commands.h:47, from src/mongo/db/s/config/configsvr_shard_collection_command.cpp:39: src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)': src/mongo/db/pipeline/aggregation_request.h:90:25: warning: redundant move in return statement [-Wredundant-move] 90 | return std::move(pipeline); | ~~~~~~~~~^~~~~~~~~~ src/mongo/db/pipeline/aggregation_request.h:90:25: note: remove 'std::move' call src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr mongo::TypeMatchExpressionBase::shallowClone() const [with T = mongo::InternalSchemaBinDataEncryptedTypeExpression]': src/mongo/db/matcher/expression_type.h:69:38: required from here src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move] 74 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:74:30: note: remove 'std::move' call src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr mongo::TypeMatchExpressionBase::shallowClone() const [with T = mongo::InternalSchemaTypeExpression]': src/mongo/db/matcher/expression_type.h:69:38: required from here src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:74:30: note: remove 'std::move' call src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr mongo::TypeMatchExpressionBase::shallowClone() const [with T = mongo::TypeMatchExpression]': src/mongo/db/matcher/expression_type.h:69:38: required from here src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:74:30: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_text_base.h:32, from src/mongo/db/matcher/extensions_callback.h:33, from src/mongo/db/matcher/extensions_callback_noop.h:32, from src/mongo/db/query/canonical_query.h:36, from src/mongo/db/query/explain.h:34, from src/mongo/db/commands.h:47, from src/mongo/db/s/config/configsvr_shard_collection_command.cpp:39: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:201:25: warning: redundant move in return statement [-Wredundant-move] 201 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:201:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:223:25: warning: redundant move in return statement [-Wredundant-move] 223 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:223:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:245:25: warning: redundant move in return statement [-Wredundant-move] 245 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:245:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:267:25: warning: redundant move in return statement [-Wredundant-move] 267 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:267:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:289:25: warning: redundant move in return statement [-Wredundant-move] 289 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:289:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:308:25: warning: redundant move in return statement [-Wredundant-move] 308 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:308:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:352:25: warning: redundant move in return statement [-Wredundant-move] 352 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:352:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:395:25: warning: redundant move in return statement [-Wredundant-move] 395 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:395:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:579:25: warning: redundant move in return statement [-Wredundant-move] 579 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:579:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:600:25: warning: redundant move in return statement [-Wredundant-move] 600 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:600:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:621:25: warning: redundant move in return statement [-Wredundant-move] 621 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:621:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:642:25: warning: redundant move in return statement [-Wredundant-move] 642 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:642:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:38, from src/mongo/db/matcher/copyable_match_expression.h:32, from src/mongo/db/query/projection_ast.h:33, from src/mongo/db/query/projection.h:33, from src/mongo/db/query/canonical_query.h:38, from src/mongo/db/query/explain.h:34, from src/mongo/db/commands.h:47, from src/mongo/db/s/config/configsvr_shard_collection_command.cpp:39: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:39, from src/mongo/db/matcher/copyable_match_expression.h:32, from src/mongo/db/query/projection_ast.h:33, from src/mongo/db/query/projection.h:33, from src/mongo/db/query/canonical_query.h:38, from src/mongo/db/query/explain.h:34, from src/mongo/db/commands.h:47, from src/mongo/db/s/config/configsvr_shard_collection_command.cpp:39: src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr mongo::InternalSchemaBinDataSubTypeExpression::shallowClone() const': src/mongo/db/matcher/expression_type.h:196:25: warning: redundant move in return statement [-Wredundant-move] 196 | return std::move(expr); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_type.h:196:25: note: remove 'std::move' call In file included from src/mongo/db/pipeline/expression_context.h:44, from src/mongo/db/exec/plan_stage.h:37, from src/mongo/db/query/explain.h:32, from src/mongo/db/commands.h:47, from build/opt/mongo/util/tcmalloc_parameters_gen.cpp:16: src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)': src/mongo/db/pipeline/aggregation_request.h:90:25: warning: redundant move in return statement [-Wredundant-move] 90 | return std::move(pipeline); | ~~~~~~~~~^~~~~~~~~~ src/mongo/db/pipeline/aggregation_request.h:90:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_text_base.h:32, from src/mongo/db/matcher/extensions_callback.h:33, from src/mongo/db/matcher/extensions_callback_noop.h:32, from src/mongo/db/query/canonical_query.h:36, from src/mongo/db/query/explain.h:34, from src/mongo/db/commands.h:47, from build/opt/mongo/util/tcmalloc_parameters_gen.cpp:16: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:201:25: warning: redundant move in return statement [-Wredundant-move] 201 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:201:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:223:25: warning: redundant move in return statement [-Wredundant-move] 223 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:223:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:245:25: warning: redundant move in return statement [-Wredundant-move] 245 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:245:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:267:25: warning: redundant move in return statement [-Wredundant-move] 267 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:267:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:289:25: warning: redundant move in return statement [-Wredundant-move] 289 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:289:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:308:25: warning: redundant move in return statement [-Wredundant-move] 308 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:308:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:352:25: warning: redundant move in return statement [-Wredundant-move] 352 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:352:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:395:25: warning: redundant move in return statement [-Wredundant-move] 395 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:395:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:579:25: warning: redundant move in return statement [-Wredundant-move] 579 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:579:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:600:25: warning: redundant move in return statement [-Wredundant-move] 600 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:600:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:621:25: warning: redundant move in return statement [-Wredundant-move] 621 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:621:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:642:25: warning: redundant move in return statement [-Wredundant-move] 642 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:642:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:38, from src/mongo/db/matcher/copyable_match_expression.h:32, from src/mongo/db/query/projection_ast.h:33, from src/mongo/db/query/projection.h:33, from src/mongo/db/query/canonical_query.h:38, from src/mongo/db/query/explain.h:34, from src/mongo/db/commands.h:47, from build/opt/mongo/util/tcmalloc_parameters_gen.cpp:16: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:39, from src/mongo/db/matcher/copyable_match_expression.h:32, from src/mongo/db/query/projection_ast.h:33, from src/mongo/db/query/projection.h:33, from src/mongo/db/query/canonical_query.h:38, from src/mongo/db/query/explain.h:34, from src/mongo/db/commands.h:47, from build/opt/mongo/util/tcmalloc_parameters_gen.cpp:16: src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr mongo::InternalSchemaBinDataSubTypeExpression::shallowClone() const': src/mongo/db/matcher/expression_type.h:196:25: warning: redundant move in return statement [-Wredundant-move] 196 | return std::move(expr); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_type.h:196:25: note: remove 'std::move' call In file included from src/third_party/mozjs-60/extract/js/src/vm/UnboxedObject-inl.h:14, from src/third_party/mozjs-60/extract/js/src/vm/Interpreter-inl.h:24, from src/third_party/mozjs-60/extract/js/src/jit/VMFunctions.cpp:25, from src/third_party/mozjs-60/platform/x86_64/linux/build/Unified_cpp_js_src21.cpp:47: src/third_party/mozjs-60/extract/js/src/vm/NativeObject-inl.h: In static member function 'static JS::Result js::NativeObject::create(JSContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleObjectGroup)': src/third_party/mozjs-60/extract/js/src/vm/NativeObject-inl.h:562:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] 562 | memset(nobj->as().fixedSlots(), 0, size - sizeof(js::NativeObject)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-60/extract/js/src/vm/JSObject.h:12, from src/third_party/mozjs-60/extract/js/src/builtin/AtomicsObject.h:14, from src/third_party/mozjs-60/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-60/extract/js/src/vm/JSContext.h:22, from src/third_party/mozjs-60/extract/js/src/jit/CompileWrappers.h:10, from src/third_party/mozjs-60/extract/js/src/jit/Ion.h:13, from src/third_party/mozjs-60/extract/js/src/jit/JitAllocPolicy.h:17, from src/third_party/mozjs-60/extract/js/src/jit/IonAnalysis.h:12, from src/third_party/mozjs-60/extract/js/src/jit/Sink.cpp:11, from src/third_party/mozjs-60/platform/x86_64/linux/build/Unified_cpp_js_src21.cpp:2: src/third_party/mozjs-60/extract/js/src/gc/Barrier.h:685:7: note: 'class js::HeapSlot' declared here 685 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ In file included from src/third_party/mozjs-60/extract/js/src/ds/LifoAlloc.h:15, from src/third_party/mozjs-60/extract/js/src/jit/JitAllocPolicy.h:15, from src/third_party/mozjs-60/extract/js/src/jit/IonAnalysis.h:12, from src/third_party/mozjs-60/extract/js/src/jit/Sink.cpp:11, from src/third_party/mozjs-60/platform/x86_64/linux/build/Unified_cpp_js_src21.cpp:2: src/third_party/mozjs-60/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': src/third_party/mozjs-60/include/js/MemoryMetrics.h:40:34: required from here src/third_party/mozjs-60/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-60/extract/js/src/gc/StoreBuffer.h:20, from src/third_party/mozjs-60/extract/js/src/gc/Barrier.h:13, from src/third_party/mozjs-60/extract/js/src/vm/JSObject.h:12, from src/third_party/mozjs-60/extract/js/src/builtin/AtomicsObject.h:14, from src/third_party/mozjs-60/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-60/extract/js/src/vm/JSContext.h:22, from src/third_party/mozjs-60/extract/js/src/jit/CompileWrappers.h:10, from src/third_party/mozjs-60/extract/js/src/jit/Ion.h:13, from src/third_party/mozjs-60/extract/js/src/jit/JitAllocPolicy.h:17, from src/third_party/mozjs-60/extract/js/src/jit/IonAnalysis.h:12, from src/third_party/mozjs-60/extract/js/src/jit/Sink.cpp:11, from src/third_party/mozjs-60/platform/x86_64/linux/build/Unified_cpp_js_src21.cpp:2: src/third_party/mozjs-60/include/js/MemoryMetrics.h:31:8: note: 'struct JS::TabSizes' declared here 31 | struct TabSizes | ^~~~~~~~ In file included from src/third_party/mozjs-60/extract/js/src/ds/LifoAlloc.h:15, from src/third_party/mozjs-60/extract/js/src/jit/JitAllocPolicy.h:15, from src/third_party/mozjs-60/extract/js/src/jit/IonAnalysis.h:12, from src/third_party/mozjs-60/extract/js/src/jit/Sink.cpp:11, from src/third_party/mozjs-60/platform/x86_64/linux/build/Unified_cpp_js_src21.cpp:2: src/third_party/mozjs-60/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::ServoSizes]': src/third_party/mozjs-60/include/js/MemoryMetrics.h:71:36: required from here src/third_party/mozjs-60/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::ServoSizes'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-60/extract/js/src/gc/StoreBuffer.h:20, from src/third_party/mozjs-60/extract/js/src/gc/Barrier.h:13, from src/third_party/mozjs-60/extract/js/src/vm/JSObject.h:12, from src/third_party/mozjs-60/extract/js/src/builtin/AtomicsObject.h:14, from src/third_party/mozjs-60/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-60/extract/js/src/vm/JSContext.h:22, from src/third_party/mozjs-60/extract/js/src/jit/CompileWrappers.h:10, from src/third_party/mozjs-60/extract/js/src/jit/Ion.h:13, from src/third_party/mozjs-60/extract/js/src/jit/JitAllocPolicy.h:17, from src/third_party/mozjs-60/extract/js/src/jit/IonAnalysis.h:12, from src/third_party/mozjs-60/extract/js/src/jit/Sink.cpp:11, from src/third_party/mozjs-60/platform/x86_64/linux/build/Unified_cpp_js_src21.cpp:2: src/third_party/mozjs-60/include/js/MemoryMetrics.h:59:8: note: 'struct JS::ServoSizes' declared here 59 | struct ServoSizes | ^~~~~~~~~~ In file included from src/third_party/mozjs-60/extract/js/src/ds/LifoAlloc.h:15, from src/third_party/mozjs-60/extract/js/src/jit/JitAllocPolicy.h:15, from src/third_party/mozjs-60/extract/js/src/jit/IonAnalysis.h:12, from src/third_party/mozjs-60/extract/js/src/jit/Sink.cpp:11, from src/third_party/mozjs-60/platform/x86_64/linux/build/Unified_cpp_js_src21.cpp:2: src/third_party/mozjs-60/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': src/third_party/mozjs-60/extract/js/src/vm/StringType.h:1290:25: required from here src/third_party/mozjs-60/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-60/extract/js/src/jit/IonTypes.h:18, from src/third_party/mozjs-60/extract/js/src/vm/TypeInference.h:20, from src/third_party/mozjs-60/extract/js/src/vm/ObjectGroup.h:18, from src/third_party/mozjs-60/extract/js/src/vm/Shape.h:31, from src/third_party/mozjs-60/extract/js/src/vm/JSObject.h:17, from src/third_party/mozjs-60/extract/js/src/builtin/AtomicsObject.h:14, from src/third_party/mozjs-60/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-60/extract/js/src/vm/JSContext.h:22, from src/third_party/mozjs-60/extract/js/src/jit/CompileWrappers.h:10, from src/third_party/mozjs-60/extract/js/src/jit/Ion.h:13, from src/third_party/mozjs-60/extract/js/src/jit/JitAllocPolicy.h:17, from src/third_party/mozjs-60/extract/js/src/jit/IonAnalysis.h:12, from src/third_party/mozjs-60/extract/js/src/jit/Sink.cpp:11, from src/third_party/mozjs-60/platform/x86_64/linux/build/Unified_cpp_js_src21.cpp:2: src/third_party/mozjs-60/extract/js/src/vm/StringType.h:1272:7: note: 'class js::StaticStrings' declared here 1272 | class StaticStrings | ^~~~~~~~~~~~~ In file included from src/third_party/mozjs-60/extract/js/src/ds/LifoAlloc.h:15, from src/third_party/mozjs-60/extract/js/src/jit/JitAllocPolicy.h:15, from src/third_party/mozjs-60/extract/js/src/jit/IonAnalysis.h:12, from src/third_party/mozjs-60/extract/js/src/jit/Sink.cpp:11, from src/third_party/mozjs-60/platform/x86_64/linux/build/Unified_cpp_js_src21.cpp:2: src/third_party/mozjs-60/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::PreliminaryObjectArray]': src/third_party/mozjs-60/extract/js/src/vm/TypeInference.h:914:25: required from here src/third_party/mozjs-60/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PreliminaryObjectArray'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-60/extract/js/src/vm/ObjectGroup.h:18, from src/third_party/mozjs-60/extract/js/src/vm/Shape.h:31, from src/third_party/mozjs-60/extract/js/src/vm/JSObject.h:17, from src/third_party/mozjs-60/extract/js/src/builtin/AtomicsObject.h:14, from src/third_party/mozjs-60/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-60/extract/js/src/vm/JSContext.h:22, from src/third_party/mozjs-60/extract/js/src/jit/CompileWrappers.h:10, from src/third_party/mozjs-60/extract/js/src/jit/Ion.h:13, from src/third_party/mozjs-60/extract/js/src/jit/JitAllocPolicy.h:17, from src/third_party/mozjs-60/extract/js/src/jit/IonAnalysis.h:12, from src/third_party/mozjs-60/extract/js/src/jit/Sink.cpp:11, from src/third_party/mozjs-60/platform/x86_64/linux/build/Unified_cpp_js_src21.cpp:2: src/third_party/mozjs-60/extract/js/src/vm/TypeInference.h:902:7: note: 'class js::PreliminaryObjectArray' declared here 902 | class PreliminaryObjectArray | ^~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-60/extract/js/src/ds/LifoAlloc.h:15, from src/third_party/mozjs-60/extract/js/src/jit/JitAllocPolicy.h:15, from src/third_party/mozjs-60/extract/js/src/jit/IonAnalysis.h:12, from src/third_party/mozjs-60/extract/js/src/jit/Sink.cpp:11, from src/third_party/mozjs-60/platform/x86_64/linux/build/Unified_cpp_js_src21.cpp:2: src/third_party/mozjs-60/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::TypeNewScript]': src/third_party/mozjs-60/extract/js/src/vm/TypeInference.h:1045:39: required from here src/third_party/mozjs-60/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::TypeNewScript' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-60/extract/js/src/vm/ObjectGroup.h:18, from src/third_party/mozjs-60/extract/js/src/vm/Shape.h:31, from src/third_party/mozjs-60/extract/js/src/vm/JSObject.h:17, from src/third_party/mozjs-60/extract/js/src/builtin/AtomicsObject.h:14, from src/third_party/mozjs-60/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-60/extract/js/src/vm/JSContext.h:22, from src/third_party/mozjs-60/extract/js/src/jit/CompileWrappers.h:10, from src/third_party/mozjs-60/extract/js/src/jit/Ion.h:13, from src/third_party/mozjs-60/extract/js/src/jit/JitAllocPolicy.h:17, from src/third_party/mozjs-60/extract/js/src/jit/IonAnalysis.h:12, from src/third_party/mozjs-60/extract/js/src/jit/Sink.cpp:11, from src/third_party/mozjs-60/platform/x86_64/linux/build/Unified_cpp_js_src21.cpp:2: src/third_party/mozjs-60/extract/js/src/vm/TypeInference.h:992:7: note: 'class js::TypeNewScript' declared here 992 | class TypeNewScript | ^~~~~~~~~~~~~ In file included from src/third_party/mozjs-60/extract/js/src/ds/LifoAlloc.h:15, from src/third_party/mozjs-60/extract/js/src/jit/JitAllocPolicy.h:15, from src/third_party/mozjs-60/extract/js/src/jit/IonAnalysis.h:12, from src/third_party/mozjs-60/extract/js/src/jit/Sink.cpp:11, from src/third_party/mozjs-60/platform/x86_64/linux/build/Unified_cpp_js_src21.cpp:2: src/third_party/mozjs-60/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': src/third_party/mozjs-60/extract/js/src/jit/IonCode.h:708:25: required from here src/third_party/mozjs-60/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-60/extract/js/src/jit/JSJitFrameIter.h:12, from src/third_party/mozjs-60/extract/js/src/vm/Stack.h:23, from src/third_party/mozjs-60/extract/js/src/frontend/NameCollections.h:13, from src/third_party/mozjs-60/extract/js/src/vm/Runtime.h:27, from src/third_party/mozjs-60/extract/js/src/vm/JSContext.h:22, from src/third_party/mozjs-60/extract/js/src/jit/CompileWrappers.h:10, from src/third_party/mozjs-60/extract/js/src/jit/Ion.h:13, from src/third_party/mozjs-60/extract/js/src/jit/JitAllocPolicy.h:17, from src/third_party/mozjs-60/extract/js/src/jit/IonAnalysis.h:12, from src/third_party/mozjs-60/extract/js/src/jit/Sink.cpp:11, from src/third_party/mozjs-60/platform/x86_64/linux/build/Unified_cpp_js_src21.cpp:2: src/third_party/mozjs-60/extract/js/src/jit/IonCode.h:695:8: note: 'struct js::jit::IonScriptCounts' declared here 695 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-60/extract/js/src/ds/LifoAlloc.h:15, from src/third_party/mozjs-60/extract/js/src/jit/JitAllocPolicy.h:15, from src/third_party/mozjs-60/extract/js/src/jit/IonAnalysis.h:12, from src/third_party/mozjs-60/extract/js/src/jit/Sink.cpp:11, from src/third_party/mozjs-60/platform/x86_64/linux/build/Unified_cpp_js_src21.cpp:2: src/third_party/mozjs-60/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::gcstats::ZoneGCStats]': src/third_party/mozjs-60/extract/js/src/gc/Statistics.h:80:25: required from here src/third_party/mozjs-60/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::gcstats::ZoneGCStats'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-60/extract/js/src/gc/GCRuntime.h:21, from src/third_party/mozjs-60/extract/js/src/vm/Runtime.h:28, from src/third_party/mozjs-60/extract/js/src/vm/JSContext.h:22, from src/third_party/mozjs-60/extract/js/src/jit/CompileWrappers.h:10, from src/third_party/mozjs-60/extract/js/src/jit/Ion.h:13, from src/third_party/mozjs-60/extract/js/src/jit/JitAllocPolicy.h:17, from src/third_party/mozjs-60/extract/js/src/jit/IonAnalysis.h:12, from src/third_party/mozjs-60/extract/js/src/jit/Sink.cpp:11, from src/third_party/mozjs-60/platform/x86_64/linux/build/Unified_cpp_js_src21.cpp:2: src/third_party/mozjs-60/extract/js/src/gc/Statistics.h:52:8: note: 'struct js::gcstats::ZoneGCStats' declared here 52 | struct ZoneGCStats | ^~~~~~~~~~~ In file included from src/third_party/mozjs-60/extract/js/src/ds/LifoAlloc.h:15, from src/third_party/mozjs-60/extract/js/src/jit/JitAllocPolicy.h:15, from src/third_party/mozjs-60/extract/js/src/jit/IonAnalysis.h:12, from src/third_party/mozjs-60/extract/js/src/jit/Sink.cpp:11, from src/third_party/mozjs-60/platform/x86_64/linux/build/Unified_cpp_js_src21.cpp:2: src/third_party/mozjs-60/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': src/third_party/mozjs-60/extract/js/src/vm/Caches.h:151:40: required from here src/third_party/mozjs-60/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-60/extract/js/src/gc/ZoneGroup.h:11, from src/third_party/mozjs-60/extract/js/src/vm/Runtime.h:30, from src/third_party/mozjs-60/extract/js/src/vm/JSContext.h:22, from src/third_party/mozjs-60/extract/js/src/jit/CompileWrappers.h:10, from src/third_party/mozjs-60/extract/js/src/jit/Ion.h:13, from src/third_party/mozjs-60/extract/js/src/jit/JitAllocPolicy.h:17, from src/third_party/mozjs-60/extract/js/src/jit/IonAnalysis.h:12, from src/third_party/mozjs-60/extract/js/src/jit/Sink.cpp:11, from src/third_party/mozjs-60/platform/x86_64/linux/build/Unified_cpp_js_src21.cpp:2: src/third_party/mozjs-60/extract/js/src/vm/Caches.h:102:7: note: 'class js::NewObjectCache' declared here 102 | class NewObjectCache | ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-60/extract/js/src/ds/LifoAlloc.h:15, from src/third_party/mozjs-60/extract/js/src/jit/JitAllocPolicy.h:15, from src/third_party/mozjs-60/extract/js/src/jit/IonAnalysis.h:12, from src/third_party/mozjs-60/extract/js/src/jit/Sink.cpp:11, from src/third_party/mozjs-60/platform/x86_64/linux/build/Unified_cpp_js_src21.cpp:2: src/third_party/mozjs-60/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*, size_t) [with T = JS::Value; size_t = long unsigned int]': src/third_party/mozjs-60/extract/js/src/vm/Runtime.h:1159:21: required from here src/third_party/mozjs-60/include/mozilla/PodOperations.h:46:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class JS::Value'; use assignment or value-initialization instead [-Wclass-memaccess] 46 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-60/extract/js/src/jsutil.h:25, from src/third_party/mozjs-60/extract/js/src/ds/LifoAlloc.h:24, from src/third_party/mozjs-60/extract/js/src/jit/JitAllocPolicy.h:15, from src/third_party/mozjs-60/extract/js/src/jit/IonAnalysis.h:12, from src/third_party/mozjs-60/extract/js/src/jit/Sink.cpp:11, from src/third_party/mozjs-60/platform/x86_64/linux/build/Unified_cpp_js_src21.cpp:2: src/third_party/mozjs-60/include/js/Value.h:324:32: note: 'class JS::Value' declared here 324 | class MOZ_NON_PARAM alignas(8) Value | ^~~~~ In file included from src/third_party/mozjs-60/extract/js/src/ds/LifoAlloc.h:15, from src/third_party/mozjs-60/extract/js/src/jit/JitAllocPolicy.h:15, from src/third_party/mozjs-60/extract/js/src/jit/IonAnalysis.h:12, from src/third_party/mozjs-60/extract/js/src/jit/Sink.cpp:11, from src/third_party/mozjs-60/platform/x86_64/linux/build/Unified_cpp_js_src21.cpp:2: src/third_party/mozjs-60/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': src/third_party/mozjs-60/extract/js/src/jit/shared/Assembler-shared.h:620:25: required from here src/third_party/mozjs-60/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-60/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-60/extract/js/src/jit/JitFrames.h:13, from src/third_party/mozjs-60/extract/js/src/jit/Bailouts.h:12, from src/third_party/mozjs-60/extract/js/src/jit/BaselineJIT.h:13, from src/third_party/mozjs-60/extract/js/src/jit/BaselineIC.h:15, from src/third_party/mozjs-60/extract/js/src/jit/MIR.h:22, from src/third_party/mozjs-60/extract/js/src/jit/IonAnalysis.h:13, from src/third_party/mozjs-60/extract/js/src/jit/Sink.cpp:11, from src/third_party/mozjs-60/platform/x86_64/linux/build/Unified_cpp_js_src21.cpp:2: src/third_party/mozjs-60/extract/js/src/jit/shared/Assembler-shared.h:598:7: note: 'class js::jit::CodeOffsetJump' declared here 598 | class CodeOffsetJump | ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-60/include/js/TracingAPI.h:11, from src/third_party/mozjs-60/include/js/GCPolicyAPI.h:47, from src/third_party/mozjs-60/include/js/RootingAPI.h:22, from src/third_party/mozjs-60/include/js/Value.h:24, from src/third_party/mozjs-60/extract/js/src/jsutil.h:25, from src/third_party/mozjs-60/extract/js/src/ds/LifoAlloc.h:24, from src/third_party/mozjs-60/extract/js/src/jit/JitAllocPolicy.h:15, from src/third_party/mozjs-60/extract/js/src/jit/IonAnalysis.h:12, from src/third_party/mozjs-60/extract/js/src/jit/Sink.cpp:11, from src/third_party/mozjs-60/platform/x86_64/linux/build/Unified_cpp_js_src21.cpp:2: src/third_party/mozjs-60/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = const js::EvalCacheEntry; HashPolicy = js::HashSet::SetOps; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-60/include/js/HashTable.h:447:67: required from 'void js::HashSet::clear() [with T = js::EvalCacheEntry; HashPolicy = js::EvalCacheHashPolicy; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-60/extract/js/src/vm/Caches.h:263:28: required from here src/third_party/mozjs-60/include/js/HashTable.h:1674:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable::SetOps, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry'} with no trivial copy-assignment [-Wclass-memaccess] 1674 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-60/include/js/HashTable.h:793:7: note: 'js::detail::HashTable::SetOps, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry'} declared here 793 | class HashTableEntry | ^~~~~~~~~~~~~~ src/third_party/mozjs-60/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry >; HashPolicy = js::HashMap, js::DefaultHasher, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-60/include/js/HashTable.h:200:67: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = mozilla::UniquePtr; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-60/extract/js/src/vm/GeckoProfiler.h:162:26: required from here src/third_party/mozjs-60/include/js/HashTable.h:1674:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable >, js::HashMap, js::DefaultHasher, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry > >'} with no trivial copy-assignment [-Wclass-memaccess] 1674 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-60/include/js/HashTable.h:793:7: note: 'js::detail::HashTable >, js::HashMap, js::DefaultHasher, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry > >'} declared here 793 | class HashTableEntry | ^~~~~~~~~~~~~~ src/third_party/mozjs-60/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-60/include/js/HashTable.h:200:67: required from 'void js::HashMap::clear() [with Key = js::gc::Cell*; Value = long unsigned int; HashPolicy = js::PointerHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-60/extract/js/src/gc/Zone.h:637:34: required from here src/third_party/mozjs-60/include/js/HashTable.h:1674:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] 1674 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-60/include/js/HashTable.h:793:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here 793 | class HashTableEntry | ^~~~~~~~~~~~~~ g++ -o build/opt/third_party/s2/strings/stringprintf.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/pcre -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Isrc/third_party/s2 -fPIE -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -Isrc/third_party/boost-1.70.0 -Isrc/third_party/s2 -Ibuild/opt -Isrc src/third_party/s2/strings/stringprintf.cc In file included from src/third_party/mozjs-60/extract/js/src/ds/LifoAlloc.h:15, from src/third_party/mozjs-60/extract/js/src/jit/JitAllocPolicy.h:15, from src/third_party/mozjs-60/extract/js/src/jit/IonAnalysis.h:12, from src/third_party/mozjs-60/extract/js/src/jit/Sink.cpp:11, from src/third_party/mozjs-60/platform/x86_64/linux/build/Unified_cpp_js_src21.cpp:2: src/third_party/mozjs-60/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodArrayZero(T (&)[N]) [with T = JS::Value; long unsigned int N = 2]': src/third_party/mozjs-60/extract/js/src/jsapi.h:85:30: required from 'JS::AutoValueArray::AutoValueArray(JSContext*) [with long unsigned int N = 2]' src/third_party/mozjs-60/extract/js/src/jit/VMFunctions.cpp:365:34: required from here src/third_party/mozjs-60/include/mozilla/PodOperations.h:67:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class JS::Value'; use assignment or value-initialization instead [-Wclass-memaccess] 67 | memset(aT, 0, N * sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-60/extract/js/src/jsutil.h:25, from src/third_party/mozjs-60/extract/js/src/ds/LifoAlloc.h:24, from src/third_party/mozjs-60/extract/js/src/jit/JitAllocPolicy.h:15, from src/third_party/mozjs-60/extract/js/src/jit/IonAnalysis.h:12, from src/third_party/mozjs-60/extract/js/src/jit/Sink.cpp:11, from src/third_party/mozjs-60/platform/x86_64/linux/build/Unified_cpp_js_src21.cpp:2: src/third_party/mozjs-60/include/js/Value.h:324:32: note: 'class JS::Value' declared here 324 | class MOZ_NON_PARAM alignas(8) Value | ^~~~~ In file included from src/third_party/mozjs-60/extract/js/src/ds/LifoAlloc.h:15, from src/third_party/mozjs-60/extract/js/src/jit/JitAllocPolicy.h:15, from src/third_party/mozjs-60/extract/js/src/jit/IonAnalysis.h:12, from src/third_party/mozjs-60/extract/js/src/jit/Sink.cpp:11, from src/third_party/mozjs-60/platform/x86_64/linux/build/Unified_cpp_js_src21.cpp:2: src/third_party/mozjs-60/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodArrayZero(T (&)[N]) [with T = JS::Value; long unsigned int N = 3]': src/third_party/mozjs-60/extract/js/src/jsapi.h:85:30: required from 'JS::AutoValueArray::AutoValueArray(JSContext*) [with long unsigned int N = 3]' src/third_party/mozjs-60/extract/js/src/jit/VMFunctions.cpp:399:34: required from here src/third_party/mozjs-60/include/mozilla/PodOperations.h:67:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class JS::Value'; use assignment or value-initialization instead [-Wclass-memaccess] 67 | memset(aT, 0, N * sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-60/extract/js/src/jsutil.h:25, from src/third_party/mozjs-60/extract/js/src/ds/LifoAlloc.h:24, from src/third_party/mozjs-60/extract/js/src/jit/JitAllocPolicy.h:15, from src/third_party/mozjs-60/extract/js/src/jit/IonAnalysis.h:12, from src/third_party/mozjs-60/extract/js/src/jit/Sink.cpp:11, from src/third_party/mozjs-60/platform/x86_64/linux/build/Unified_cpp_js_src21.cpp:2: src/third_party/mozjs-60/include/js/Value.h:324:32: note: 'class JS::Value' declared here 324 | class MOZ_NON_PARAM alignas(8) Value | ^~~~~ In file included from src/third_party/mozjs-60/extract/js/src/ds/LifoAlloc.h:15, from src/third_party/mozjs-60/extract/js/src/jit/JitAllocPolicy.h:15, from src/third_party/mozjs-60/extract/js/src/jit/IonAnalysis.h:12, from src/third_party/mozjs-60/extract/js/src/jit/Sink.cpp:11, from src/third_party/mozjs-60/platform/x86_64/linux/build/Unified_cpp_js_src21.cpp:2: src/third_party/mozjs-60/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodArrayZero(T (&)[N]) [with T = JS::Value; long unsigned int N = 4]': src/third_party/mozjs-60/extract/js/src/jsapi.h:85:30: required from 'JS::AutoValueArray::AutoValueArray(JSContext*) [with long unsigned int N = 4]' src/third_party/mozjs-60/extract/js/src/vm/Stack.h:1016:45: required from 'js::detail::FixedArgsBase::FixedArgsBase(JSContext*) [with js::MaybeConstruct Construct = js::NO_CONSTRUCT; long unsigned int N = 2]' src/third_party/mozjs-60/extract/js/src/vm/Stack.h:1053:54: required from 'js::FixedInvokeArgs::FixedInvokeArgs(JSContext*) [with long unsigned int N = 2]' src/third_party/mozjs-60/extract/js/src/vm/Interpreter.h:119:31: required from here src/third_party/mozjs-60/include/mozilla/PodOperations.h:67:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class JS::Value'; use assignment or value-initialization instead [-Wclass-memaccess] 67 | memset(aT, 0, N * sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-60/extract/js/src/jsutil.h:25, from src/third_party/mozjs-60/extract/js/src/ds/LifoAlloc.h:24, from src/third_party/mozjs-60/extract/js/src/jit/JitAllocPolicy.h:15, from src/third_party/mozjs-60/extract/js/src/jit/IonAnalysis.h:12, from src/third_party/mozjs-60/extract/js/src/jit/Sink.cpp:11, from src/third_party/mozjs-60/platform/x86_64/linux/build/Unified_cpp_js_src21.cpp:2: src/third_party/mozjs-60/include/js/Value.h:324:32: note: 'class JS::Value' declared here 324 | class MOZ_NON_PARAM alignas(8) Value | ^~~~~ In file included from src/third_party/mozjs-60/extract/js/src/jit/IonAnalysis.h:12, from src/third_party/mozjs-60/extract/js/src/jit/Sink.cpp:11, from src/third_party/mozjs-60/platform/x86_64/linux/build/Unified_cpp_js_src21.cpp:2: src/third_party/mozjs-60/extract/js/src/jit/JitAllocPolicy.h: In instantiation of 'T* js::jit::JitAllocPolicy::maybe_pod_calloc(size_t) [with T = js::detail::HashTableEntry >; size_t = long unsigned int]': src/third_party/mozjs-60/include/js/HashTable.h:1239:54: required from 'static js::detail::HashTable::Entry* js::detail::HashTable::createTable(AllocPolicy&, uint32_t, js::detail::HashTable::FailureBehavior) [with T = js::HashMapEntry; HashPolicy = js::HashMap::MapHashPolicy; AllocPolicy = js::jit::JitAllocPolicy; js::detail::HashTable::Entry = js::detail::HashTableEntry >; uint32_t = unsigned int]' src/third_party/mozjs-60/include/js/HashTable.h:1307:28: required from 'bool js::detail::HashTable::init(uint32_t) [with T = js::HashMapEntry; HashPolicy = js::HashMap::MapHashPolicy; AllocPolicy = js::jit::JitAllocPolicy; uint32_t = unsigned int]' src/third_party/mozjs-60/include/js/HashTable.h:91:65: required from 'bool js::HashMap::init(uint32_t) [with Key = JS::Value; Value = unsigned int; HashPolicy = js::jit::LIRGraph::ValueHasher; AllocPolicy = js::jit::JitAllocPolicy; uint32_t = unsigned int]' src/third_party/mozjs-60/extract/js/src/jit/LIR.h:1893:37: required from here src/third_party/mozjs-60/extract/js/src/jit/JitAllocPolicy.h:101:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::detail::HashTableEntry >' with no trivial copy-assignment [-Wclass-memaccess] 101 | memset(p, 0, numElems * sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-60/include/js/TracingAPI.h:11, from src/third_party/mozjs-60/include/js/GCPolicyAPI.h:47, from src/third_party/mozjs-60/include/js/RootingAPI.h:22, from src/third_party/mozjs-60/include/js/Value.h:24, from src/third_party/mozjs-60/extract/js/src/jsutil.h:25, from src/third_party/mozjs-60/extract/js/src/ds/LifoAlloc.h:24, from src/third_party/mozjs-60/extract/js/src/jit/JitAllocPolicy.h:15, from src/third_party/mozjs-60/extract/js/src/jit/IonAnalysis.h:12, from src/third_party/mozjs-60/extract/js/src/jit/Sink.cpp:11, from src/third_party/mozjs-60/platform/x86_64/linux/build/Unified_cpp_js_src21.cpp:2: src/third_party/mozjs-60/include/js/HashTable.h:793:7: note: 'class js::detail::HashTableEntry >' declared here 793 | class HashTableEntry | ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-60/extract/js/src/ds/LifoAlloc.h:15, from src/third_party/mozjs-60/extract/js/src/jit/JitAllocPolicy.h:15, from src/third_party/mozjs-60/extract/js/src/jit/IonAnalysis.h:12, from src/third_party/mozjs-60/extract/js/src/jit/Sink.cpp:11, from src/third_party/mozjs-60/platform/x86_64/linux/build/Unified_cpp_js_src21.cpp:2: src/third_party/mozjs-60/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodArrayZero(T (&)[N]) [with T = JS::Value; long unsigned int N = 5]': src/third_party/mozjs-60/extract/js/src/jsapi.h:85:30: required from 'JS::AutoValueArray::AutoValueArray(JSContext*) [with long unsigned int N = 5]' src/third_party/mozjs-60/extract/js/src/vm/Stack.h:1016:45: required from 'js::detail::FixedArgsBase::FixedArgsBase(JSContext*) [with js::MaybeConstruct Construct = js::NO_CONSTRUCT; long unsigned int N = 3]' src/third_party/mozjs-60/extract/js/src/vm/Stack.h:1053:54: required from 'js::FixedInvokeArgs::FixedInvokeArgs(JSContext*) [with long unsigned int N = 3]' src/third_party/mozjs-60/extract/js/src/jit/VMFunctions.cpp:951:31: required from here src/third_party/mozjs-60/include/mozilla/PodOperations.h:67:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class JS::Value'; use assignment or value-initialization instead [-Wclass-memaccess] 67 | memset(aT, 0, N * sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-60/extract/js/src/jsutil.h:25, from src/third_party/mozjs-60/extract/js/src/ds/LifoAlloc.h:24, from src/third_party/mozjs-60/extract/js/src/jit/JitAllocPolicy.h:15, from src/third_party/mozjs-60/extract/js/src/jit/IonAnalysis.h:12, from src/third_party/mozjs-60/extract/js/src/jit/Sink.cpp:11, from src/third_party/mozjs-60/platform/x86_64/linux/build/Unified_cpp_js_src21.cpp:2: src/third_party/mozjs-60/include/js/Value.h:324:32: note: 'class JS::Value' declared here 324 | class MOZ_NON_PARAM alignas(8) Value | ^~~~~ g++ -o build/opt/third_party/s2/strings/split.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/pcre -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Isrc/third_party/s2 -fPIE -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -Isrc/third_party/boost-1.70.0 -Isrc/third_party/s2 -Ibuild/opt -Isrc src/third_party/s2/strings/split.cc g++ -o build/opt/third_party/s2/strings/strutil.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/pcre -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Isrc/third_party/s2 -fPIE -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -Isrc/third_party/boost-1.70.0 -Isrc/third_party/s2 -Ibuild/opt -Isrc src/third_party/s2/strings/strutil.cc src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr mongo::TypeMatchExpressionBase::shallowClone() const [with T = mongo::InternalSchemaBinDataEncryptedTypeExpression]': src/mongo/db/matcher/expression_type.h:69:38: required from here src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move] 74 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:74:30: note: remove 'std::move' call src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr mongo::TypeMatchExpressionBase::shallowClone() const [with T = mongo::InternalSchemaTypeExpression]': src/mongo/db/matcher/expression_type.h:69:38: required from here src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:74:30: note: remove 'std::move' call src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr mongo::TypeMatchExpressionBase::shallowClone() const [with T = mongo::TypeMatchExpression]': src/mongo/db/matcher/expression_type.h:69:38: required from here src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:74:30: note: remove 'std::move' call src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr mongo::TypeMatchExpressionBase::shallowClone() const [with T = mongo::InternalSchemaBinDataEncryptedTypeExpression]': src/mongo/db/matcher/expression_type.h:69:38: required from here src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move] 74 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:74:30: note: remove 'std::move' call src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr mongo::TypeMatchExpressionBase::shallowClone() const [with T = mongo::InternalSchemaTypeExpression]': src/mongo/db/matcher/expression_type.h:69:38: required from here src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:74:30: note: remove 'std::move' call src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr mongo::TypeMatchExpressionBase::shallowClone() const [with T = mongo::TypeMatchExpression]': src/mongo/db/matcher/expression_type.h:69:38: required from here src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:74:30: note: remove 'std::move' call ar rcsTD build/opt/third_party/s2/strings/libstrings.a build/opt/third_party/s2/strings/split.o build/opt/third_party/s2/strings/stringprintf.o build/opt/third_party/s2/strings/strutil.o Skipping ranlib for thin archive build/opt/third_party/s2/strings/libstrings.a g++ -o build/opt/mongo/bson/bsonelement.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/pcre -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/unwind/platform/linux_x86_64/install/include -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -Ibuild/opt -Isrc src/mongo/bson/bsonelement.cpp g++ -o build/opt/mongo/db/auth/user_set.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/pcre -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -Ibuild/opt -Isrc src/mongo/db/auth/user_set.cpp /usr/bin/python3 src/mongo/base/generate_error_codes.py src/mongo/base/error_codes.yml src/mongo/shell/error_codes.tpl.js build/opt/mongo/shell/error_codes.js g++ -o build/opt/mongo/db/matcher/expression_geo.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/pcre -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -Ibuild/opt -Isrc src/mongo/db/matcher/expression_geo.cpp /usr/bin/python3 site_scons/site_tools/jstoh.py build/opt/mongo/shell/mongo.cpp src/mongo/shell/assert.js src/mongo/shell/bulk_api.js src/mongo/shell/check_log.js src/mongo/shell/collection.js src/mongo/shell/crud_api.js src/mongo/shell/db.js build/opt/mongo/shell/error_codes.js src/mongo/shell/explainable.js src/mongo/shell/explain_query.js src/mongo/shell/mongo.js src/mongo/shell/query.js src/mongo/shell/session.js src/mongo/shell/types.js src/mongo/shell/utils_auth.js src/mongo/shell/utils.js src/mongo/shell/utils_sh.js g++ -o build/opt/third_party/icu4c-57.1/source/common/brkiter.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -pipe -frecord-gcc-switches -g -O2 -flto=auto -I/usr/include/pcre -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/brkiter.cpp g++ -o build/opt/mongo/s/request_types/add_shard_to_zone_request_type.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/pcre -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -Ibuild/opt -Isrc src/mongo/s/request_types/add_shard_to_zone_request_type.cpp g++ -o build/opt/mongo/shell/mongo.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/pcre -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -Ibuild/opt -Isrc build/opt/mongo/shell/mongo.cpp g++ -o build/opt/mongo/db/storage/wiredtiger/oplog_stones_server_status_section.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/pcre -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -Ibuild/opt -Isrc src/mongo/db/storage/wiredtiger/oplog_stones_server_status_section.cpp g++ -o build/opt/third_party/icu4c-57.1/source/common/brkeng.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -pipe -frecord-gcc-switches -g -O2 -flto=auto -I/usr/include/pcre -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/brkeng.cpp g++ -o build/opt/mongo/db/s/sharding_logging.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/pcre -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -Ibuild/opt -Isrc src/mongo/db/s/sharding_logging.cpp In file included from src/mongo/db/matcher/expression_geo.h:36, from src/mongo/db/matcher/expression_geo.cpp:32: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:201:25: warning: redundant move in return statement [-Wredundant-move] 201 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:201:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:223:25: warning: redundant move in return statement [-Wredundant-move] 223 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:223:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:245:25: warning: redundant move in return statement [-Wredundant-move] 245 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:245:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:267:25: warning: redundant move in return statement [-Wredundant-move] 267 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:267:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:289:25: warning: redundant move in return statement [-Wredundant-move] 289 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:289:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:308:25: warning: redundant move in return statement [-Wredundant-move] 308 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:308:25: note: remove 'std::move' call g++ -o build/opt/mongo/db/exec/text_or.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/pcre -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -Ibuild/opt -Isrc src/mongo/db/exec/text_or.cpp src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:352:25: warning: redundant move in return statement [-Wredundant-move] 352 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:352:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:395:25: warning: redundant move in return statement [-Wredundant-move] 395 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:395:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:579:25: warning: redundant move in return statement [-Wredundant-move] 579 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:579:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:600:25: warning: redundant move in return statement [-Wredundant-move] 600 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:600:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:621:25: warning: redundant move in return statement [-Wredundant-move] 621 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:621:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:642:25: warning: redundant move in return statement [-Wredundant-move] 642 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:642:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:38, from src/mongo/db/matcher/expression_geo.cpp:36: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:39, from src/mongo/db/matcher/expression_geo.cpp:36: src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr mongo::InternalSchemaBinDataSubTypeExpression::shallowClone() const': src/mongo/db/matcher/expression_type.h:196:25: warning: redundant move in return statement [-Wredundant-move] 196 | return std::move(expr); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_type.h:196:25: note: remove 'std::move' call In file included from src/mongo/db/pipeline/expression_context.h:44, from src/mongo/db/matcher/expression_with_placeholder.h:37, from src/mongo/db/matcher/expression_parser.h:40, from src/mongo/db/matcher/expression_geo.cpp:36: src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)': src/mongo/db/pipeline/aggregation_request.h:90:25: warning: redundant move in return statement [-Wredundant-move] 90 | return std::move(pipeline); | ~~~~~~~~~^~~~~~~~~~ src/mongo/db/pipeline/aggregation_request.h:90:25: note: remove 'std::move' call src/mongo/db/matcher/expression_geo.cpp: In member function 'virtual std::unique_ptr mongo::GeoMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_geo.cpp:411:21: warning: redundant move in return statement [-Wredundant-move] 411 | return std::move(next); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_geo.cpp:411:21: note: remove 'std::move' call src/mongo/db/matcher/expression_geo.cpp: In member function 'virtual std::unique_ptr mongo::GeoNearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_geo.cpp:468:21: warning: redundant move in return statement [-Wredundant-move] 468 | return std::move(next); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_geo.cpp:468:21: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_text_base.h:32, from src/mongo/db/matcher/extensions_callback.h:33, from src/mongo/db/matcher/extensions_callback_noop.h:32, from src/mongo/db/query/canonical_query.h:36, from src/mongo/db/query/plan_cache.h:36, from src/mongo/db/query/query_solution.h:40, from src/mongo/db/query/plan_executor.h:36, from src/mongo/db/catalog/collection.h:48, from src/mongo/db/exec/requires_collection_stage.h:32, from src/mongo/db/exec/text_or.h:34, from src/mongo/db/exec/text_or.cpp:30: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:201:25: warning: redundant move in return statement [-Wredundant-move] 201 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:201:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:223:25: warning: redundant move in return statement [-Wredundant-move] 223 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:223:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:245:25: warning: redundant move in return statement [-Wredundant-move] 245 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:245:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:267:25: warning: redundant move in return statement [-Wredundant-move] 267 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:267:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:289:25: warning: redundant move in return statement [-Wredundant-move] 289 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:289:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:308:25: warning: redundant move in return statement [-Wredundant-move] 308 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:308:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:352:25: warning: redundant move in return statement [-Wredundant-move] 352 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:352:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:395:25: warning: redundant move in return statement [-Wredundant-move] 395 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:395:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:579:25: warning: redundant move in return statement [-Wredundant-move] 579 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:579:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:600:25: warning: redundant move in return statement [-Wredundant-move] 600 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:600:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:621:25: warning: redundant move in return statement [-Wredundant-move] 621 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:621:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:642:25: warning: redundant move in return statement [-Wredundant-move] 642 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:642:25: note: remove 'std::move' call In file included from src/mongo/db/pipeline/expression_context.h:44, from src/mongo/db/matcher/extensions_callback.h:35, from src/mongo/db/matcher/extensions_callback_noop.h:32, from src/mongo/db/query/canonical_query.h:36, from src/mongo/db/query/plan_cache.h:36, from src/mongo/db/query/query_solution.h:40, from src/mongo/db/query/plan_executor.h:36, from src/mongo/db/catalog/collection.h:48, from src/mongo/db/exec/requires_collection_stage.h:32, from src/mongo/db/exec/text_or.h:34, from src/mongo/db/exec/text_or.cpp:30: src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)': src/mongo/db/pipeline/aggregation_request.h:90:25: warning: redundant move in return statement [-Wredundant-move] 90 | return std::move(pipeline); | ~~~~~~~~~^~~~~~~~~~ src/mongo/db/pipeline/aggregation_request.h:90:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:39, from src/mongo/db/matcher/expression_geo.cpp:36: src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr mongo::TypeMatchExpressionBase::shallowClone() const [with T = mongo::InternalSchemaBinDataEncryptedTypeExpression]': src/mongo/db/matcher/expression_type.h:69:38: required from here src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move] 74 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:74:30: note: remove 'std::move' call src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr mongo::TypeMatchExpressionBase::shallowClone() const [with T = mongo::InternalSchemaTypeExpression]': src/mongo/db/matcher/expression_type.h:69:38: required from here src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:74:30: note: remove 'std::move' call src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr mongo::TypeMatchExpressionBase::shallowClone() const [with T = mongo::TypeMatchExpression]': src/mongo/db/matcher/expression_type.h:69:38: required from here src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:74:30: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:38, from src/mongo/db/matcher/copyable_match_expression.h:32, from src/mongo/db/query/projection_ast.h:33, from src/mongo/db/query/projection.h:33, from src/mongo/db/query/canonical_query.h:38, from src/mongo/db/query/plan_cache.h:36, from src/mongo/db/query/query_solution.h:40, from src/mongo/db/query/plan_executor.h:36, from src/mongo/db/catalog/collection.h:48, from src/mongo/db/exec/requires_collection_stage.h:32, from src/mongo/db/exec/text_or.h:34, from src/mongo/db/exec/text_or.cpp:30: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_text_base.h:32, from src/mongo/db/matcher/extensions_callback.h:33, from src/mongo/db/matcher/extensions_callback_noop.h:32, from src/mongo/db/query/canonical_query.h:36, from src/mongo/db/query/plan_cache.h:36, from src/mongo/db/query/query_solution.h:40, from src/mongo/db/query/plan_executor.h:36, from src/mongo/db/catalog/collection.h:48, from src/mongo/db/catalog/database_holder.h:36, from src/mongo/db/storage/wiredtiger/oplog_stones_server_status_section.cpp:34: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:201:25: warning: redundant move in return statement [-Wredundant-move] 201 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:201:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:223:25: warning: redundant move in return statement [-Wredundant-move] 223 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:223:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:245:25: warning: redundant move in return statement [-Wredundant-move] 245 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:245:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:267:25: warning: redundant move in return statement [-Wredundant-move] 267 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:267:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:289:25: warning: redundant move in return statement [-Wredundant-move] 289 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:289:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:308:25: warning: redundant move in return statement [-Wredundant-move] 308 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:308:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:352:25: warning: redundant move in return statement [-Wredundant-move] 352 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:352:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:39, from src/mongo/db/matcher/copyable_match_expression.h:32, from src/mongo/db/query/projection_ast.h:33, from src/mongo/db/query/projection.h:33, from src/mongo/db/query/canonical_query.h:38, from src/mongo/db/query/plan_cache.h:36, from src/mongo/db/query/query_solution.h:40, from src/mongo/db/query/plan_executor.h:36, from src/mongo/db/catalog/collection.h:48, from src/mongo/db/exec/requires_collection_stage.h:32, from src/mongo/db/exec/text_or.h:34, from src/mongo/db/exec/text_or.cpp:30: src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr mongo::InternalSchemaBinDataSubTypeExpression::shallowClone() const': src/mongo/db/matcher/expression_type.h:196:25: warning: redundant move in return statement [-Wredundant-move] 196 | return std::move(expr); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_type.h:196:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:395:25: warning: redundant move in return statement [-Wredundant-move] 395 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:395:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:579:25: warning: redundant move in return statement [-Wredundant-move] 579 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:579:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:600:25: warning: redundant move in return statement [-Wredundant-move] 600 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:600:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:621:25: warning: redundant move in return statement [-Wredundant-move] 621 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:621:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:642:25: warning: redundant move in return statement [-Wredundant-move] 642 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:642:25: note: remove 'std::move' call In file included from src/mongo/db/pipeline/expression_context.h:44, from src/mongo/db/matcher/extensions_callback.h:35, from src/mongo/db/matcher/extensions_callback_noop.h:32, from src/mongo/db/query/canonical_query.h:36, from src/mongo/db/query/plan_cache.h:36, from src/mongo/db/query/query_solution.h:40, from src/mongo/db/query/plan_executor.h:36, from src/mongo/db/catalog/collection.h:48, from src/mongo/db/catalog/database_holder.h:36, from src/mongo/db/storage/wiredtiger/oplog_stones_server_status_section.cpp:34: src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)': src/mongo/db/pipeline/aggregation_request.h:90:25: warning: redundant move in return statement [-Wredundant-move] 90 | return std::move(pipeline); | ~~~~~~~~~^~~~~~~~~~ src/mongo/db/pipeline/aggregation_request.h:90:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:38, from src/mongo/db/matcher/copyable_match_expression.h:32, from src/mongo/db/query/projection_ast.h:33, from src/mongo/db/query/projection.h:33, from src/mongo/db/query/canonical_query.h:38, from src/mongo/db/query/plan_cache.h:36, from src/mongo/db/query/query_solution.h:40, from src/mongo/db/query/plan_executor.h:36, from src/mongo/db/catalog/collection.h:48, from src/mongo/db/catalog/database_holder.h:36, from src/mongo/db/storage/wiredtiger/oplog_stones_server_status_section.cpp:34: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:39, from src/mongo/db/matcher/copyable_match_expression.h:32, from src/mongo/db/query/projection_ast.h:33, from src/mongo/db/query/projection.h:33, from src/mongo/db/query/canonical_query.h:38, from src/mongo/db/query/plan_cache.h:36, from src/mongo/db/query/query_solution.h:40, from src/mongo/db/query/plan_executor.h:36, from src/mongo/db/catalog/collection.h:48, from src/mongo/db/catalog/database_holder.h:36, from src/mongo/db/storage/wiredtiger/oplog_stones_server_status_section.cpp:34: src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr mongo::InternalSchemaBinDataSubTypeExpression::shallowClone() const': src/mongo/db/matcher/expression_type.h:196:25: warning: redundant move in return statement [-Wredundant-move] 196 | return std::move(expr); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_type.h:196:25: note: remove 'std::move' call g++ -o build/opt/mongo/db/exec/ensure_sorted.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/pcre -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -Ibuild/opt -Isrc src/mongo/db/exec/ensure_sorted.cpp ar rcsTD build/opt/mongo/db/s/libsharding_logging.a build/opt/mongo/db/s/sharding_logging.o Skipping ranlib for thin archive build/opt/mongo/db/s/libsharding_logging.a g++ -o build/opt/mongo/db/exec/projection.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/pcre -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -Ibuild/opt -Isrc src/mongo/db/exec/projection.cpp In file included from src/mongo/db/exec/plan_stage.h:35, from src/mongo/db/exec/projection.h:32, from src/mongo/db/exec/projection.cpp:32: src/mongo/db/exec/plan_stats.h:214:10: error: 'optional' in namespace 'std' does not name a template type 214 | std::optional replanReason; | ^~~~~~~~ src/mongo/db/exec/plan_stats.h:41:1: note: 'std::optional' is defined in header ''; did you forget to '#include '? 40 | #include "mongo/util/container_size_helper.h" +++ |+#include 41 | #include "mongo/util/time_support.h" src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr mongo::TypeMatchExpressionBase::shallowClone() const [with T = mongo::InternalSchemaBinDataEncryptedTypeExpression]': src/mongo/db/matcher/expression_type.h:69:38: required from here src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move] 74 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:74:30: note: remove 'std::move' call src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr mongo::TypeMatchExpressionBase::shallowClone() const [with T = mongo::InternalSchemaTypeExpression]': src/mongo/db/matcher/expression_type.h:69:38: required from here src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:74:30: note: remove 'std::move' call src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr mongo::TypeMatchExpressionBase::shallowClone() const [with T = mongo::TypeMatchExpression]': src/mongo/db/matcher/expression_type.h:69:38: required from here src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:74:30: note: remove 'std::move' call In file included from src/mongo/db/exec/plan_stage.h:35, from src/mongo/db/exec/ensure_sorted.h:32, from src/mongo/db/exec/ensure_sorted.cpp:32: src/mongo/db/exec/plan_stats.h:214:10: error: 'optional' in namespace 'std' does not name a template type 214 | std::optional replanReason; | ^~~~~~~~ src/mongo/db/exec/plan_stats.h:41:1: note: 'std::optional' is defined in header ''; did you forget to '#include '? 40 | #include "mongo/util/container_size_helper.h" +++ |+#include 41 | #include "mongo/util/time_support.h" In file included from src/mongo/db/pipeline/expression_context.h:44, from src/mongo/db/exec/plan_stage.h:37, from src/mongo/db/exec/projection.h:32, from src/mongo/db/exec/projection.cpp:32: src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)': src/mongo/db/pipeline/aggregation_request.h:90:25: warning: redundant move in return statement [-Wredundant-move] 90 | return std::move(pipeline); | ~~~~~~~~~^~~~~~~~~~ src/mongo/db/pipeline/aggregation_request.h:90:25: note: remove 'std::move' call In file included from src/mongo/db/pipeline/expression_context.h:44, from src/mongo/db/exec/plan_stage.h:37, from src/mongo/db/exec/ensure_sorted.h:32, from src/mongo/db/exec/ensure_sorted.cpp:32: src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)': src/mongo/db/pipeline/aggregation_request.h:90:25: warning: redundant move in return statement [-Wredundant-move] 90 | return std::move(pipeline); | ~~~~~~~~~^~~~~~~~~~ src/mongo/db/pipeline/aggregation_request.h:90:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_text_base.h:32, from src/mongo/db/matcher/extensions_callback.h:33, from src/mongo/db/matcher/extensions_callback_noop.h:32, from src/mongo/db/query/canonical_query.h:36, from src/mongo/db/query/explain.h:34, from src/mongo/db/commands.h:47, from src/mongo/db/pipeline/document_source.h:45, from src/mongo/db/pipeline/transformer_interface.h:34, from src/mongo/db/exec/projection_executor.h:40, from src/mongo/db/exec/projection.h:33, from src/mongo/db/exec/projection.cpp:32: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:201:25: warning: redundant move in return statement [-Wredundant-move] 201 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:201:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:223:25: warning: redundant move in return statement [-Wredundant-move] 223 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:223:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:245:25: warning: redundant move in return statement [-Wredundant-move] 245 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:245:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:267:25: warning: redundant move in return statement [-Wredundant-move] 267 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:267:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:289:25: warning: redundant move in return statement [-Wredundant-move] 289 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:289:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:308:25: warning: redundant move in return statement [-Wredundant-move] 308 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:308:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:352:25: warning: redundant move in return statement [-Wredundant-move] 352 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:352:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:395:25: warning: redundant move in return statement [-Wredundant-move] 395 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:395:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:579:25: warning: redundant move in return statement [-Wredundant-move] 579 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:579:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:600:25: warning: redundant move in return statement [-Wredundant-move] 600 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:600:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:621:25: warning: redundant move in return statement [-Wredundant-move] 621 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:621:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:642:25: warning: redundant move in return statement [-Wredundant-move] 642 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:642:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:38, from src/mongo/db/matcher/copyable_match_expression.h:32, from src/mongo/db/query/projection_ast.h:33, from src/mongo/db/query/projection.h:33, from src/mongo/db/query/canonical_query.h:38, from src/mongo/db/query/explain.h:34, from src/mongo/db/commands.h:47, from src/mongo/db/pipeline/document_source.h:45, from src/mongo/db/pipeline/transformer_interface.h:34, from src/mongo/db/exec/projection_executor.h:40, from src/mongo/db/exec/projection.h:33, from src/mongo/db/exec/projection.cpp:32: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:39, from src/mongo/db/matcher/copyable_match_expression.h:32, from src/mongo/db/query/projection_ast.h:33, from src/mongo/db/query/projection.h:33, from src/mongo/db/query/canonical_query.h:38, from src/mongo/db/query/explain.h:34, from src/mongo/db/commands.h:47, from src/mongo/db/pipeline/document_source.h:45, from src/mongo/db/pipeline/transformer_interface.h:34, from src/mongo/db/exec/projection_executor.h:40, from src/mongo/db/exec/projection.h:33, from src/mongo/db/exec/projection.cpp:32: src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr mongo::InternalSchemaBinDataSubTypeExpression::shallowClone() const': src/mongo/db/matcher/expression_type.h:196:25: warning: redundant move in return statement [-Wredundant-move] 196 | return std::move(expr); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_type.h:196:25: note: remove 'std::move' call g++ -o build/opt/mongo/db/query/plan_ranker.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/pcre -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -Ibuild/opt -Isrc src/mongo/db/query/plan_ranker.cpp src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr mongo::TypeMatchExpressionBase::shallowClone() const [with T = mongo::InternalSchemaBinDataEncryptedTypeExpression]': src/mongo/db/matcher/expression_type.h:69:38: required from here src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move] 74 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:74:30: note: remove 'std::move' call src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr mongo::TypeMatchExpressionBase::shallowClone() const [with T = mongo::InternalSchemaTypeExpression]': src/mongo/db/matcher/expression_type.h:69:38: required from here src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:74:30: note: remove 'std::move' call src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr mongo::TypeMatchExpressionBase::shallowClone() const [with T = mongo::TypeMatchExpression]': src/mongo/db/matcher/expression_type.h:69:38: required from here src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:74:30: note: remove 'std::move' call scons: *** [build/opt/mongo/db/exec/ensure_sorted.o] Error 1 In file included from src/mongo/db/exec/plan_stage.h:35, from src/mongo/db/query/plan_ranker.h:37, from src/mongo/db/query/plan_ranker.cpp:39: src/mongo/db/exec/plan_stats.h:214:10: error: 'optional' in namespace 'std' does not name a template type 214 | std::optional replanReason; | ^~~~~~~~ src/mongo/db/exec/plan_stats.h:41:1: note: 'std::optional' is defined in header ''; did you forget to '#include '? 40 | #include "mongo/util/container_size_helper.h" +++ |+#include 41 | #include "mongo/util/time_support.h" In file included from src/mongo/db/pipeline/expression_context.h:44, from src/mongo/db/exec/plan_stage.h:37, from src/mongo/db/query/plan_ranker.h:37, from src/mongo/db/query/plan_ranker.cpp:39: src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)': src/mongo/db/pipeline/aggregation_request.h:90:25: warning: redundant move in return statement [-Wredundant-move] 90 | return std::move(pipeline); | ~~~~~~~~~^~~~~~~~~~ src/mongo/db/pipeline/aggregation_request.h:90:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_text_base.h:32, from src/mongo/db/matcher/extensions_callback.h:33, from src/mongo/db/matcher/extensions_callback_noop.h:32, from src/mongo/db/query/canonical_query.h:36, from src/mongo/db/query/plan_cache.h:36, from src/mongo/db/query/query_solution.h:40, from src/mongo/db/query/plan_ranker.h:41, from src/mongo/db/query/plan_ranker.cpp:39: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:201:25: warning: redundant move in return statement [-Wredundant-move] 201 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:201:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:223:25: warning: redundant move in return statement [-Wredundant-move] 223 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:223:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:245:25: warning: redundant move in return statement [-Wredundant-move] 245 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:245:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:267:25: warning: redundant move in return statement [-Wredundant-move] 267 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:267:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:289:25: warning: redundant move in return statement [-Wredundant-move] 289 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:289:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:308:25: warning: redundant move in return statement [-Wredundant-move] 308 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:308:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:352:25: warning: redundant move in return statement [-Wredundant-move] 352 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:352:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:395:25: warning: redundant move in return statement [-Wredundant-move] 395 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:395:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:579:25: warning: redundant move in return statement [-Wredundant-move] 579 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:579:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:600:25: warning: redundant move in return statement [-Wredundant-move] 600 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:600:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:621:25: warning: redundant move in return statement [-Wredundant-move] 621 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:621:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:642:25: warning: redundant move in return statement [-Wredundant-move] 642 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:642:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:38, from src/mongo/db/matcher/copyable_match_expression.h:32, from src/mongo/db/query/projection_ast.h:33, from src/mongo/db/query/projection.h:33, from src/mongo/db/query/canonical_query.h:38, from src/mongo/db/query/plan_cache.h:36, from src/mongo/db/query/query_solution.h:40, from src/mongo/db/query/plan_ranker.h:41, from src/mongo/db/query/plan_ranker.cpp:39: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:39, from src/mongo/db/matcher/copyable_match_expression.h:32, from src/mongo/db/query/projection_ast.h:33, from src/mongo/db/query/projection.h:33, from src/mongo/db/query/canonical_query.h:38, from src/mongo/db/query/plan_cache.h:36, from src/mongo/db/query/query_solution.h:40, from src/mongo/db/query/plan_ranker.h:41, from src/mongo/db/query/plan_ranker.cpp:39: src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr mongo::InternalSchemaBinDataSubTypeExpression::shallowClone() const': src/mongo/db/matcher/expression_type.h:196:25: warning: redundant move in return statement [-Wredundant-move] 196 | return std::move(expr); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_type.h:196:25: note: remove 'std::move' call src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr mongo::TypeMatchExpressionBase::shallowClone() const [with T = mongo::InternalSchemaBinDataEncryptedTypeExpression]': src/mongo/db/matcher/expression_type.h:69:38: required from here src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move] 74 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:74:30: note: remove 'std::move' call src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr mongo::TypeMatchExpressionBase::shallowClone() const [with T = mongo::InternalSchemaTypeExpression]': src/mongo/db/matcher/expression_type.h:69:38: required from here src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:74:30: note: remove 'std::move' call src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr mongo::TypeMatchExpressionBase::shallowClone() const [with T = mongo::TypeMatchExpression]': src/mongo/db/matcher/expression_type.h:69:38: required from here src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:74:30: note: remove 'std::move' call scons: *** [build/opt/mongo/db/exec/projection.o] Error 1 src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr mongo::TypeMatchExpressionBase::shallowClone() const [with T = mongo::InternalSchemaBinDataEncryptedTypeExpression]': src/mongo/db/matcher/expression_type.h:69:38: required from here src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move] 74 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:74:30: note: remove 'std::move' call src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr mongo::TypeMatchExpressionBase::shallowClone() const [with T = mongo::InternalSchemaTypeExpression]': src/mongo/db/matcher/expression_type.h:69:38: required from here src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:74:30: note: remove 'std::move' call src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr mongo::TypeMatchExpressionBase::shallowClone() const [with T = mongo::TypeMatchExpression]': src/mongo/db/matcher/expression_type.h:69:38: required from here src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:74:30: note: remove 'std::move' call scons: *** [build/opt/mongo/db/query/plan_ranker.o] Error 1 scons: building terminated because of errors. build/opt/mongo/db/exec/ensure_sorted.o failed: Error 1 build/opt/mongo/db/exec/projection.o failed: Error 1 build/opt/mongo/db/query/plan_ranker.o failed: Error 1 error: Bad exit status from /usr/src/tmp/rpm-tmp.17771 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.17771 (%build) Command exited with non-zero status 1 416.19user 24.88system 2:21.16elapsed 312%CPU (0avgtext+0avgdata 1187108maxresident)k 0inputs+0outputs (0major+10265596minor)pagefaults 0swaps hsh-rebuild: rebuild of `mongo-4.4.6-alt1.src.rpm' failed. Command exited with non-zero status 1 432.73user 29.54system 2:43.03elapsed 283%CPU (0avgtext+0avgdata 1187108maxresident)k 2536inputs+0outputs (45849major+10585743minor)pagefaults 0swaps