<86>Nov 4 18:54:23 userdel[2693553]: delete user 'rooter' <86>Nov 4 18:54:23 userdel[2693553]: removed group 'rooter' owned by 'rooter' <86>Nov 4 18:54:23 userdel[2693553]: removed shadow group 'rooter' owned by 'rooter' <86>Nov 4 18:54:23 groupadd[2693571]: group added to /etc/group: name=rooter, GID=690 <86>Nov 4 18:54:23 groupadd[2693571]: group added to /etc/gshadow: name=rooter <86>Nov 4 18:54:23 groupadd[2693571]: new group: name=rooter, GID=690 <86>Nov 4 18:54:23 useradd[2693578]: new user: name=rooter, UID=690, GID=690, home=/root, shell=/bin/bash <86>Nov 4 18:54:23 userdel[2693591]: delete user 'builder' <86>Nov 4 18:54:23 userdel[2693591]: removed group 'builder' owned by 'builder' <86>Nov 4 18:54:23 userdel[2693591]: removed shadow group 'builder' owned by 'builder' <86>Nov 4 18:54:23 groupadd[2693606]: group added to /etc/group: name=builder, GID=691 <86>Nov 4 18:54:23 groupadd[2693606]: group added to /etc/gshadow: name=builder <86>Nov 4 18:54:23 groupadd[2693606]: new group: name=builder, GID=691 <86>Nov 4 18:54:23 useradd[2693615]: new user: name=builder, UID=691, GID=691, home=/usr/src, shell=/bin/bash <13>Nov 4 18:54:30 rpmi: rpm-macros-valgrind-0.2-alt1 sisyphus+233110.100.1.1 1561384303 installed <13>Nov 4 18:54:34 rpmi: libboost_system1.77.0-1:1.77.0-alt2 sisyphus+283811.100.1.1 1629969952 installed <13>Nov 4 18:54:34 rpmi: libgdbm-1.8.3-alt10 sisyphus+278100.1600.1.1 1626058413 installed <13>Nov 4 18:54:34 rpmi: libidn2-2.3.2-alt1 sisyphus+281238.100.1.2 1627476321 installed <13>Nov 4 18:54:34 rpmi: libboost_atomic1.77.0-1:1.77.0-alt2 sisyphus+283811.100.1.1 1629969952 installed <13>Nov 4 18:54:34 rpmi: libboost_contract1.77.0-1:1.77.0-alt2 sisyphus+283811.100.1.1 1629969952 installed <13>Nov 4 18:54:34 rpmi: libboost_chrono1.77.0-1:1.77.0-alt2 sisyphus+283811.100.1.1 1629969952 installed <13>Nov 4 18:54:34 rpmi: libboost_timer1.77.0-1:1.77.0-alt2 sisyphus+283811.100.1.1 1629969952 installed <13>Nov 4 18:54:34 rpmi: libboost_thread1.77.0-1:1.77.0-alt2 sisyphus+283811.100.1.1 1629969952 installed <13>Nov 4 18:54:34 rpmi: libboost_type_erasure1.77.0-1:1.77.0-alt2 sisyphus+283811.100.1.1 1629969952 installed <13>Nov 4 18:54:34 rpmi: libboost_filesystem1.77.0-1:1.77.0-alt2 sisyphus+283811.100.1.1 1629969952 installed <13>Nov 4 18:54:37 rpmi: valgrind-3.17.0-alt3 sisyphus+284325.100.1.1 1630488680 installed <13>Nov 4 18:54:37 rpmi: libyaml2-0.2.5-alt1 sisyphus+278391.100.1.1 1626094928 installed <13>Nov 4 18:54:37 rpmi: libyaml-cpp0-0.6.3-alt1 sisyphus+276405.100.1.1 1624996717 installed <13>Nov 4 18:54:37 rpmi: libstemmer-2.0.0-alt1 sisyphus+278406.100.1.1 1626096572 installed <13>Nov 4 18:54:37 rpmi: libsnappy-1.1.7-alt1 sisyphus+276400.100.1.2 1625016393 installed <13>Nov 4 18:54:37 rpmi: libpython-2.7.18-alt8 sisyphus+286676.100.1.1 1633726916 installed <13>Nov 4 18:54:37 rpmi: python2-base-2.7.18-alt8 sisyphus+286676.100.1.1 1633726916 installed <13>Nov 4 18:54:37 rpmi: libpcrecpp3-8.45-alt2 sisyphus+283722.100.1.2 1629848198 installed <13>Nov 4 18:54:37 rpmi: libpcre16-8.45-alt2 sisyphus+283722.100.1.2 1629848198 installed <13>Nov 4 18:54:37 rpmi: pcretest-8.45-alt2 sisyphus+283722.100.1.2 1629848198 installed <13>Nov 4 18:54:37 rpmi: libpcre-devel-8.45-alt2 sisyphus+283722.100.1.2 1629848198 installed <13>Nov 4 18:54:37 rpmi: libunwind-1.5.0-alt2 sisyphus+285898.300.3.1 1632505140 installed <13>Nov 4 18:54:37 rpmi: libgperftools-2.9.1-alt1 sisyphus+277248.100.1.1 1625421068 installed <13>Nov 4 18:54:37 rpmi: libexpat-2.2.10-alt1 sisyphus+276608.100.1.2 1625153355 installed <13>Nov 4 18:54:37 rpmi: liblz4-1:1.9.3-alt1 sisyphus+278100.4000.1.1 1626059441 installed <13>Nov 4 18:54:38 rpmi: libsystemd-1:249.5-alt2 sisyphus+288308.100.1.1 1635449265 installed <13>Nov 4 18:54:38 rpmi: libdbus-1.12.20-alt1 sisyphus+281278.100.1.1 1627484261 installed <13>Nov 4 18:54:38 rpmi: libpcap0.8-2:1.9.1-alt2 sisyphus+278380.100.1.1 1626093290 installed <13>Nov 4 18:54:38 rpmi: publicsuffix-list-dafsa-20210929-alt1 sisyphus+286161.100.1.1 1632988273 installed <13>Nov 4 18:54:38 rpmi: libpsl-0.21.1-alt2 sisyphus+279461.100.1.1 1626547547 installed <13>Nov 4 18:54:38 rpmi: libnghttp2-1.41.0-alt2 sisyphus+286786.100.1.1 1633940948 installed <13>Nov 4 18:54:38 rpmi: openldap-common-2.4.59-alt1 sisyphus+282933.100.1.1 1629124747 installed <13>Nov 4 18:54:38 rpmi: libverto-0.3.2-alt1_1 sisyphus+279289.100.1.3 1626493868 installed <13>Nov 4 18:54:38 rpmi: liblmdb-0.9.23-alt1 sisyphus+275369.100.1.2 1624493869 installed <13>Nov 4 18:54:38 rpmi: libkeyutils-1.6.3-alt1 sisyphus+266061.100.1.1 1612919566 installed <13>Nov 4 18:54:38 rpmi: libcom_err-1.46.4.0.5.4cda-alt1 sisyphus+283826.100.1.1 1629975345 installed <13>Nov 4 18:54:38 rpmi: libbrotlicommon-1.0.9-alt2 sisyphus+278430.100.1.2 1626213212 installed <13>Nov 4 18:54:38 rpmi: libbrotlidec-1.0.9-alt2 sisyphus+278430.100.1.2 1626213212 installed <13>Nov 4 18:54:38 rpmi: libboost_program_options1.77.0-1:1.77.0-alt2 sisyphus+283811.100.1.1 1629969952 installed <13>Nov 4 18:54:38 rpmi: gcc-c++-common-1.4.27-alt1 sisyphus+278099.1300.1.1 1626028636 installed <13>Nov 4 18:54:38 rpmi: libstdc++11-devel-11.2.1-alt1 sisyphus+285602.200.1.1 1632233545 installed <13>Nov 4 18:54:39 rpmi: gcc11-c++-11.2.1-alt1 sisyphus+285602.200.1.1 1632233545 installed <13>Nov 4 18:54:39 rpmi: libp11-kit-0.23.15-alt2 sisyphus+287552.300.2.1 1634541413 installed <13>Nov 4 18:54:39 rpmi: libtasn1-4.17.0-alt2 sisyphus+285706.100.1.1 1632328563 installed <13>Nov 4 18:54:39 rpmi: libboost_context1.77.0-1:1.77.0-alt2 sisyphus+283811.100.1.1 1629969952 installed <13>Nov 4 18:54:39 rpmi: libboost_fiber1.77.0-1:1.77.0-alt2 sisyphus+283811.100.1.1 1629969952 installed <13>Nov 4 18:54:39 rpmi: libboost_stacktrace1.77.0-1:1.77.0-alt2 sisyphus+283811.100.1.1 1629969952 installed <13>Nov 4 18:54:39 rpmi: libboost_nowide1.77.0-1:1.77.0-alt2 sisyphus+283811.100.1.1 1629969952 installed <13>Nov 4 18:54:39 rpmi: libboost_test1.77.0-1:1.77.0-alt2 sisyphus+283811.100.1.1 1629969952 installed <13>Nov 4 18:54:39 rpmi: libboost_serialization1.77.0-1:1.77.0-alt2 sisyphus+283811.100.1.1 1629969952 installed <13>Nov 4 18:54:39 rpmi: libboost_random1.77.0-1:1.77.0-alt2 sisyphus+283811.100.1.1 1629969952 installed <13>Nov 4 18:54:39 rpmi: libboost_iostreams1.77.0-1:1.77.0-alt2 sisyphus+283811.100.1.1 1629969952 installed <13>Nov 4 18:54:39 rpmi: libboost_json1.77.0-1:1.77.0-alt2 sisyphus+283811.100.1.1 1629969952 installed <13>Nov 4 18:54:39 rpmi: libboost_regex1.77.0-1:1.77.0-alt2 sisyphus+283811.100.1.1 1629969952 installed <13>Nov 4 18:54:39 rpmi: libboost_graph1.77.0-1:1.77.0-alt2 sisyphus+283811.100.1.1 1629969952 installed <13>Nov 4 18:54:39 rpmi: libboost_date_time1.77.0-1:1.77.0-alt2 sisyphus+283811.100.1.1 1629969952 installed <13>Nov 4 18:54:39 rpmi: libboost_container1.77.0-1:1.77.0-alt2 sisyphus+283811.100.1.1 1629969952 installed <13>Nov 4 18:54:40 rpmi: boost-devel-headers-1:1.77.0-alt2 sisyphus+283811.100.1.1 1629969952 installed <13>Nov 4 18:54:40 rpmi: boost-devel-1:1.77.0-alt2 sisyphus+283811.100.1.1 1629969952 installed <13>Nov 4 18:54:40 rpmi: bc-1:1.07.1-alt1 sisyphus+278100.400.1.1 1626056612 installed <13>Nov 4 18:54:40 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+278157.100.2.1 1626055790 installed <13>Nov 4 18:54:40 rpmi: alternatives-0.5.1-alt1 sisyphus+278157.100.2.1 1626055790 installed <13>Nov 4 18:54:40 rpmi: ca-certificates-2021.10.06-alt1 sisyphus+286526.200.1.1 1633528578 installed <13>Nov 4 18:54:40 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Nov 4 18:54:40 rpmi: p11-kit-trust-0.23.15-alt2 sisyphus+287552.300.2.1 1634541413 installed <13>Nov 4 18:54:40 rpmi: libcrypto1.1-1.1.1l-alt2 sisyphus+287339.100.1.1 1634383589 installed <13>Nov 4 18:54:40 rpmi: libssl1.1-1.1.1l-alt2 sisyphus+287339.100.1.1 1634383589 installed <13>Nov 4 18:54:41 rpmi: python3-3.9.7-alt3 sisyphus+287552.400.2.1 1634542953 installed <13>Nov 4 18:54:41 rpmi: python3-base-3.9.7-alt3 sisyphus+287552.400.2.1 1634542953 installed <13>Nov 4 18:54:41 rpmi: python-modules-encodings-2.7.18-alt8 sisyphus+286676.100.1.1 1633726916 installed <13>Nov 4 18:54:41 rpmi: python-modules-compiler-2.7.18-alt8 sisyphus+286676.100.1.1 1633726916 installed <13>Nov 4 18:54:41 rpmi: python-modules-email-2.7.18-alt8 sisyphus+286676.100.1.1 1633726916 installed <13>Nov 4 18:54:41 rpmi: python-modules-unittest-2.7.18-alt8 sisyphus+286676.100.1.1 1633726916 installed <13>Nov 4 18:54:41 rpmi: python-modules-2.7.18-alt8 sisyphus+286676.100.1.1 1633726916 installed <86>Nov 4 18:54:41 groupadd[2730547]: group added to /etc/group: name=_keytab, GID=499 <86>Nov 4 18:54:41 groupadd[2730547]: group added to /etc/gshadow: name=_keytab <86>Nov 4 18:54:41 groupadd[2730547]: new group: name=_keytab, GID=499 <13>Nov 4 18:54:42 rpmi: libkrb5-1.19.2-alt2 sisyphus+281652.100.1.1 1627900207 installed <86>Nov 4 18:54:42 groupadd[2730557]: group added to /etc/group: name=sasl, GID=498 <86>Nov 4 18:54:42 groupadd[2730557]: group added to /etc/gshadow: name=sasl <86>Nov 4 18:54:42 groupadd[2730557]: new group: name=sasl, GID=498 <13>Nov 4 18:54:42 rpmi: libsasl2-3-2.1.27-alt2.2 sisyphus+282040.40.2.1 1628929840 installed <13>Nov 4 18:54:42 rpmi: libldap-2.4.59-alt1 sisyphus+282933.100.1.1 1629124747 installed <13>Nov 4 18:54:42 rpmi: libcurl-7.79.1-alt1 sisyphus+285949.100.1.1 1632605340 installed <13>Nov 4 18:54:42 rpmi: python3-module-pymongo-3.8.0-alt2 sisyphus+281201.100.1.1 1627463452 installed <13>Nov 4 18:54:42 rpmi: python3-module-bson-3.8.0-alt2 sisyphus+281201.100.1.1 1627463452 installed <13>Nov 4 18:54:42 rpmi: libcurl-devel-7.79.1-alt1 sisyphus+285949.100.1.1 1632605340 installed <13>Nov 4 18:54:42 rpmi: libsasl2-devel-2.1.27-alt2.2 sisyphus+282040.40.2.1 1628929840 installed <13>Nov 4 18:54:42 rpmi: python-modules-json-2.7.18-alt8 sisyphus+286676.100.1.1 1633726916 installed <13>Nov 4 18:54:42 rpmi: python3-module-Cheetah-3.2.6-alt1 sisyphus+286570.100.1.1 1633588001 installed <13>Nov 4 18:54:42 rpmi: python3-module-pkg_resources-1:58.4.0-alt1 sisyphus+288641.100.2.1 1635771377 installed <13>Nov 4 18:54:42 rpmi: python3-module-psutil-5.8.0-alt1 sisyphus+277411.100.1.1 1625535804 installed <13>Nov 4 18:54:42 rpmi: python3-module-yaml-5.4.1-alt2 sisyphus+281629.100.1.1 1627893015 installed <13>Nov 4 18:54:42 rpmi: scons-4.0.1-alt1 sisyphus+276030.100.2.2 1624920187 installed <13>Nov 4 18:54:42 rpmi: libssl-devel-1.1.1l-alt2 sisyphus+287339.100.1.1 1634383589 installed <13>Nov 4 18:54:42 rpmi: boost-filesystem-devel-1:1.77.0-alt2 sisyphus+283811.100.1.1 1629969952 installed <13>Nov 4 18:54:42 rpmi: boost-program_options-devel-1:1.77.0-alt2 sisyphus+283811.100.1.1 1629969952 installed <13>Nov 4 18:54:42 rpmi: gcc-c++-11-alt1 sisyphus+285602.400.1.1 1632238564 installed <13>Nov 4 18:54:42 rpmi: libpcap-devel-2:1.9.1-alt2 sisyphus+278380.100.1.1 1626093290 installed <13>Nov 4 18:54:42 rpmi: libsystemd-devel-1:249.5-alt2 sisyphus+288308.100.1.1 1635449265 installed <13>Nov 4 18:54:42 rpmi: libgperftools-devel-2.9.1-alt1 sisyphus+277248.100.1.1 1625421068 installed <13>Nov 4 18:54:42 rpmi: libpcrecpp-devel-8.45-alt2 sisyphus+283722.100.1.2 1629848198 installed <13>Nov 4 18:54:42 rpmi: libsnappy-devel-1.1.7-alt1 sisyphus+276400.100.1.2 1625016393 installed <13>Nov 4 18:54:42 rpmi: libstemmer-devel-2.0.0-alt1 sisyphus+278406.100.1.1 1626096572 installed <13>Nov 4 18:54:42 rpmi: libyaml-cpp-devel-0.6.3-alt1 sisyphus+276405.100.1.1 1624996717 installed <13>Nov 4 18:54:42 rpmi: valgrind-devel-3.17.0-alt3 sisyphus+284325.100.1.1 1630488680 installed <13>Nov 4 18:54:42 rpmi: libreadline-devel-7.0.3-alt4 sisyphus+283725.100.1.2 1629849376 installed <13>Nov 4 18:54:42 rpmi: zlib-devel-1.2.11-alt2 sisyphus+283721.100.1.1 1629847002 installed <13>Nov 4 18:54:42 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.4640 + 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.40678 + 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/db/repl/repl_set_config_gen.cpp Generating build/opt/mongo/db/ops/single_write_result_gen.cpp Generating build/opt/mongo/s/database_version_gen.cpp Generating build/opt/mongo/db/generic_cursor_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/ops/write_ops_gen.cpp Generating build/opt/mongo/db/pipeline/exchange_spec_gen.cpp Generating build/opt/mongo/client/hedging_mode_gen.cpp Generating build/opt/mongo/db/query/tailable_mode_gen.cpp Generating build/opt/mongo/db/query/query_knobs_gen.cpp Generating build/opt/mongo/db/pipeline/runtime_constants_gen.cpp Generating build/opt/mongo/db/kill_sessions_gen.cpp Generating build/opt/mongo/db/repl/repl_settings_gen.cpp Generating build/opt/mongo/client/read_preference_gen.cpp Creating 'build/opt/mongo/config.h' /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/logical_session_id_gen.cpp Generating build/opt/mongo/db/repl/apply_ops_gen.cpp Generating build/opt/mongo/db/repl/oplog_entry_gen.cpp Generating build/opt/mongo/db/read_write_concern_provenance_base_gen.cpp Generating build/opt/mongo/rpc/topology_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.cpp build/opt/mongo/base/error_codes.cpp Generating build/opt/mongo/transport/service_executor_gen.cpp Generating build/opt/mongo/db/repl/optime_and_wall_time_base_gen.cpp Generating build/opt/mongo/db/repl/replication_consistency_markers_gen.cpp g++ -o build/opt/mongo/db/query/find_common.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/find_common.cpp g++ -o build/opt/mongo/transport/service_executor_synchronous.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/transport/service_executor_synchronous.cpp g++ -o build/opt/mongo/db/clientcursor.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/clientcursor.cpp Generating build/opt/mongo/db/repl/replication_metrics_gen.cpp Generating build/opt/mongo/s/catalog/type_chunk_base_gen.cpp Generating build/opt/mongo/db/repl/repl_server_parameters_gen.cpp Generating build/opt/mongo/db/repl/election_reason_counter_gen.cpp g++ -o build/opt/mongo/db/repl/bgsync.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/bgsync.cpp In file included from /usr/include/signal.h:328, from /usr/include/c++/11/csignal:42, from src/mongo/stdx/thread.h:33, from src/mongo/transport/service_executor_synchronous.cpp:37: src/mongo/stdx/thread.h:110:56: error: call to non-'constexpr' function 'long int sysconf(int)' 110 | std::max(kMongoMinSignalStackSize, std::size_t{MINSIGSTKSZ}); | ^~~~~~~~~~~ In file included from src/third_party/boost-1.70.0/boost/config/stdlib/libstdcpp3.hpp:78, from src/third_party/boost-1.70.0/boost/config.hpp:48, from src/third_party/boost-1.70.0/boost/core/addressof.hpp:17, from src/third_party/boost-1.70.0/boost/optional/optional.hpp:28, from src/third_party/boost-1.70.0/boost/optional.hpp:15, from src/mongo/platform/mutex.h:36, from src/mongo/transport/service_executor_synchronous.h:36, from src/mongo/transport/service_executor_synchronous.cpp:34: /usr/include/unistd.h:640:17: note: 'long int sysconf(int)' declared here 640 | extern long int sysconf (int __name) __THROW; | ^~~~~~~ In file included from /usr/include/signal.h:328, from /usr/include/c++/11/csignal:42, from src/mongo/stdx/thread.h:33, from src/mongo/db/client.h:46, from src/mongo/db/operation_context.h:36, from src/mongo/db/query/find_common.h:31, from src/mongo/db/query/find_common.cpp:34: src/mongo/stdx/thread.h:110:56: error: call to non-'constexpr' function 'long int sysconf(int)' 110 | std::max(kMongoMinSignalStackSize, std::size_t{MINSIGSTKSZ}); | ^~~~~~~~~~~ In file included from src/third_party/boost-1.70.0/boost/config/stdlib/libstdcpp3.hpp:78, from src/third_party/boost-1.70.0/boost/config.hpp:48, from src/third_party/boost-1.70.0/boost/core/addressof.hpp:17, from src/third_party/boost-1.70.0/boost/optional/optional.hpp:28, from src/third_party/boost-1.70.0/boost/optional.hpp:15, from src/mongo/base/status_with.h:32, from src/mongo/base/data_type.h:40, from src/mongo/bson/bsonobj.h:40, from src/mongo/db/query/find_common.h:30, from src/mongo/db/query/find_common.cpp:34: /usr/include/unistd.h:640:17: note: 'long int sysconf(int)' declared here 640 | extern long int sysconf (int __name) __THROW; | ^~~~~~~ In file included from /usr/include/signal.h:328, from /usr/include/c++/11/csignal:42, from src/mongo/stdx/thread.h:33, from src/mongo/db/client.h:46, from src/mongo/db/operation_context.h:36, from src/mongo/db/pipeline/variables.h:35, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:41, from src/mongo/db/query/query_solution.h:38, from src/mongo/db/query/plan_executor.h:36, from src/mongo/db/clientcursor.h:40, from src/mongo/db/clientcursor.cpp:32: src/mongo/stdx/thread.h:110:56: error: call to non-'constexpr' function 'long int sysconf(int)' 110 | std::max(kMongoMinSignalStackSize, std::size_t{MINSIGSTKSZ}); | ^~~~~~~~~~~ In file included from src/third_party/boost-1.70.0/boost/config/stdlib/libstdcpp3.hpp:78, from src/third_party/boost-1.70.0/boost/config.hpp:48, from src/third_party/boost-1.70.0/boost/core/addressof.hpp:17, from src/third_party/boost-1.70.0/boost/optional/optional.hpp:28, from src/third_party/boost-1.70.0/boost/optional.hpp:15, from src/mongo/db/clientcursor.h:32, from src/mongo/db/clientcursor.cpp:32: /usr/include/unistd.h:640:17: note: 'long int sysconf(int)' declared here 640 | extern long int sysconf (int __name) __THROW; | ^~~~~~~ scons: *** [build/opt/mongo/transport/service_executor_synchronous.o] Error 1 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/clientcursor.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 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/query/find_common.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::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 /usr/include/signal.h:328, from /usr/include/c++/11/csignal:42, from src/mongo/stdx/thread.h:33, from src/mongo/db/client.h:46, from src/mongo/db/operation_context.h:36, from src/mongo/db/multi_key_path_tracker.h:37, from src/mongo/db/repl/multiapplier.h:42, from src/mongo/db/repl/data_replicator_external_state.h:33, from src/mongo/db/repl/bgsync.h:37, from src/mongo/db/repl/bgsync.cpp:34: src/mongo/stdx/thread.h:110:56: error: call to non-'constexpr' function 'long int sysconf(int)' 110 | std::max(kMongoMinSignalStackSize, std::size_t{MINSIGSTKSZ}); | ^~~~~~~~~~~ In file included from src/third_party/boost-1.70.0/boost/config/stdlib/libstdcpp3.hpp:78, from src/third_party/boost-1.70.0/boost/config.hpp:48, from src/third_party/boost-1.70.0/boost/core/addressof.hpp:17, from src/third_party/boost-1.70.0/boost/optional/optional.hpp:28, from src/third_party/boost-1.70.0/boost/optional.hpp:15, from src/mongo/base/status_with.h:32, from src/mongo/db/repl/bgsync.h:35, from src/mongo/db/repl/bgsync.cpp:34: /usr/include/unistd.h:640:17: note: 'long int sysconf(int)' declared here 640 | extern long int sysconf (int __name) __THROW; | ^~~~~~~ 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/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/clientcursor.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::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/query/find_common.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 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/clientcursor.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/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/clientcursor.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 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/repl/storage_interface.h:40, from src/mongo/db/repl/oplog_batcher.h:34, from src/mongo/db/repl/oplog_applier.h:39, from src/mongo/db/repl/data_replicator_external_state.h:34, from src/mongo/db/repl/bgsync.h:37, from src/mongo/db/repl/bgsync.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/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/query/find_common.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/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/repl/storage_interface.h:40, from src/mongo/db/repl/oplog_batcher.h:34, from src/mongo/db/repl/oplog_applier.h:39, from src/mongo/db/repl/data_replicator_external_state.h:34, from src/mongo/db/repl/bgsync.h:37, from src/mongo/db/repl/bgsync.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: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/query/find_common.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 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/repl/storage_interface.h:40, from src/mongo/db/repl/oplog_batcher.h:34, from src/mongo/db/repl/oplog_applier.h:39, from src/mongo/db/repl/data_replicator_external_state.h:34, from src/mongo/db/repl/bgsync.h:37, from src/mongo/db/repl/bgsync.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/repl/storage_interface.h:40, from src/mongo/db/repl/oplog_batcher.h:34, from src/mongo/db/repl/oplog_applier.h:39, from src/mongo/db/repl/data_replicator_external_state.h:34, from src/mongo/db/repl/bgsync.h:37, from src/mongo/db/repl/bgsync.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 scons: *** [build/opt/mongo/db/clientcursor.o] Error 1 scons: *** [build/opt/mongo/db/query/find_common.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/repl/bgsync.o] Error 1 scons: building terminated because of errors. build/opt/mongo/transport/service_executor_synchronous.o failed: Error 1 build/opt/mongo/db/clientcursor.o failed: Error 1 build/opt/mongo/db/query/find_common.o failed: Error 1 build/opt/mongo/db/repl/bgsync.o failed: Error 1 error: Bad exit status from /usr/src/tmp/rpm-tmp.40678 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.40678 (%build) Command exited with non-zero status 1 42.64user 3.98system 0:26.07elapsed 178%CPU (0avgtext+0avgdata 912536maxresident)k 0inputs+0outputs (0major+1503751minor)pagefaults 0swaps hsh-rebuild: rebuild of `mongo-4.4.6-alt1.src.rpm' failed. Command exited with non-zero status 1 59.78user 8.70system 0:51.21elapsed 133%CPU (0avgtext+0avgdata 912536maxresident)k 4144inputs+0outputs (45634major+1835828minor)pagefaults 0swaps